[jQuery] Trying to use jQuery to do the same effect on multiple links.
I am currently using:
jQuery.noConflict();
jQuery(document).ready(function(){
jQuery(\"a:contains('Home')\").click(function(e){
e.preventDefault();
var link = jQuery(this), link = link.attr('href');
jQuery('#loading').fadeIn(200)
jQuery('.wrap').slideUp(600, function(){
setTimeout('window.location = link', 500);
});
});
Instead of duplicating this for everylink in the menu is there a way I
can use a or statement within this line:
jQuery(\"a:contains('Home')\").click(function(e){
Thanks for your help in advance!