PopUp Blockers
Apr 20, 2006
Below is a snippet of code that i use in a script to call another file which open a new window, the problem is that popup blockers are blocking this. What i need to know is there a way to recode this so popup blockers can not block the new window opening?
".iif($showpopup==true,"
<script>
var force=0
function setwinfocus() {
window.focus()
}
window.open('mcfpopup.php','MakoCashFlow','width=790,height=500,left=10,top=10,toolbar=yes,menubar=n o,scrollbars=yes,status=yes,resizable=yes,location=yes');
setTimeout("setwinfocus()",1500);
</script>
")."
";
?>
View 4 Replies
ADVERTISEMENT
Jun 21, 2010
Been using popup windows for years on my websites, launched by onClick, and they are not blocked, I would assume because they are called from the current page in the same domain. I'm using basically the same script in a new application, but it's launched by onLoad, again from a page in the same domain. It's being blocked by most browsers.
View 1 Replies
View Related
Apr 22, 2010
I have merged two scripts to make a popup that comes up even if blocked, and is for first time visitor only (cookie). The problem is that the way I'm doing it, it might show one or more times to the visitor. I don't want that because it will be irritating and this is a high-priority client. I'm posting the whole script because I think the problem is calling the popup before checking the cookie, but not sure how to rearrange things.
Also, I did search and found some good dhtml stuff but don't want to rewrite. This was supposed to be done last night so if I can fine tune this for now, I'll have time to rewrite something better (or at least play around with another script). Also, the popup refuses to come up in IE - I have IE6, but I detest IE and their site doesn't even load in it so whatever. I tested in FFox3, Opera 10 and Safari and it seems to work but like I say because of the onclick - it will load at any click until the user goes to a different page. I added a refresh in there but it just made things worse - too much going on for the user at that point.
[Code]....
View 9 Replies
View Related
Aug 15, 2007
I created a little script on a section of a website that password protects the page. It gives a user 3 tries to enter the correct password and then if they get it wrong, it moves them to another page that says they don't have access.
Recently, I upgraded it to do a window.showModalDialog instead of just using a plain javascript prompt as they don't look as nice and clear as a customized JSP could.
However, now that we've sent that upgrade out, we're finding that some of our users are not seeing the window.showModalDialog and it just loads the page (not the no access page).
The script is below. When I look through it, it looks to me that a user with an active popup blocker should just be sent straight to the no_access.jsp file, but that isn't what's happening. Code:
View 2 Replies
View Related
Sep 26, 2009
I dont know much about the functionality on what causes some popups to trigger a browsers blocker and some not to.
Situation: I have an account information page (where users can edit their account details) one of the fields the user can edit comes at a cost. For billing I am using a 3rd party billing portal (standard form action pointing to the service & value is passed via post variable)
-user hits submit (not on the 3rd party billing form, my fake ajax button)a service is selected that cost $1 (lets say)verification DB is updated (no page reload)value field is updated in the 3rd party billing form to reflect the additional service I then initiate the form submit on the 3rd party billing form into a popup window I do not want to user to leave the site, I want the $1 billing window to pop up, they take care of it then close the window returning back to the site. In order to get the form to popup in a window I set the forms target to the popup window:
Code:
window.open("", paysys, "width=760,height=550"); functionality everything is working perfect, except most browsers catch the popped up window in their popup blockers. Anyone know how I can create a popup that isnt flagged by the browsers?
View 1 Replies
View Related
Sep 23, 2009
Does Jquery perform better or worse than other Java library with regard to not triggering pop up blockers?
View 2 Replies
View Related
Sep 16, 2009
I have a chat application where when a button is click a pop up window for chat will appear. I want to bypass any pop up blocker so that my chat app will always show when my button is clicked. Is this possible?
View 2 Replies
View Related
Mar 22, 2003
I have a page on my site where I have various "click for details"-type links. The link pops up a small box with some extra information that the visitor wanted to see.
Some visitors have been emailing me saying things like, "When I click on those links nothing happens" or "it just reloads the page..." etc. I'm guessing these users may have some sort of pop-up blocker or something??
What's the deal with those blockers I've been hearing AOL and Earthlink are promoting? Do they just stop pop-ups from launching even if the visitor clicks a link? What am I missing? What else can it be? Why would some of my visitors not be able to launch a small pop-up window from clicking on a link?
View 2 Replies
View Related
Jan 22, 2010
I am trying to dynamically open a popup window but ie8 blocks it with the popup blocker. basically within a ajax fuction I have a confirm button and if the user clicks yes it opens a popup window. now I tried it with a javascript function but it got blocked, so I have tried it by creating a form with a button in it and instead of calling the popup function direct I call document.form.button.click and in the form my button has onclick"popup('<? echo url; ?>')" but this also is detected as a unwarranted popup and is blocked.
now I understand that the popup blocker works when a popup is called without user interaction, but allows popups on say button clicks. how can I get the popup to work
View 3 Replies
View Related
Jun 4, 2009
1. VBScript opens a dropmenu: oPopUp = window.createPopup
2. Then Javascript code in the popup body should hide the popup when certain item has mouseover.
Can javascript hide vbscript popup (within the popup)?
View 3 Replies
View Related
Sep 22, 2010
In my application i use window.showmodaldialog() to pop up a window. When i run it in IE pop up blocker wont blocks the window... But when run it in FireFox pop up blocker will blocks the pop up window.. is there any way to open a window with out blocking(avoiding ) by the pop up blocker?
View 1 Replies
View Related
Jul 11, 2011
I want to configure the script below to popup only once per browser session. I know nothing about javascript.
Code:
View 3 Replies
View Related
Dec 25, 2011
From a parent window, I open two child windows.In the second child, you complete some data, and then it closes the window. I'm trying to figure out how to find and close the first popup window at the same time (as that is used for reference but no action necessary on it).As near as I can tell window.open should let me set a handle that I can then reference later on to close that window (or am I misunderstanding that), but i cannot figure out how to reference that window.
View 1 Replies
View Related
Jul 20, 2005
As per the rather long subject, I would like to (well, my boss would like me to...) on a popup have one button to close and another to close but then redirect to another page.
View 4 Replies
View Related
Dec 30, 2002
OK, can't figure out what I did wrong here....
View 2 Replies
View Related
Jul 23, 2005
I just am curious as to whether online advertising software is not
doing as well because of popup advertisement blockers, such as on
Mozilla and on the Google popup blocker. Would it not be advisable to
work for SpecificPOP or SpecificMEDIA, leaders in direct-response,
online marketing specializing in innovative technology that maximizes
ROI revenue for marketers?
SpecificPOP helps sites like wunderground.com, a site about weather, produce windows that offer gift coupons of one hundred dollars or more, based on whether you check if
President Bush is good for America.
View 2 Replies
View Related
Jul 23, 2007
how to create dialog box or pop box by using javascript
but one thing when it appear the back ground is automatically disable
can't run any actions
View 1 Replies
View Related
Jul 23, 2005
The question has to do with the use of popup
windows in a web page. I have heard that popup
windows should be avoided; due to use of popup
blockers and browser that do not process javascript.
Is the use of popup windows bad design?
Will it severly reduce the usage of our web page?
Note, The popup windows are created using only
onClick events, not onLoad or onClose events.
Do popup blockers make any distinction between
the two?
View 3 Replies
View Related
Jul 23, 2005
I have a button that pops up a calender popup window. One of the arguments
to the openCalendar() is the name of the element to insert the selected date
into i.e a readonly text box - this works fine!
What I want to do is to detect when a value is inserted in to this box from
the popup so I can make visible a "save" button - trouble is though the
onfocus() & onchanged events are not fired when it's value changes.
Is there anyway to get some sort of event fired when a popup closes so I can
test if the text box has changed? - or more likely am I overlooking
something really obvious?
View 2 Replies
View Related
Jul 23, 2005
can still have a popup even when I have a popup blocker - google toolbar. I
want to know the technology, but I can not read the source code. Anyone
knows the trick to get around the blocker?
View 2 Replies
View Related
Jul 23, 2005
This cookie script has a confirm popup that asks if you want your data
saved, it pops when you exit the form, now my question is how can I
eliminate the popup? Code:
View 2 Replies
View Related
Aug 16, 2005
I want to do a search from my opened popup and print the result to
my parent window.
I know how can I with a link open a new page in the parent window
but I need to retrieve my form values before to send it to the parent window
I call a function from my search button :
function Lvl_P2P(url,closeIt,delay){
document.select_wish.submit();
opener.location.href = url;
}
my button :
<input type="button"
onClick="Lvl_P2P('/cgi-bin/recordz.cgi?lang=fr&page=dosearchimmo',true,0500)"
value="Search">
but If I use it this way the document.select_wish.submit() method send
and open page in the current pop up window
how can I tell to open it to opener.location.href = url...
View 1 Replies
View Related
Dec 15, 2005
I have a map with regional hotspots and want to pop up a small window (maybe 300 x 200 with the reps in the regional area when the hotspot is clicked. It should pop up over the map with a close button returning the user to the p.
I now have a full page but with the small number of reps right now it looks overdone, I would like something a little less flashy.
View 1 Replies
View Related
Sep 6, 2006
In my program the user clicks on a link and using the window.open
function, opens a new window.
I pass a url to the new window like this:
<a href="#"
onClick="window.open('../quotescreenwindow.php?enroll_id=enrollwindowprime. php',
'WindowC', 'width=750,height=800,scrollbars=yes');">
In the new window that just opened called quotescreenwindow.php, I
have a button that when clicked, should open yet another window called
enrollwindowprime.php (this is the variable I am passing after the
question mark).
What I cannot do, is to grab this variable that I am passing to the
first window I open and use its content to open the next window.
I am not very experienced and have been piecing this together from
various web sites.
To simplify all of this:
Screen A Opens Popup Window B and passes it a variable with a url
inside of it.
Popup Window B wants to use the variable with the url to open Pop Up
Window C.
View 6 Replies
View Related
Aug 25, 2007
Admittedly I don't know javascript. I got the following code from a free
site somewhere and have been using it:
<a
href="javascript:void(window.open('forms/13.11.php','em','scrollbars=1,width=67
0,height=400,top=60,left=60'))">
Now that I have been using it, I see I would prefer to have the window be
resizable by the viewer (in ie 6, 7 and firefox), Anyone have any idea of
how to change this so the popup window can be resized?
View 3 Replies
View Related
Jul 20, 2005
In one folder i've put all pics, but they are not all the same size. i've
got as many links as pics and clicking on link popUp opens showing that pic.
now, i would like to have one function that opens popUp window but in
different dimension for different pic....
View 5 Replies
View Related