Results 1 to 4 of 4

Thread: Wag to use 2 Javascripts on one a href

  1. #1
    Join Date
    Sep 2011
    Location
    MD
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Wag to use 2 Javascripts on one a href

    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.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    What's the other statement?

    Anyways, just include it, example:

    Code:
    onMouseOver="(window.status=' Lincoln Show in Gaithersburg, MD '); someotherstatement; return true"
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Sep 2011
    Location
    MD
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1 View Post
    What's the other statement?

    Anyways, just include it, example:

    Code:
    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.

  4. #4
    Join Date
    Sep 2011
    Location
    MD
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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

Bookmarks

Posting Permissions

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