473,396 Members | 1,774 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

how to specify the page looks in window onload??

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()">

Jul 19 '05 #1
2 1767
http://www.aspfaq.com/5003
http://www.aspfaq.com/5001

Ray at home

"Matt" <ma*******@hotmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
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()">

Jul 19 '05 #2
[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.
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Matt | last post by:
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...
5
by: sonic_soul | last post by:
Hello, I am finishing up creating a fairly complex page that is very rich in DHTML. In addition to updating it self every couple of seconds, various components on it support sync and async...
6
by: adnanx82 | last post by:
Hi, I was wondering if anyone knew how to perform the following 2 tasks in Javascript: 1) distinguish between frames and iframes (during an onload event for example) 2) figure out whether a...
2
by: laredotornado | last post by:
Hello, I am looking for a cross-browser way (Firefox 1+, IE 5.5+) to have my Javascript function execute from the BODY's "onload" method, but if there is already an onload method defined, I would...
1
by: Anonieko | last post by:
Query: How to display progress bar for long running page Answer: Yet another solution. REFERENCE: http://www.eggheadcafe.com/articles/20050108.asp My only regret is that when click the...
2
by: rodchar | last post by:
hey all, i have a button on my web form that after it posts back it suppose to throw up an alert. it works fine but that it throws the alert before the entire page has been displayed. is there any...
1
by: blueplato | last post by:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>...
8
by: sneddo | last post by:
Ok I am trying to do the above, I have got a script that will restrict the length but it requires the user to enter the field and hit a key, before it will work. This would normaly be find, but...
2
by: Calm_Pear | last post by:
Hi all, I have created an object with a default function; the default function exposes a public function as well. myobject = function(){
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.