Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

I can't POP UP dialog in my borwsers

Posted on 2014-03-14
8
262 Views
Last Modified: 2014-03-18
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.
0
Comment
Question by:lapucca
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 13

Expert Comment

by:Santosh Gupta
ID: 39930583
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.
0
 

Author Comment

by:lapucca
ID: 39930630
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?
0
 
LVL 13

Expert Comment

by:Santosh Gupta
ID: 39930631
did you make this page yourself ?

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

check you coding.
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 80

Expert Comment

by:David Johnson, CD, MVP
ID: 39930699
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

0
 
LVL 43

Expert Comment

by:Chris Stanyon
ID: 39933867
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
0
 
LVL 43

Accepted Solution

by:
Chris Stanyon earned 500 total points
ID: 39933879
Ahhh. Just read your post about it working on your server but not on your local PC. Check the src attribute of the jquery and jqueryui libraries. If you're pulling them from a CDN such as google, then your page needs to be run from a server. If you want to run it locally, then you'll need to download the 2 libraries plus the UI css to your PC and drop them in the same folder as your file and make sure your src refers to your local version.

Post your code if you need me to take a look at it
0
 

Author Comment

by:lapucca
ID: 39934832
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.
0
 
LVL 43

Expert Comment

by:Chris Stanyon
ID: 39934860
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 :)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Customizing jQuery UI Accordion CSS 3 28
How to display div value on input field value in php 11 51
parse url to form? 7 25
jQuery when a text link is clicked? 16 37
There are a couple ways to attach a JavaScript function to dynamically created elements. You can make a new script for each element as it’s created or you can use delegation. Delegation allows a single script that is added at page creation to mat…
Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question