问题描述:

Ihave a jquery code like this

jQuery(".pull_feedback").toggle(function(){

jQuery("#feedback").animate({left:"0px"});

return false;

},

function(){

jQuery("#feedback").animate({left:"-362px"});

return false;

});

this works fine on index page but not on the inner pages.Help please!

网友答案:

On the inner page http://pigeontravels.com/contactUs.html# you're getting an error relating to this code:

<script type="text/javascript">
$(function() {
    $('#gallery a').lightBox();
});
</script>

Try changing to:

<script type="text/javascript">
jQuery(function() {
    jQuery('#gallery a').lightBox();
});
</script>

...and see if that works.

相关阅读:
Top