![]() ![]() Window.open(window.gameURL,'test','left=20,top=20,width=1024,height=640,toolbar=0,resizable=0,location=0') Įxample response body: window. Url: baseurl + '/index.php?option=com_pbbgs&format=raw&getinfo=goingame', I could move the server-side check to the page that gets opened in the popup, but I'd like to do it before opening the popup, if possible. I read that browsers might block the popup if it's not called by a user click event, so I tried setting the AJAX request to async: false, which solved the problem in Firefox, but Google Chrome still keeps blocking my popup. In the report, you can learn if there are any issues found with your site that you can address.On my website there is a button that just used to call a function that calls window.open, however, recently an adjustment was needed to do a server-side check before the popup was opened.Įver since the code was added that does the AJAX call, browsers blocks the popup, that is opened in the success callback of the AJAX call. Sometimes the dashboard will show an alert box popup with the message These popups are annoying us because when they show we need to remote in to that dashboard and click ok. var p 'scrollbarsyes, resizableyes, toolbaryes,' + 'menubaryes, statusyes, locationyes. Step 1) Add HTML: Example
Click me Popup text.
var width '700' var height '450' //these are obvious variables. If pop-ups get blocked on a site that you own, go to the Abusive Experience Report. 1 We develop our own dashboard using iFrame and show multiple dashboard using our platform and switch periodically to another iFrame using Java Script.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |