I need to delay a page from opening a new window for a minimum of 5 seconds to allow some php processing (inserting a new record into a table) to occur first. the open window code works fine without the time delay, but as soon as i attempt to put a delay in, nothing happens eg, the page no longer opens a new window called newrecord.php.
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
I need to open a popup window from a PHP site and pass in some parameters to use in the pop up window. I have the params in an input box and need to get the val of the box into a param and pass it to the new popup window. All pages are local and in the same folder. The id of the input box is 'ddutykey'. The name of the new window would be showduty.php if possible.
I have a page displayuser.php. This page is actually displaying a list of users and at each displyed user there is a drop down list is displayed. The drop down list displays chat animators. When i choose a animators from the
drop downlist, it displays a pop up window with the chosen chat animator and the selected user to chat. When i choose another user to chat, the new pop up window override/reopen on the first pop up window.
Me i want it to display several pop up windows when different users are selected.
We are trying to ensure that information is seen even if javascript is disabled. So we would like to create something that opens a popup as normal however if javascript is disabled it opens a new tab or window with the information. But if javascript is enabled it just opens the popup not the new window.
Is something like this possible and if so how would we do it?
I need to make a image open a popup window, I know how to do it like this:
function load2() { var load = window.open('pictures','','scrollbars=no,menubar=no,height=800,width=840,resizable=yes,toolbar=no,lo cation=no,status=no'); }
then on the link just have it go to javascript:load2()
But I have a ton of different links and don't want a bunch of code in the beginning of my pages. Is there a way to make the first part just the dimensions of the new window but then when I actually make the link, I could put where I want it to link to? Like javascript:load2(pictures).
Here is the link that I am using to open the popup window. It works great except when the $id variable contains a single quote. I have the single quote escaped with a . What am I doing wrong?
im looking for a javascript code that will open a window in 100% width, no toolbars, no menubars, no statusbar, nothing but the page conent basically but for it to all be centered on the screen vertically
I kinda stuck at this point on my php script, it has this javascript code and I stuck there:
Line 16: echo("<script language="JavaScript"> function openptc(tpge,pnme,w,h){ settings="width=" + w + ",height=" + h + ",scrollbars=yes,location=no,directories=no,status=1,menubar=no,toolbar=no,resizable=no"; window.open(tpge,pnme,settings); } //--> </script>");
Line 72: print "<td><a href="#" onClick="openptc('./paidtoclick.php?adid=$row[linkid]&action=start&".session_name()."=".session_id()."','PaidtoClickPage','640','480');"><b>Click Here To View</b></a><tr>";
I think those 2 lines actually are my problem. This code makes the site open in a new pop up window. how to make it open in a new tab.
Is it possible to create a link to have a window pop up and not have the bar that has the title and minimize/maximize/close icons? If so, how could I do this?
I'm having issues with links on my intranet pages that navigate outside of my intranet to other intranets hosted in the same server farm. When I click the links they just do nothing. Links within my intranet site work fine. Is there any kind person here that is capable of pointing me in the direction of resources to force a popup using javascript and making it navigate to the desired link?
We want to load the popup window when the page is loaded but this popup window must not be visible to the end user. We need this to do some processing in the popup window which is hidden.
I have a popup that submits a link. After the link is submitted, I want the user to be able to close the popup and go to the submitted link in one click. How can I do this.
I have my reasons for using popups, it's hard to explain. Please don't tell me how bad popups are, I know they're bad.
I need to create an application that will open a popup when the user closes a window. I can do that easily via onUnload event of javascript but the catch is that the popup must open only when we close the window and not when we submit a form or click a link on the page.Actually it is a survey which opens only when one closes the window.
I need a script to open a popup window which contains a php form. after the form has been submitted or cancelled i need to go back to the originated page (php also) and reload original page.
to make a column clickable and then when clicked I need to open a pop-up window. I use the click event to get the data I need to pass to the new widow. This is working.
Then I use window.open(URL...) to open the window.
Now, I need to stop the information from the click event of the href from being passed to the browser. Is the href the proper way to do this or can I make it clickable via jQuery?
It does open a new page in firefox but generates an error in IE 8.
Is there a jQuery way to open a pop-up window that will work in IE and FF?
I want the lightbox window open only once a day for every unique visitor on my website. I understand I should use some sort of cookie implented, but I dont really understand how to.
I need three tabs out of which only one is open at a time n when u open another tab, one out of the earlier closed one should open(preferably with mootools). And also the tab which is opened should come at the top of the page as well.
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..