Same way you add anyother attribute to an image
$html->image('cheese.png',array('onmouseover'=>'action to
take','alt'=>'this is all in the manual'));
On Feb 25, 1:52 pm, Aivaras wrote:
> Well, old fashioned way is still working, so it can be simple as this:
>
> onmouseout="recoverImage();" />
Well, old fashioned way is still working, so it can be simple as this:
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
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 beca