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 5 of 5
  1. #1
    New Coder
    Join Date
    Jan 2003
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts

    advanced onmouseover

    hello all,

    i am trying to code my site by hand (dreamweaverless) but i am stuck with how to have more than one mouseover event. that is, i have a rollover image and i also want to set the status bar text on that rollover.

    why ? i think it looks more professional, but i dont know if it can be done, i have tried everything, i even resorted to dreamweaver and golive but to no avail.


    i also wrote a simple date time status bar script that loaded with onload, and recalled with onMouseOut but after a second of hovering on link without moving off it, the function was called, and the status showed the date time script ?

    can anyone help with this quandry pls ?

    TIA

    g00fy


    Code:
    <a href="main.html" onMouseOver="window.status='.... status text ....';return true" onMouseOut="window.status='';return true">HOME</a>

  • #2
    Regular Coder
    Join Date
    Aug 2002
    Location
    Spain
    Posts
    420
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I don't understand very well your question, but if it was how to launch more than one event onmousever, you only need to use ;

    <a href="main.html" onMouseOver="window.status='.... status text ....';RolloverFunction();return true"
    Don't resist to assimilation. Billions of Borgs can't be wrong!

  • #3
    New Coder
    Join Date
    Jan 2003
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts
    please see code below - it doesnt work

    all i get onMouseOver is the directory of the link, i also have the onMouseOut in body onLoad and it seems to be working but the mouseOver is not

    any ideas ?

    Code:
    <a href="main.html" onMouseOut="window.status=..status text ..';ImgRestore()" onMouseOver="window.status='..status text..;swapImage('home','','images/home_1.gif',0)">

    thanx

    g00fy

  • #4
    Regular Coder
    Join Date
    Dec 2002
    Location
    a bit west of pittsburgh
    Posts
    236
    Thanks
    1
    Thanked 0 Times in 0 Posts
    doublecheck your (')'s quotes

  • #5
    New Coder
    Join Date
    Jan 2003
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile

    sorry bout that it was a miss-post i actually have all the ' in the right spot => but it would appear i forgot to return true

    thanx


    g00fy
    Last edited by g00fy; 01-17-2003 at 01:51 PM.


  •  

    Posting Permissions

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