ChasDevlin
03-27-2003, 06:41 PM
Once again, I turn to this board! A site I'm doing will be viewed by wife's family overseas and they may very well have old browsers.
A thumbnail image (in an iFrame) should activate a large 'hold' image when rolled over using 'onMouseOver'. Code as such:
<script type="text/javascript">
function myClick(src,str) {
parent.document.getElementById('hold').src = src;
parent.document.getElementById('textCaption').innerHTML = str;
}
</script>
-------------------
<a href="javascript:void(0);" onMouseOver="myClick('gfx/city_1.jpg','photo caption inserted here');" onFocus="this.blur();"><img src="gfx/city_1_thumb.jpg" class="Img" width="65" height="39" alt="" border="0"></a>
********************
The code was customized (hence the myClick thing) but does work in IE. I don't care about N4 (time to upgrade!) and N7 is brand new and I doubt most people keep up to date but N6, where it's failing, is still used.
Any thoughts or a workaround? Very much appreciated. Test site is up at:
http://www.sleazerama.com/NT_test/test.htm
My thanks to all on this board...
A thumbnail image (in an iFrame) should activate a large 'hold' image when rolled over using 'onMouseOver'. Code as such:
<script type="text/javascript">
function myClick(src,str) {
parent.document.getElementById('hold').src = src;
parent.document.getElementById('textCaption').innerHTML = str;
}
</script>
-------------------
<a href="javascript:void(0);" onMouseOver="myClick('gfx/city_1.jpg','photo caption inserted here');" onFocus="this.blur();"><img src="gfx/city_1_thumb.jpg" class="Img" width="65" height="39" alt="" border="0"></a>
********************
The code was customized (hence the myClick thing) but does work in IE. I don't care about N4 (time to upgrade!) and N7 is brand new and I doubt most people keep up to date but N6, where it's failing, is still used.
Any thoughts or a workaround? Very much appreciated. Test site is up at:
http://www.sleazerama.com/NT_test/test.htm
My thanks to all on this board...