View Full Version : Image mouse over
12-02-2009, 07:25 AM
How to mouse over the image then the words will appear below it?
12-02-2009, 08: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, 12: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 © 2016 vBulletin Solutions, Inc. All rights reserved.