Dismiss Notice
Welcome to Our Community
Wanting to join the rest of our members? Feel free to sign up today.

help understanding html

Discussion in 'General Webmaster Helpdesk' started by wiccanwonder, Jul 25, 2004.

  1. wiccanwonder

    wiccanwonder Guest

    Can someone help?

    I have a webpage with no frames.

    I created mouseover buttons that swapped one image for another on my navigation bar - and that was ok.

    I then wanted to use a timed status 'function', mouseover effect that gave a message on the status bar eg "return to home page".

    I can get these effects to work separately but not on the same page.

    Is this possible or am I trying to do the impossible?

    Im new to html and obviously struggling.........
  2. alex

    alex Guest

    Anything is possible :)

    It would help a bit though if you'd post what tools are you using to build your webpages and maybe a small sample of code for one of those buttons.
  3. Eric

    Eric Guest

    I agree with Alex, if you get us the code Im sure we can have a fix in no time.
  4. ovi

    ovi Guest


    Let us know a URL or please copy here the code, so we can analyze to see wath is the problem.

    Best Regards,
  5. Alexandru Ungur

    Alexandru Ungur New Member Webmaster

    The solution is simple:
    1. instead of doing the action on onMouseOver/onMouseOut events, you define two functions that each does all the things you want them to (change image, chage status bar text, etc.) and call thos functions on the respective events, or
    2. you can put multiple JavaScript instructions on any event, separated by ';' as in:
    onMouseOver="this.className='buttonOver';window.status='some nice text for our user here....'"

    Hope it helps.


Featured Resources (View All)

Share This Page