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

Creating a new window size

Status
Not open for further replies.

m00gzilla

Technical User
Feb 2, 2005
8
US
Hello

Anyone know how to create a new window open with a specific size?

For example, when a link is clicked, the new window opens via the Target="_blank" tag, but I know there is a way top make that new window a specific size. I just dont know how to do it.

any help would be appreciated.

btw, i am using Dreamweaver to create this site and trying to learn how to use it. I didnt see any selection in Dreamweaver to do this.

thanks
 
<a href="javascript:;" onClick="MM_openBrWindow('/yourNew Window.htm','','width=400,height=500')"><img src="/images/zoom_photo.gif" width="48" height="11" border="0"></a>
 
under the tag - behaviors

there is something called open browser window. There you can specify exactly how you want your window to look.

If you are highlighting text to open a new browser window, the put javascript:; for the link in the properties

Dodge20
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top