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

New window without JS??

Status
Not open for further replies.

jstar7

Programmer
Dec 17, 2002
61
GB
Hi there,

I would like to create a "pop up" window, although I hate using those words, without JS. I have about 10 different JS codes goion on on the same page and its all conflicting.
Can you use html and a open new window with set width height etc?

Cheers,
Jstar7 -------------------------------------
...what rhymes with month?
 
You can use html to open a new window, but you cannot specify anything about it.

<a href=&quot; target=&quot;_blank&quot;>nowhere</a>

&quot;Why is it always the quiet ones?&quot;

Robert Carpenter
questions? comments? thanks? email me!
linkemapx@hotmail.com
AIM & MSN: robacarp
 
whoops! no semicolon there:
Code:
<a href=&quot;[URL unfurl="true"]http://www.nowhere.com&quot;[/URL] target=&quot;_blank&quot;>nowhere</a>
&quot;Why is it always the quiet ones?&quot;

Robert Carpenter
questions? comments? thanks? email me!
linkemapx@hotmail.com
AIM & MSN: robacarp
 
If I may offer a footnote, the target tag can contain anything, pretty much.

Sometimes when I want to track some sort of separate thing, such as circuit diagrams in a business site, I'll just point the href to a meaningful thing:
Code:
<a href=&quot;Diagram_001227.gif&quot; target=&quot;DiagramWindow&quot;>Lookie!</a>
and as long as the window keeps existing, I can always populate it by referring to it as &quot;DiagramWindow&quot;. Very handy, but as theEclipse mentioned, you have no control whatsoever over the appearance/shape/location of the window.

Cheers,

Edward
&quot;Do not read this sentence.&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top