• Hi Guest: Welcome to TRIBE, the online home of TRIBE MAGAZINE. If you'd like to post here, or reply to existing posts on TRIBE, you first have to register. Join us!

how do you get a link to open a separate window of specific size with XHTML

alexd

Administrator
Staff member
In dreamweaver I have an image map that when clicked opens up a separate window but it is full screen and covers the current window... How do I get it to open into a sepaarte indo of a specific size - say 600x400 pixels in XHTML...?
 

Gunark

TRIBE Member
Code:
<a href="http://url to page as normal for non-javascript-enabled browsers" 
   onclick="window.open('http://url to page as normal', '_blank', 'width=600, height=400'); return false">Link</a>
and that's the Good and Correct way to do it.
 

SlipperyPete

TRIBE Member
Gunark said:
Code:
<a href="http://url to page as normal for non-javascript-enabled browsers" 
   onclick="window.open('http://url to page as normal', '_blank', 'width=600, height=400'); return false">Link</a>
and that's the Good and Correct way to do it.
^^^^
whoa --the bored software embeds the code in a fancy window like that?

coool1!!!!
 
Top