S
Stevie D
Hi I'm a Javascript newbie
I'm doing a 'simple' (basically adding pages and changing text in frontpage
2000) update of a web site for a friend - what I have done 'should not' have
done anything to the Java script that this site contains and the bits I've
added work fine. However, having uploaded the changes, and looking at the
site in I.E. the thumbnail images that already existed in the site don't
load into a popup window that was designed in JavaScript, but I'm fairly
sure that they used to. The popup window opens but the image doesn't.
The thumbnails are arranged in a table.
I think the following is a sample of the relevant JavaScript.
**************
HTML
**************
<script language="JavaScript">
<!--
function openWindow(url,name,scroll,width,height,top,left) {
popupWin = window.open(url,name,
'scrollbars='+scroll+',width='+width+',height='+height+',top='+top+',left='+
left)
}
file://-->
</script>
****************
HTML
***************
<td rowspan="3"><img name="gallery/doors/doors_r2_c01"
src="gallery/doors/doors_r2_c01.gif" width="40" height="250"
border="0"></td>
<td colspan="2"><a
href="javascript
penWindow('gallery/doors/1.jpg','1',0,250,375,40,320);"><i
mg name="gallery/doors/doors_r2_c02" src="gallery/doors/doors_r2_c02.gif"
***************
The site is http://www.decorativeresins.com/ and the relevant page can be
found buy clicking on the doors item under the gallery button.
The thumbnail in the example is the one in the top left hand corner of the
table.
Any suggestions on how I can fix this.
Thanks in advance.
I'm doing a 'simple' (basically adding pages and changing text in frontpage
2000) update of a web site for a friend - what I have done 'should not' have
done anything to the Java script that this site contains and the bits I've
added work fine. However, having uploaded the changes, and looking at the
site in I.E. the thumbnail images that already existed in the site don't
load into a popup window that was designed in JavaScript, but I'm fairly
sure that they used to. The popup window opens but the image doesn't.
The thumbnails are arranged in a table.
I think the following is a sample of the relevant JavaScript.
**************
HTML
**************
<script language="JavaScript">
<!--
function openWindow(url,name,scroll,width,height,top,left) {
popupWin = window.open(url,name,
'scrollbars='+scroll+',width='+width+',height='+height+',top='+top+',left='+
left)
}
file://-->
</script>
****************
HTML
***************
<td rowspan="3"><img name="gallery/doors/doors_r2_c01"
src="gallery/doors/doors_r2_c01.gif" width="40" height="250"
border="0"></td>
<td colspan="2"><a
href="javascript
mg name="gallery/doors/doors_r2_c02" src="gallery/doors/doors_r2_c02.gif"
***************
The site is http://www.decorativeresins.com/ and the relevant page can be
found buy clicking on the doors item under the gallery button.
The thumbnail in the example is the one in the top left hand corner of the
table.
Any suggestions on how I can fix this.
Thanks in advance.