when clicking on a button in the menu in top
only the tabifyscript is functioning,
the horizontal scrolling is out of order.
how do i get both scripts to work ?
(note: in return i like to help you with design problems ... i'm a graphic designer and well known with Adobe CS5)
this is the code:
<script src="scripts/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="scripts/jquery.easing.1.3.js" type="text/javascript" charset="utf-8"></script>
<script src="scripts/jquery.tabify.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
$(function() {
$('div a, div area').bind('click',function(event){
var $anchor = $(this);
/*
if you want to use one of the easing effects:
$('html, body').stop().animate({
scrollLeft: $($anchor.attr('href')).offset().left
}, 1500,'easeInOutExpo');
*/
$('html, body').stop().animate({
scrollLeft: $($anchor.attr('href')).offset().left
}, 1000);
event.preventDefault();
});
});
</script>
<script type="text/javascript">
// <![CDATA[
$(document).ready(function () {
$('#menu').tabify();
});
// ]]>
</script>