Click to See Complete Forum and Search --> : Page Settings
Picarolio
08-05-2003, 08:59 AM
Hola,
I have a quick question...
How do I set the height and width of a page?
ie: I click on a link and the page that is loaded, is displayed in a smaller page like a pop up.
Thanks for any suggestions!
Charles
08-05-2003, 09:22 AM
<a href="http://www.w3.org/" onclick="window.open(this.href, 'child', 'height=400,width=300'); return false">W3C</a>
Picarolio
08-05-2003, 09:31 AM
Sorry, but it is still doing like it has been. The size hasn't changed to something superbly small.
Charles
08-05-2003, 09:38 AM
1) Is JavaScript enabled on your browser?
2) Can you post the URL?
Picarolio
08-05-2003, 09:45 AM
Java Script is enabled and I cannot post the URL (sorry).
Picarolio
08-05-2003, 10:15 AM
Here is a bit of the code
<a href="Explaination_of_Reports/Explaination_Report2.htm" target="_blank">Report 2</a></p>
I tried the code from Charles, but when I clicked upon the link, the parent page would change. Then I would get a pop up window.
The pop up window is what I want, but with the parent page not changing to the link.
Charles
08-05-2003, 10:17 AM
Then you didn't properly follow my example. You omitted the "return false".
Picarolio
08-05-2003, 10:27 AM
Close guess. I didn't get all of the quotes in the correct places. Thanks for your help!
Aronya1
08-07-2003, 02:57 PM
I'm sure Charles meant to say, "You're welcome!"