PDA

View Full Version : Wag to use 2 Javascripts on one a href



Chimbo
09-08-2011, 12:33 AM
Hello,

I know I can add multiple jovascripts to my page, but how do I include both of them on my a href statement.

Here is the stament as it is before I'd like to add the second statment which is also an onmouseover:

<td width=45% align=center><b><a href="http://www.anysite.com/Show.html" onMouseOver="(window.status=' Lincoln Show in Gaithersburg, MD '); return true"><font size=+1>Ford Lincoln Show</font size></a></td>

Thank you for any help. I also had my last question successfully answered on this awesome site.

jscheuer1
09-08-2011, 02:10 AM
What's the other statement?

Anyways, just include it, example:


onMouseOver="(window.status=' Lincoln Show in Gaithersburg, MD '); someotherstatement; return true"

Chimbo
09-08-2011, 04:54 AM
What's the other statement?

Anyways, just include it, example:


onMouseOver="(window.status=' Lincoln Show in Gaithersburg, MD '); someotherstatement; return true"

Thanks so much for seeing through the subject:

"Wag" ? I meant Want. Wasn't wearing my reading glasses.

Chimbo
09-08-2011, 05:20 AM
I got it to work, but not before I switched the two statements around.
The existing one was the onmouseover, the second one I needed to add was a rel statement. After fussing around with them, the page does what I need it to, for now.

See it here: http://www.rattlerig.com

And much thanks