okay below is part of the code im using for this site. its supposed to be where you click on the image and it "shows" a div that was hidden before. Then when you click another picture it hides the currently opened div and shows the new one. it works in every browser except IE (of course.) and im not sure what i did wrong with script, help please?
<div class="content">
<table width="100%" border="0">
<tr>
<td align="center">
<a id="1" href="#"><img src="..." width="100" height="92" alt="1" /></a>
<a id="2" href="#"><img src="..." width="100" height="70" alt="2" /></a>
<a id="3" href="#"><img src="..." width="100" height="112" alt="3" /></a>
<a id="4" href="#"><img src="..." width="100" height="65" alt="4" /></a>
<a id="5" href="#"><img src="..." width="100" height="141" alt="5" /></a>
</td>
</tr>
</table>
</div>
<div id="frame1">
<button>close</button>
<iframe src="..." width="100%" height="100%">
<p>Your browser does not support iframes.</p>
</iframe>
</div>
<div id="frame2">
<button>close</button>
<iframe src="..." width="100%" height="100%">
<p>Your browser does not support iframes.</p>
</iframe>
</div>
<div id="frame3">
<button>close</button>
<iframe src="..." width="100%" height="100%">
<p>Your browser does not support iframes.</p>
</iframe>
</div>
etc...
<script>
//controller for first site
$("a#1").click(function () {
$("#frame2,#frame3,#frame4,#frame5").hide("fast");
$("#frame1").show("slow");
});
//controller for second site
$("a#2").click(function () {
$("#frame1,#frame3,#frame4,#frame5").hide("fast");
$("#frame2").show("slow");
});
//controller for third site
$("a#3").click(function () {
$("#frame1,#frame2,#frame4,#frame5").hide("fast");
$("#frame3").show("slow");
});
//controller for fourth site
$("a#4").click(function () {
$("#frame1,#frame2,#frame3,#frame5").hide("fast");
$("#frame4").show("slow");
});
//controller for fifth site
$("a#5").click(function () {
$("#frame1,#frame2,#frame3,#frame4").hide("fast");
$("#frame5").show("slow");
});
//button close frames
$("button").click(function () {
$("#frame1,#frame2,#frame3,#frame4,#frame5").hide("fast");
});
</script>
and of course the css of the frame divs had to be "display:none;" for it to work.