473,382 Members | 1,375 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,382 software developers and data experts.

"about:blank" opens new browser window

sid
I am writing a webpage that will run on other machines that I may or
may not know about. My page is framed where frame1 controls the
content of frame2.

What I have found is that if the page in Frame2 fails to load and I
get an error page. when I detect an error page I want to set
frame2.location.href = "about:blank" and then write a temp error page
until the server becomes available again. The problem is that the
security on some systems causes the "about:blank" to open a new
browser window. I don't want a new window. Is there anyway to detect
that the system is opening up a new window as opposed to the existing
frame ?

Can my script test for the security setting on another frame, to see
if the security is 'restricted' no matter where the security was set,
either in the declaration of the frame or the security tab of IE ?

Thanks

Eli.

May 22 '07 #1
1 1918
sid wrote:
I am writing a webpage that will run on other machines that I may or
may not know about. My page is framed where frame1 controls the
content of frame2.

What I have found is that if the page in Frame2 fails to load and I
get an error page. when I detect an error page I want to set
frame2.location.href = "about:blank" and then write a temp error page
until the server becomes available again.
Try to set the src of frame2 to "" and then write the message.e.g
frame2.src="";
frame2.document.write( ... )
....

May 23 '07 #2

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

Similar topics

10
by: George Hester | last post by:
Any ideas how to decipher it? <script language = "JavaScript"> var x =...
17
by: black tractor | last post by:
HI there.. l was just wondering, if l place a "table" in the "editable region" of my template, will the text, graphics placed inside the this "table" MOVE BY ITSELF?? l mean, recently l had a...
9
by: Arash Dejkam | last post by:
Hi All, Is it possible to write on an <OBJECT type="text/html"> using document.write() from within the html containing that tag the way we write on a popup window? I couldn't do that after a lot...
3
by: John Dalberg | last post by:
Hi I have a form that opens a new window for the results. Because the results might take a few seconds due to server processing, I would like to display a message "please wait" in the new...
3
by: Dave Hammond | last post by:
Hi All, This one is a bit bizarre. My understanding of "Access is denied" with respect to window.moveTo is that it results from a request which would move a portion of the window off screen. ...
8
by: Lian | last post by:
Hi all, It is a newbie's question about html tag "img". The attributes "title" and "alt" for "img" seems having the same function. So what is the main difference between them? Can i use them at...
4
by: sid | last post by:
Can someone tell me how to detect "Action Cancelled" page with out polling. I have a frame set and I want to make sure the other frame is displaying what it is supposed to without polling. For...
4
by: sid | last post by:
"about:blank" oepns new browser window I am writing a webpage that will run on other machines that I may or may not know about. My page is framed where frame1 controls the content of frame2. ...
25
by: tekctrl | last post by:
Anyone: I have a simple MSAccess DB which was created from an old ASCII flatfile. It works fine except for something that just started happening. I'll enter info in a record, save the record,...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.