[nycphp-talk] Roll ove image

Edgar Reyes ereyes at
Sat Sep 8 12:04:35 EDT 2007

Here is a simple way to do a roll over effect for images;

<a href="#" onMouseOver='rollover.src="images/lagerimage.jpg"'
<img src="images/smallimage.jpg" name="rollover" border="0"></a>


-----Original Message-----
From: talk-bounces at [mailto:talk-bounces at] On
Behalf Of tedd
Sent: Saturday, September 08, 2007 11:53 AM
To: NYPHP Talk
Subject: Re: [nycphp-talk] Roll ove image

At 10:12 PM -0700 9/7/07, selyah wrote:
>  Hello ;
>I am in the process  of completing a  very complex php script and 
>need to add a special effect using html.  The effect that i have to 
>do is a simple roll over images and upon each roll over with the 
>mouse the images increase in size and then return back to the 
>original size.  The problem is that i am sure that this involves 
>javascript and that is my weak point.
>Therefore, i am asking anyone who can assist with a sample code or 
>know of a link that would be helpful.


Here an example of an enlarging roll-over using only css with no javascript.

If that's what you want, everything's there.



New York PHP Community Talk Mailing List

NYPHPCon 2006 Presentations Online

Show Your Participation in New York PHP

More information about the talk mailing list