Re: [jQuery] jquery inside a loop... need suggestions to improve code

2007-03-16 Thread Daemach
Try this: #myQuery.text# $(document).ready(function(){ $("img.tooltip").hide(); $("a.tooltip").each(function(){ $(this).hover(function(){ $("[EMAIL PROTECTED]" + this.id.split("_")[1]).show(); },function(){ $("[EMAIL PROTE

[jQuery] jquery inside a loop... need suggestions to improve code

2007-03-16 Thread Michael E. Carluen
Hello (CF) jQuerians, I currently have a working code but I would really like to improve and make it more efficient. Your suggestions will be great. Right now, I have a jquery script inside a loop (cfloop). The jquery is a just simple tooltip-like functionality, that shows and hides a thumbnai