View Full Version : <a target>


netaholic
08-22-2004, 09:55 PM
<a href="your url.html" target=top>My page</a>

How do I specify the dimensions (height and width) of My page?

Chris
08-22-2004, 09:57 PM
You can't, unless its a popup window. The code should also have another two "s

<a href="yoururl.html" target="top">My page</a>

Chris

netaholic
08-22-2004, 10:00 PM
it is a pop up window

Chris
08-22-2004, 10:06 PM
target="top" won't make a popup window.

If you want one, go to: http://www.lissaexplains.com/javascript4.shtml#window

Chris

pb&j
08-22-2004, 11:06 PM
target="top" won't make a popup window.
technically, yes, that value will produce a new window to open.

target="_top"
^ will make the link open fully into the current window.
underscore (and quotes) is important.

i am agreed though, to produce a new window with specific dimensions, javascript is required.

Chris
08-22-2004, 11:10 PM
Sorry. I didn't realise that target="top" made a new window.

But i think that javascript is needed as well.

Chris