View Full Version : Image mouse over
12-02-2009, 08:25 AM
How to mouse over the image then the words will appear below it?
12-02-2009, 09:16 AM
Not even close to PHP but
<img src="http://www.codingforums.com/img/logo.gif" onmouseover="document.getElementById('text1').style.display =''" onmouseout="document.getElementById('text1').style.display ='none'" /><br />
<span id="text1" style="display:none">Hello</span>
12-02-2009, 01:43 PM
Be aware the PHP is a server side technology. It does not care why connects to it, whether it be a web browser or java program. Its only job is to generate information and sent it back. It cannot interact with the client program and cannot respond to event handling like onmouseover or onclick.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.