Help - Search - Members - Calendar
Full Version: How To Create A Smaller Page ?
Zymic Webmaster Forums > Web Design & Development > General Web Design Discussion
haracath
I viewed some websites. Evrytime click a hyperlink for a new page. This new page's not a page with its size equal the screen size, It's only a small square on the left corner of screen!

Who can show me how can i create a square small page such as?


Thanks!
Straystudio
Search on web for: JavaScript pop-up

window.open("url", "name", "width=380, height=220");

You can size pop-ups in pixel only, not % percentuage. It is possible though, to work out percentuage-equivalent value in pixel, by calculation.
Stay at fixed pixels, at the moment.

Same with left=0, top=100 to arrange pop-up position on the screen.

And do not forget, nothing is more evil than a pop-up, for beginners !
So, be patient and come back here, from time to time ...
Play this button in some BODY:

<input type="button" onclick='window.open("http://www.zymic.com/forum/", "mySample", "left=250, width=380, height=220, scrollbars=yes");'>
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.