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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

window.open (question 2) 1

Status
Not open for further replies.

BobMorris

Programmer
Jul 6, 2001
32
US
Another thing I can't figure out

----- code example 2

<SCRIPT LANGUAGE=&quot;JavaScript&quot;>
<!-- hide from JavaScript-challenged browsers
function openWindow(url) {
window.open(url,'popup','resizable,scrollbars,width=600,height=300,left=0,top=0')
}
//-->

<p align=&quot;JUSTIFY&quot;>
<a href=&quot;Javascript:eek:penWindow(' Test 3</a> <br>


This opens a new (blank) window with the address showing &quot;javascript:eek:penWindow(' rather than (apparently) doing the function.
 
Morris consulting sound about right? Works for me.

[bb]
 
try this instead:

<a href=&quot;#&quot; onclick=&quot;openWindow(' false;&quot;>link </a>


or

<a href=&quot; target=&quot;_blank&quot;>bomoco.com</a> Robert Carpenter
questions? comments? thanks? email me!
linkemapx@hotmail.com
Icq: 124408594
online.dll

AIM & MSN: robacarp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top