hi  !

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";

for my site, but i'd like to avoid the hardcoded img path.

is there a cake constant which holds

/cake/app/webroot/img/

??

thanks again !

jyrgen


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to