Hi
What I want to do is use _blank in <a href></a> so that when the new browser window opens it opens at a size that I have set. I'm sure this goes in <a href></a> but I'm not sure how.
not sure how to put the size in the link, unless u open it as a window instead of a link:
< href="javascript:void(0)" onClick="window.open('page.html','windowname', 'width=200, height=300, scrollbars, menu')">
you might need to put ...bars, menu'); return false">
but im not sure
for all the window.open functions check the internet, do a google search for "javascript window.open options" if u add all the right options you can make a popupwindow look just like a normal browser window.
To resize a page once its opened u can use this script:
<body onLoad="resizeTo(300,400)">
width,height
good luck,
I learned a bit yesterday, today i learned a lot, imagine what i'll learn tomorrow!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.