Well, old fashioned way is still working, so it can be simple as this:

<img src="whatever" alt="" border="0" onmouseover="changeImage();"
onmouseout="recoverImage();" />

For better performance, you should create a div and play with background
positioning, so that users would load both images. That means no waiting
time when you hover with mouse.

Cheers,
Faifas


On Wed, Feb 25, 2009 at 19:02, mona <[email protected]> wrote:

>
> I am displayin a image on my index page when user mouseover on that
> image it should display anoter image and remove first image cananybody
> tell me how to this in cakephp how to call javascript function in cake
> php
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to