> i'm employing the oldfashioned JS image swap method > (see below) > > off6=new Image(); > off6.src="/cake/app/webroot/img/btn_logout_lo.gif"; > over6=new Image(); > over6.src="/cake/app/webroot/img/btn_logout_hi.gif";
why not employ a new-style JS rollover then instead: http://www.astahost.com/info.php/unobtrusive-javascript-image-rollovers_t11176.html just save your images in the same place, name the 'off' state with _off at the end (before the extension) and save you 'over' state with '_on' and the JS does the rest cheers, Jon -- jon bennett t: +44 (0) 1225 341 039 w: http://www.jben.net/ iChat (AIM): jbendotnet Skype: jon-bennett --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
