Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Javascript Popup: IE 6.0 "Unspecified Error"


  • Please log in to reply

#1
frasmus

frasmus

    New Member

  • Member
  • Pip
  • 2 posts
I may have the wrong personality for Javascript. I don't always dot my I's and cross my T's. I'm beginning to cross my eyes though! :tazz:

The following code used to work ok in IE and Firefox, but somewhere along the way, I may have corrupted it myself or else IE changed it's behavior between 5.0 and 6.0

In my Javascript source file is the popup script:

function popup(url,wname,params) {
PopWin = window.open(url,wname,params);
PopWin.focus();
}


... And in my page where I want the popup link to appear is the script:

<A HREF="javascript:popup('displaymap.asp?Lat=<%=adLat%>&Lon=<%=adLon%>&Lcd=2&City=<%=city%>&id=<%=adid%>&Title=<%=adSubject%>', 'MapView', 'width=715,height=600,scrollbars=yes')"><img src="img/btnMap.gif" border="0" valign="bottom"></a>


This little example is set to expire on Feb 22, 2006. It's a classified ad. There's an image of a map that is supposed to make a popup appear with a google map of the advertiser's location...

http://www.near-buy....807616239100066

If you click the little map image Posted Image with Firefox, the popup works great. But if you click with Internet Explorer, you get "Unspecified Error".

Please help me if you can. I have so much respect for you guys and gals who know your Javascript inside out. You are much better disciplined and clear thinking than me. I hope I have flattered you enough there. :)

Regards,
frasmus
  • 0

Advertisements


#2
frasmus

frasmus

    New Member

  • Topic Starter
  • Member
  • Pip
  • 2 posts
I found out that the IE 6.0 I am using from work has NO PROBLEM with executing the Popup Script.

I will try to reinstall IE on my home PC. Thanks.

frasmus
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP