FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

[HTML] - How to make more than one OnMouseOver command

 


Trickster
I have a button with a rollover effect, using the OnMouseOver command ofcourse..
but now I want it to show a special text in the status line also. but how can I keep the rollover function + having the status line function with OnMouseOver??
Mosquito.Tyler
Put two functions into the event. Like this:

Code:


<div onmouseover="blah(); blah2()" > blahblah </div>



Hope I helped.
Trickster
I think that helped a lot! the code would now look something this:
Code:
<div onmouseover="MM_swapImage('Name','','../Destination',1); SetStatus('Some Name'); return true" >  </div>

Looks like it works, but just want to check if that is what you meant.. Smile

EDIT: No (i'm using dreamweaver), and when i'm done with that code and click on the website in design mode, it writes the code with yellow color just over the button.. how should it look like?

Sample of the code:
Mosquito.Tyler
Near as I can tell, that is right. try testing your page outside of dreamweaver, like in Firefox, or IE if you have it. Then after that go download Firefox.
Twisted Evil
Ranfaroth
Modern browsers don't allows pages to change the status bar, in order to protect the users...
Trickster
okay didn't got it to work, but seems unnecessary anyway Shocked Smile
thx for replys...
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.