Sorry, I forgot to get back to you; I was in the middle of a crisis. cake/../img/picturename.gif
That path doesn't look right. I think there's something deeper wrong. And what about that <head> in your view? Is it so, or is that actually in your layout? And, what I meant about rollovers is that, when you do: element.src = "images/mesogamesHover.gif"; ... you're forcing the script to download the image as the user hovers over the link. So you're bound to see some lag. It's better to preload them in some way. By creating image objects and assigning a src to them, the script will download the images to the client. Then in your rollover function, you assign the src of the relevant Image object to your element. The swap will happen immediately. On Wed, Aug 12, 2009 at 3:12 PM, Sarah<[email protected]> wrote: > > Nevermind, I finally figured out the location of the images. > > I set the 'address' of the alt pictures to: > > cake/../img/picturename.gif > > so it would have been: > element.src = cake/../img/picturename.gif > > :) > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
