Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
Results 1 to 7 of 7
-
03-28-2016, 10:03 PM #1New Coder
- Join Date
- Oct 2008
- Posts
- 70
- Thanks
- 7
- Thanked 2 Times in 2 Posts
Problems while loading popups in newer browsers
Hi,
Is there a new limitation on browsers popups or iframes?
FF - Opens 25 popups
OP - Opens 1 popup
Chrome - Opens 1 popup
IE - Opens 25 popups
Edge - didn't tested
What is the problem?
Also since my programing skills are old i did try old browsers for compatibility with an aplication that i was developing, more precisely Mozilla 1.6 and Netscape 7.0 but they didn't work. Certificate issues.Good News: NitroFlare is the new player in file hosting, buy a premium account and download at full speed.
-
03-28-2016, 10:06 PM #2Regular Coder
- Join Date
- Feb 2016
- Location
- Keene, NH
- Posts
- 311
- Thanks
- 0
- Thanked 42 Times in 40 Posts
Are you saying you WANT to open popups? Little tip, you know how many would open here? ZERO!
Are you just TRYING to piss off users?From time to time the accessibility of websites must be refreshed with the blood of designers and owners; it is its natural manure.
http://www.cutcodedown.com
-
03-29-2016, 08:44 AM #3Supreme Master coder!
- Join Date
- Jun 2002
- Location
- London, England
- Posts
- 18,929
- Thanks
- 211
- Thanked 2,624 Times in 2,602 Posts
Modern browsers block all unrequested popups.
All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.
-
03-29-2016, 01:52 PM #4New Coder
- Join Date
- Oct 2008
- Posts
- 70
- Thanks
- 7
- Thanked 2 Times in 2 Posts
Good News: NitroFlare is the new player in file hosting, buy a premium account and download at full speed.
-
03-29-2016, 07:09 PM #5Master Coder
- Join Date
- Sep 2005
- Location
- Sydney, Australia
- Posts
- 8,055
- Thanks
- 2
- Thanked 808 Times in 797 Posts
You don't need popups for that. In fact sending multiple post requests is never required.
Any popups not opened by clicking on an <a> link are unrequested - so yours definitely are. Many people now have their browser set so the only popups that open require that they right click on the <a> link and select to open as a popup.Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
Don't forget to start your JavaScript code with"use strict";which makes it easier to find errors in your code.
-
03-29-2016, 10:54 PM #6Regular Coder
- Join Date
- Feb 2016
- Location
- Keene, NH
- Posts
- 311
- Thanks
- 0
- Thanked 42 Times in 40 Posts
...that SOUNDS like nonsense, but do you have an example of what you are trying to accomplish in actual code? If we can't see where you are at, we can't see what may or may not be going wrong.
So long as files aren't involved (or on modern browsers even if they are) this sounds more like a job for ajax, with a normal page load fallback... aka the old "unwritten rule of JavaScript" -- if you can't make a page that works without JavaScript FIRST, you likely have no business adding scripting to it.From time to time the accessibility of websites must be refreshed with the blood of designers and owners; it is its natural manure.
http://www.cutcodedown.com
-
04-05-2016, 11:44 AM #7New Coder
- Join Date
- Oct 2008
- Posts
- 70
- Thanks
- 7
- Thanked 2 Times in 2 Posts
I'm trying to post the code here for days... connection goes down...
Code:<html> <head> <title>Email Form</title> <script src="jquery.min.js"></script> <link rel="stylesheet" href="style.css" /> </head> <body> <div id="mainform"> <form id="form"> <h3>Fill Your Information!</h3> <div> <label>Email :</label> <br/> <input type="text" id="email"/><br/> <br/> <input type="button" id="submit" onclick="myFunction()" value="Submit"/> </div> </form> <script> function myFunction() { var email = document.getElementById("email").value; var dataString = 'email=' + email + '&fullname='; $.ajax({ type: "GET", url: "http://127.0.0.1/file.php", data: dataString, cache: false, }); $.ajax({ type: "GET", url: "http://127.0.0.1/file.php", data: dataString, cache: false, }); alert('The email was send, Thanks'); } </script> </div> </body> </html>Good News: NitroFlare is the new player in file hosting, buy a premium account and download at full speed.



Reply With Quote
