Link to home
Start Free TrialLog in
Avatar of lapucca
lapucca

asked on

I can't POP UP dialog in my borwsers

I configured IE, FF and Chrome on my Windows 7 PC to allow pop up.  I have a html web page that has a jQuery that would pop up a dialog if a link is clicked on this page but I can't get it to work on my PC with any of the 3 browsers.  Can someone advise where else or what else I should try?
Thank you.
Avatar of Santosh Gupta
Santosh Gupta

popup is not working for your web page only or for other sites as well ?

if others too,  then use CCleaner to remove lingering entries in your registry.
Avatar of lapucca

ASKER

Only on my PC.  I open this html file that resides on my C drive.  the page comes up but it doesn't show the pop up when I click on the link.
the same html file when I put it onto a web server in a folder under the default site, the pop up dialog would show up on my PC's browser.
Looking at this, it may not be the problem with my browsers but what is it?
did you make this page yourself ?

if yes then check that your Popup dialog box path is correct in page ?

check you coding.
Avatar of David Johnson, CD
check your intranet settings.. when on a web server you are using the internet settings, when run not on a server it is an intranet file.

Two Examples that follow the rules that pop up blockers recognize ad good pop ups
<a href="http://www.example.com" onclick="javascript:void window.open('http://www.example.com','1394841080283','width=700,height=500,toolbar=0,menubar=0,location=0,status=0,scrollbars=0,resizable=0,left=0,top=0');return false;">Pop-up Window</a>

Open in new window


<script type="text/javascript">
// Popup window code
function newPopup(url) {
	popupWindow = window.open(
		url,'popUpWindow','height=700,width=800,left=10,top=10,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes')
}
</script>
<a href="JavaScript:newPopup('http://www.example.com/html/html_help.cfm');">Open a popup window</a>

Open in new window

A jQuery Dialog is NOT a pop-up so it doesn't get stopped by pop-up blockers. If it's not working, then there's another problem. Post a link to your page and we can take a look
ASKER CERTIFIED SOLUTION
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lapucca

ASKER

Chris, thank you.  That explains it perfectly!  Yes, the query is being pulled from google so it won't work until uploaded to server.  I will download a local copy to my pc for future.
Cool.

Doing web development using 'local files' will severely limit your progress. Web browsers can open local HTML files, but that's about it. Any functionality above and beyond basic HTML stuff simply won't work.

If you intend to do more web development, your best bet would be to install some web server software on your PC, and then your PC will work like a proper web server. If you're using Windows, the easiest way to do it is to download and install WAMP Server. This will give you a webserver (apache), php and mysql (database) so you can develop web sites locally as if you're working on a fully functioning web server :)