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

Browser Attributes.

Status
Not open for further replies.

keats

Technical User
Jul 18, 2002
10
AU
I know how to use pop-up windows, unfortunately my problem is that I need to open a html file from Adobe Acrobat. So I need to open a HTML file that independantly knows what it's own attributes are going to be.
Lucas

l.keating@engineaustralia.com.au
 
In javascript, you can stick this on the page you want to open to move and resize that window:

self.resizeTo(20,0);
self.resizeTo(100,40);


If you want to do more than that, say take off the toolbars, you are going to need to make an opener page that tells it to make a new page without the toolbars(I assume you know how to do that). Then, in the new page (the one you want to finally see) put this instead of <body>:
<body onLoad=&quot;window.opener.close();&quot;>

Rick It's a pleasure to know that I've helped you. If I have,
please click the link below to let me know. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top