Jump to content

prc

Members
  • Posts

    2
  • Joined

  • Last visited

prc's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. prc

    mouse over function

    yer chocolates one was like what I had, but I needed just to know the next step. thanks guys.
  2. I'm trying to make a function from the mouse over script to display messages in the status bar. I got it working with the following script: <a href="#" onmouseover="window.status='Home';return true;" onmouseout="window.status='';return true;">Home</a> but now that I have a few of these for my navigation I was wondering if this could be done by calling it by a function. Is this possible in this case? Here is my code at the moment: <html> <head> <script type="text/javascript"> function roll(txt) {window.status=''+txt+'';return true;}</script> </head> <body> <a href="#" onmouseover="roll('Home')" onmouseout="roll('')">Home</a></body> </html> any help would be greatly appreciated. prc
×
×
  • Create New...