I've got a page with links to panoramic images and use javascript to
open a separate window when the link to a specific panoramic image is
clicked.
Problem is that it's not working when I visit the site with my PC. But
it works fine when using my Mac.
On my PC, I get a browser error that the page is not found.
Could someone take a look at my source code and tell me what might be
causing this problem?
I'm not very fluent with javascript and am having a difficult time
troubleshooting this.
the site is http://www.cnyweddings.com/pano/index.php
One other thing... currently the links are opening another window, but
it'd probably be really cool to have the link replace the existing image
on the index page. But I'm not sure how to accomplish that. the code
fragments I've seen on HotScripts.com and other places don't quite seem
to fit my needs.
Here is the code in the Head...
<script language="JavaScript">
<!--
function winOpen(url){
width= "500";
height="600";
optionString =
"scrollbars=yes,status=yes,menubar=no,resizable=ye s,location=no,toolbar=n
o,width=" + width + ",height=" + height;
psWindow = this.window.open(url,"",optionString );
}
//-->
</script>
Here is the code in the body...
<ul>
<li><a
href="javascript:winOpen('http://www.cnyweddings.com/pano/statler_terrace
..html')">Ithaca - Statler Hotel Terrace Dining Room</a></b></li>
<li>
<a href="javascript:winOpen('lakewatch_inn.php')"">It haca - Lakewatch
Inn</a></b></li>
<li>
<a href="javascript:winOpen('ginny_lee.php')">Lodi -Wagner Vineyard
Ginny Lee Cafe Panorama</a></b></li>
<li>
<a href="javascript:winOpen('statler_terrace.php')">I thaca - Statler
Hotel
Terrace Dining Room</a></b></li>
<li>
<a href="javascript:winOpen('logan_ridge.php')">Lodi - Logan Ridge
Winery</a></b></li>
<li></li>
</ul>
--
--