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

HTML page size 1

Status
Not open for further replies.

Parasu

Technical User
Mar 11, 2001
38
0
0
PH
Dear all,
How do I change the size of a new html page?
<a href=&quot;./one.asp&quot; target=&quot;_blank&quot;>????

Kindly help

Parasuraman Parasuraman
 
You need to open the new URL via Javascript such as in the following way:


newWin = window.open(&quot;&quot;, &quot;nWin&quot;, &quot;width=300, height=300&quot;);
 
Do you want to change the size of the window the page appears in?

As far as i know the page size is dictated by the content and cannot be specified.The size of the window the page will appear in can be specified using DHTML as follows:
Code:
<a href=&quot;#&quot; 
onclick=&quot;window.open('../one.asp','_blank','toolbar=yes,status=no,menubar=yes,scrollbars=yes,resizable=no,
width=600,height=400
Code:
'); return false&quot;>

Hope this helps

Rob
 
>>rhuswilliams
thunx for good link, i'll add it 2 my old ones.. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top