Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > how to specify the page looks in window onload??

Reply
Thread Tools

how to specify the page looks in window onload??

 
 
Matt
Guest
Posts: n/a
 
      08-12-2004
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()">
 
Reply With Quote
 
 
 
 
Thomas 'PointedEars' Lahn
Guest
Posts: n/a
 
      08-12-2004
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
 
Reply With Quote
 
 
 
 
Robert
Guest
Posts: n/a
 
      08-12-2004
> 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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Torrent looks good. . . converted DVD files looks horrible. . . WHY!?! novak.arthur@gmail.com DVD Video 4 02-11-2007 06:57 PM
how to specify the page looks in window onload?? Matt ASP General 2 08-12-2004 01:24 PM
how to specify the page looks in window onload?? Matt HTML 2 08-12-2004 06:08 AM
Anyone ever setup a custom error page? Mine doesn't work if I specify it as a page Larry Woods ASP General 16 07-11-2004 09:10 PM



Advertisments