I have been trying to create some code which will display a picture when you roll over some text and I am having some difficulty.
Does anyone know any php code which I could use
Thanks in advance,
Graham
display a picture when you roll over text
Moderator: General Moderators
- andym01480
- Forum Contributor
- Posts: 390
- Joined: Wed Apr 19, 2006 5:01 pm
Re: display a picture when you roll over text
Getting an image to appear on a mouseover event is a Javascript or if you are really clever a CSS type thing! It is a client side deal rather than server side where php does its thing.
Google "mouseover image appear" http://www.hypergurl.com/rolloverimage.html is an example
Google "mouseover image appear" http://www.hypergurl.com/rolloverimage.html is an example
- andym01480
- Forum Contributor
- Posts: 390
- Joined: Wed Apr 19, 2006 5:01 pm
Re: display a picture when you roll over text
Nice one - I'd seen your site before and forgotten about it. CSS is the best way!
Re: display a picture when you roll over text
Thanks for your help