...

View Full Version : How to add hyperlink to my script



JohnnyJJ
03-14-2004, 01:21 AM
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.

af11kcc
03-14-2004, 05:19 AM
<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>

shlagish
03-15-2004, 03:00 AM
or you could add another event:


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'"



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum