Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > 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.asp that opens a window called page2.asp.

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

<script type="text/javascript">
function window_onload()
{
}
</script>
<body onLoad="window_onload()">



 
Reply With Quote
 
 
 
 
Ray at
Guest
Posts: n/a
 
      08-12-2004
http://www.aspfaq.com/5003
http://www.aspfaq.com/5001

Ray at home

"Matt" <> wrote in message
news:%...
> I have a page1.asp that opens a window called page2.asp.
>
> I want page2.asp doesn't have title bar, tool bar, address bar. Is it
> possible
> to specify in javascript function window_onload() in page2.asp? I don't

want
> to specify in window.open() in page1.asp when it loads page2.asp.
>
> <script type="text/javascript">
> function window_onload()
> {
> }
> </script>
> <body onLoad="window_onload()">
>
>
>



 
Reply With Quote
 
 
 
 
Dave Anderson
Guest
Posts: n/a
 
      08-12-2004
[Followup-To: microsoft.public.scripting.jscript]

Matt wrote:
> I have a page1.asp that opens a window called page2.asp.


I assume you mean it opens a window with page2.asp as the targeted URL, not
the window name. There is a big difference between these two:

window.open("page2.asp","meaningfulWindowName")
window.open("myScript.asp","page2.asp")

http://msdn.microsoft.com/workshop/a...ods/open_0.asp



> I want page2.asp doesn't have title bar, tool bar, address bar.


Then specify thos things when you open the window, not later.



> Is it possible to specify in javascript function window_onload()
> in page2.asp?


No.


> I don't want to specify in window.open() in page1.asp when it
> loads page2.asp.


Then you're SOL.



--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.


 
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 Javascript 2 08-12-2004 04:41 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
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57