Try putting this:
script type=”text/javascript”> jQuery(document).ready(function(){ $(’.mainlinks li a’).click(function() { $(’.mainlinks li a’).removeClass(’selected’); $(this).addClass(’selected’); }); });
after the php wp_head();
© 2013 www.. Collect from 模板在线
Comments
Try putting this:
script type=”text/javascript”>
jQuery(document).ready(function(){
$(’.mainlinks li a’).click(function() {
$(’.mainlinks li a’).removeClass(’selected’);
$(this).addClass(’selected’);
});
});
after the php wp_head();
reply