469,312 Members | 2,524 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,312 developers. It's quick & easy.

how to specify the page looks in window onload??

I have a page1 that opens a window called page2.

I want page2 doesn't have title bar, tool bar, address bar. Is it possible
to specify in javascript function window_onload() in page2? I don't want
to specify in window.open() in page1 when it loads page2.

<script type="text/javascript">
function window_onload()
{
}
</script>
<body onLoad="window_onload()">
Jul 23 '05 #1
2 1562
Matt wrote:
I have a page1 that opens a window called page2.
You should forget about unrequested popup windows right now. Windows XP
Service Pack 2 was released two days ago; it modifies IE to block such
popups by default (users can change that setting but few will). And IE
is, alas (because of its flaws), still the most used browser today.
I want page2 doesn't have title bar, tool bar, address bar.
Read the <http://jibbering.com/faq/>.
Is it possible to specify in javascript function window_onload() in page2?


Yes, but it is not required here.
PointedEars
Jul 23 '05 #2
> Is it possible
to specify in javascript function window_onload() in page2?
No. If you could do that, any javascript program could alter how the
current window was displayed. I wouldn't want my command line
vanishing. Would you?
I don't want
to specify in window.open() in page1 when it loads page2.


No. You may specify this in page1. That is if you have access to
page one.

Robert
Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by adnanx82 | last post: by
2 posts views Thread by laredotornado | last post: by
1 post views Thread by louise raisbeck | last post: by
2 posts views Thread by rodchar | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
1 post views Thread by Geralt96 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.