target frame size

emak

New Member
i'm using dreamweaver, and setting up a link to target into a new window, but i need it in a certain window size. so i have the target set at "_blank", but where/what code would i put to make it open only to a certain window size?
 

qadisha

New Member
Size of new window

Try this:

<a href="http://www.anothersite.com" onClick="window.open('http://www.anothersite.com','win','width=750,height=580,scrollbars=yes');return false;">Link text or logo here</a>
 

zkiller

Super Moderator
Staff member
yup, in order to specify the window size and/or the position you will need to use some basic javascript as shown by qadisha's example.
 
Top