Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Dec 2009
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Image mouse over

    How to mouse over the image then the words will appear below it?

  • #2
    Regular Coder Zangeel's Avatar
    Join Date
    Oct 2007
    Location
    public_html/
    Posts
    638
    Thanks
    17
    Thanked 79 Times in 79 Posts
    Not even close to PHP but

    Code:
    <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>
    PHP Code:
    $aString is_string((string)array()) ? true false// true :D 
    [/CENTER]

  • #3
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 Posts
    Indeed, moving from PHP to Javascript.
    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.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •