Click to See Complete Forum and Search --> : HTML Page Size


storeya
12-14-2003, 07:43 AM
Hi,

I am using Dreamweaver 4 and using hyperlinks to open up HTML pages in a separate window.
How can I control the height and width of the separate window?

Regards,

Alan

gil davis
12-14-2003, 08:06 AM
You will have to "roll up your sleeves" and look at the code that DW has produced.

Does it specify a "target" attribute in the link? If so, you will have to put some script in the page that is opened to resize the window.

Does it specify "window.open()" in the link? If so, you can add parameters to the function. See http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/open_0.asp for an explanation.