Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Mar 2004
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question How to add hyperlink to my script

    Howdy folks, I have this script on a test page I am working on, it is in a table:

    onMouseOver="this.style.backgroundColor='#336699';this.style.color='white'" onMouseOut="this.style.backgroundColor='#99CCCC';this.style.color='black'" height="9" bgcolor="#99CCCC"

    Can any of you tell me if or what I can add to it to make a hyperlink connection? On each of the buttons I need to send it to the index.html, or aboutus.html or products.html...

    Can any of you help me?

    You can see the page at http://www.fourseasonshydro.com/test.html

    Thanks for your time.

  • #2
    New Coder
    Join Date
    Oct 2003
    Location
    19° 26' N, 99° 7' W
    Posts
    53
    Thanks
    0
    Thanked 0 Times in 0 Posts
    <td width="20%" onMouseOver="this.style.backgroundColor='#336699';this.style.color='white'" onMouseOut="this.style.backgroundColor='#99CCCC';this.style.color='black'" height="9" bgcolor="#99CCCC"><b><font face="Times New Roman, Times, serif"><a href="index.html">HOME</a></font></b></td>

  • #3
    Senior Coder
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    1,063
    Thanks
    2
    Thanked 0 Times in 0 Posts
    or you could add another event:
    Code:
    onMouseOver="this.style.backgroundColor='#336699';this.style.color='white';" onMouseOut="this.style.backgroundColor='#99CCCC';this.style.color='black'" height="9" bgcolor="#99CCCC"
    onClick="document.location='about.blank'"
    Shawn


  •  

    Posting Permissions

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