Best bet is probably give a class to everything you want to apply the effect to and then use the class as your jQuery selector.
On Jun 26, 10:40 pm, Pegpro <[EMAIL PROTECTED]> wrote: > 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!