"about:blank" Opens New Browser Window
May 22, 2007
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?
View 1 Replies
ADVERTISEMENT
Aug 1, 2009
I have seen this script a few places, not sure it was jquery but I figured it was.
I am looking for a script that opens a lightbox when someone moves the mouse over to close the browser window or change the url or type in the search bar, a lightbox pops up.
I spend a bit of time searching and can't find the script.
View 1 Replies
View Related
Dec 14, 2010
I am developing a website as part of a university project and I have been trying to integrate the java script mailing list from this website into a page. [URL] The only modification I have made is to change the mailto address to my email. When I test the script it just opens a blank windows email with the correct address filled in. Is this because I am working on a copy on my hard drive? If I were to upload this to a server would it work correctly or would I have to modfiy the code in any way.
View 2 Replies
View Related
May 22, 2007
"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.
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?
View 4 Replies
View Related
May 11, 2011
My WEB site opens an application window and then, from its original window it navigates to a status page.
Code:
var newWindow
function popUpApplication() {
[code]...
View 5 Replies
View Related
Jun 17, 2011
I'm doing something wrong, I want my script to execute when the browser window opens, code...
View 3 Replies
View Related
Aug 11, 2011
I am trying to usw window.open , upload a file in the child window and then referesh the parent window. But once upload is done, window . opener .location.href or opener.location.replace sends a message back but I get a pop up blocker, so if I turn pop up blocker off, it opens in new page. I just want the parent page to refresh on the same window. This works on some employees stations but not on others..I don't know if there are any settings on IE that need to change, I tried everything...weird. does any one done this before?
View 1 Replies
View Related
Jul 13, 2007
function gotoshow(){
if (!window.winslide||winslide.closed)
winslide=window.open(slidelinks[whichlink])
else
winslide.location=slidelinks[whichlink]
winslide.focus()
}
I need to change this function to DO NOT open "slidelinks" in new window, but in same window as the image witch uses this function.
View 2 Replies
View Related
Jul 23, 2005
From a web page, I am opening a window from my javascript function
"openMyWindow()". After finishing work in that window i want to execute
another javascript function on the web page "finishMyWindow()". My question
is how can I call this function from my window? I tried using
parent.finishMyWindow() but it did not work.
View 2 Replies
View Related
May 14, 2009
I have the following html code, that is an input Button and onclick runs the javascript function EnquiriesReport().
<input type="Button" name="Enquiries" value=".Enquiries" onClick="EnquiriesReport()" class="formsubmitTwo">
Here is the javascript code for the EnquiriesReport() function:
function EnquiriesReport()
{
if( ValidateData()) {
form1.action="EnquiriesReport.asp?"
form1.submit();
}
}
My question is how can I run the EnquiriesReport() function so that the "EnquiriesReport.asp?" opens in a new window?
View 1 Replies
View Related
Jul 28, 2011
I have found a script for opening all linked images of one page in a new window and displaying all images in full size inline. It works so far, however:
I want the images to be displays in the current window i am in instead of opening a new window.
Here is the code:
Code:
javascript:(function(){function%20I(u){var%20t=u.split('.'),e=t[t.length-1].toLowerCase();return%20{gif:1,jpg:1,jpeg:1,png:1,mng:1}[e]}function%20hE(s){return%20s.replace(/&/g,'&').replace(/>/g,'>').replace(/</g,'<').replace(/"
[Code]....
View 3 Replies
View Related
Mar 9, 2011
I have this code and was trying to modify and not sure what i got wrong..
Getting error object expected ")"????
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Page title</title>
[Code]....
View 2 Replies
View Related
Jun 30, 2010
Anyone know how to create this in JS? User clicks on a link, the link opens a new window with new webpage AND the page that had the link then changes to a new webpage as well. So end the end that link takes the user to two new pages. For instance, I am on PageA.html and I click an <a href="">Link</a>. Link take me to a newly targeted page called PageB.html. Then at the same time PageA.html turns into PageC.html.
View 1 Replies
View Related
Sep 29, 2010
I am developing an application that is opened via a modal popup from another application that I do not have control over. In IE, the method of creating the popup that holds my application is window.showModalDialog. When I redirect the user via javascript with something as simple as, location.href='someURL'; another popup window is opened rather than just redirecting the browser. When a user is using anything other than IE, the window.open method is used and those browsers redirect within the same window appropriately.
[Code]...
View 2 Replies
View Related
Feb 5, 2011
I'm using the greatInline Modal Window w/ CSS and jQuery from [url] and it's working great. Now I want use it with an form in it:action="?" method="post"
When form is send the popup is closed, how can I prevent this? I think that happens because the whole page is send. Can I set an extra parameter so the popup opens when the page is reloaded?
View 2 Replies
View Related
Apr 22, 2009
Ive got a script which will enable an entire div to be clickable, however when I click on the div it opens the URL twice..
The code is:
View 1 Replies
View Related
Sep 18, 2011
I have a popup window that has a "link" inside it, which needs to have a target=_blank but when ever clicked in IE, it stays inside the same window.I tried all of the following, none work
<a href='http://www.myurl.net' onclick='window.close();' target='_blank'>
<a href="http://www.myurl.net" target="_blank" onClick="javascript:window.close()">
<a href="http://www.myurl.net" target="_blank" onClick="javascript: setTimeout(window.close, 10);">
View 10 Replies
View Related
Apr 27, 2010
I have this list menu that needs to pop open a blank window in front of the already open webpage. It also needs to work in IE and hopefully Firefox if possible.[code]
View 1 Replies
View Related
Apr 5, 2009
I need to know if the user close the browser or to open the window � browser without or with a disable close window button How can I???
View 6 Replies
View Related
Jan 21, 2010
I have a domain name registration field that links to a reseller storefront and then searches for that domain name. I would like the storefront to open in a new window, instead of the parent window. I have tried to insert the target="blank tag but can not seem to get it to work. Is there another way to make that window open? You can see the page and field here: [URL] The field is on the left side, just below the center of the page.
View 6 Replies
View Related
Jul 16, 2009
had this in browsers areas but people told me I should put it here in Javascript because more people here would probably have seen it before and know why it happens. I have basic Javascript that rotates images. I've noticed any kind of Javascript code that rotates images has this same problem only in Mozilla. When the images rotate in Mozilla in between the rotations, Mozilla browser adds a little colored square that represents a blank image that are able to be seen does anyone know why Mozilla Browser adds that? For example when looking at this page in Mozilla can see it. if you know if this is some Mozilla problem with Javascript and images. Doesn't happen with IE and other browsers shows the images only and nothing else.
View 2 Replies
View Related
Jul 30, 2010
I need "No-Block PopUp Window" for my web site.. for example if users open my sites another sites show or opens for them.. even a full page site like full pages ads..and it be like One time per hour or more..I found some script like that but some of them being blocked by IE or other browsers..
View 3 Replies
View Related
Mar 29, 2011
It is possible to perform a find in page search that looks at a specific link, opens the page in a new window and finds the text within that document?? Basically I regularly use an html page in work that has a list of people and their telephone numbers. I want to be able to type in a searchbox on my main page and it open the target page and find the name I am looking for? Is this possible or can you only Find In Page on the same page or another frame?
View 1 Replies
View Related
Oct 19, 2011
I have a basic dropdown css menu system. When a menu item is selected (ex: foo.html), the cluetip link opens a 450px wide window as expectedThen,I selectanother menu item (ex: bar.html). But when I return to link foo.html: and click the same clueTip link the clueTip link now opens in it's own window instead of the 450px clueTip window as beore would expect the small clueTip window to open and show the clueTip on each successive click as it does the first time. If I do a browser reload, the first menu selection works as it should, but only on the first click.If the menu is not used, the single file opens the clueTip correctly. Does clueTip get confused in a menu program?
// the cluetip code:
$(document).ready(function() {
$('#clickme').cluetip({
[code]....
View 7 Replies
View Related
Jan 7, 2010
Below is the code that opens a new window when the user clicks on the button "Click here to see". But the code resides outside the <script></script>. As far as i know javascript codes have to be between these tags to work. How will the "window.open" statement work?
<form>
<input type="button" value="Click here to see" onclick="window.open('http://www.yahoo.com')" />
[code].....
View 19 Replies
View Related
Jul 26, 2010
I'm trying to use javascript to load an image on a webpage when another image is clicked on, just like an image gallery and just like this except I don't need any text: [URL] I copied the example above but when I click on the smaller image to load the larger one it works for a fraction of a second (I can see the image load in the right spot), but then the browser goes to the URL of the image instead (showing it on a blank page).
[Code]....
View 13 Replies
View Related