Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Targeting problem.

Status
Not open for further replies.

dakoz

Programmer
Feb 2, 2002
74
The Code...

<TD bgcolor=&quot;#FFFFFF&quot; width=&quot;40&quot;
onmouseover=&quot;this.style.backgroundColor='#eeeeff'; this.style.borderColor='#000099';&quot;
style=&quot;BORDER-RIGHT: #eeeeee 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #eeeeee 1px solid; PADDING-LEFT: 5px; FONT: 10px Verdana; BORDER-LEFT: #eeeeee 1px solid; WIDTH: 100%; CURSOR: hand; BORDER-BOTTOM: #eeeeee 1px solid; TEXT-ALIGN: left&quot;
onclick=&quot;document.location = 'about.html'&quot;
onmouseout=&quot;this.style.backgroundColor='#fefefe';this.style.borderColor='#eeeeee';&quot;>&nbsp;&nbsp;About Us
</TD></TR>
The Problem..

HOW Can the about.html page open in a blank page?
targe=&quot;_blank&quot; doesnt seem to work!

 
You need to use a window.open() call to open a new blank window with about.html loaded into it.

Not an answer to your question, but a piece of advice: I'd move all that onMouseover code into a function and call it onMouseover. It would make your page easier to read and to modify. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
if i want to open it to a frame called &quot;main&quot; ?
 
If you want it to open in a different FRAME, then use parent.framename.location.
Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top