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 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