Gonna try this one last time. I suspect that something might be up with my company's blocking software as I haven't gotten jQuery emails for the last 3 or 4 days.
-----Original Message----- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 14, 2006 2:21 PM To: [jQuery] Subject: Generic mouseover jode via jQuery? Not sure if this went through the first time, so I'm resending. ----------------------------- I've got mouseover code I've been using for several years now. It works really well and is pretty streamlined, although it requires I instantiate each image (used for preloading). You can see it below. I'm wondering if anyone has a plugin which duplicates this functionality. I saw Gilles plugin and it seems like it would work, but I'm not sure if that preloads, plus the download link is broken. Anyone? --------------- if (document.images) { /* left nav rollover loading */ home_off = new Image(); home_off.src = "images/nav_home.jpg"; home_on = new Image(); home_on.src = "images/nav_home_o.jpg"; aboutus_off = new Image(); aboutus_off.src = "images/nav_aboutus.jpg"; aboutus_on = new Image(); aboutus_on.src = "images/nav_aboutus_o.jpg"; } function swap() { if (document.images) { for (var i=0; i<swap.arguments.length; i+=2) { document[swap.arguments[i]].src = eval(swap.arguments[i+1] + ".src"); } } } --------------- _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
