Hi there
need some help with a prob and will do my best to make it clear....
My "hmpage.html" has an "iframe" that calls up diffrent pages using th
nav buttons on the "hmpage.html"
one of those pages It calls up is "gallery.html" & on this page:
I have a table split in 2
1) cell 1 is an iframe
2) cell 2 has a placeholder
in cell2, the iframe calls up "image_list.html"
When you click on the image link, a image shows in "place holder".
My prob is.....it only works in NE/Safari/MoZ/etc.....But NOT i
IE5!!!!....nuts
In IE5 when u click on a link in the image list (cell 1, iframe)
image1.jpg shows up in the iframe instead of the place holder.
messed up, I think it's how Im targeting the links, not sure.....min
boggled, need to wk in IE
I know basic concept of "iframes" and I followed a javascipt tutoria
on "image lists", tried to tie the 2 together, but just not quit
there. This is the javascript in the head of:
\"GALLERY.HTML\
<script type="text/javascript" language="javascript">
function showPic (whichpic) {
if (document.getElementById) {
document.getElementById('placeholder').src = whichpic.href;
if (whichpic.title) {
document.getElementById('desc').childNodes[0].nodeValue
whichpic.title;
} else {
document.getElementById('desc').childNodes[0].nodeValue
whichpic.childNodes[0].nodeValue;
}
return false;
} else {
return true;
}
}
</script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {i
((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight
onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH
location.reload();
}
MM_reloadPage(true);
//-->
</script>
THIS IS THE IFRAME CODE IN 'GALLERY.HTM
<IFRAME name=content src=menu.html width=168 height=400 frameborder=
scrolling=auto>
</IFRAME></td>
THIS IS THE LINK CODE IN \"MENU.HTML\
<a href="image1.jpg" title="family photo" target="content
onclick="return showPic(this)"><img src="/images/images1.jpg
width="75" height="57" border="0"></a>
thanks:
digdu