I'm trying to make a complicated rollover situation where by mousingover an image in the top left cell of a 2x2 table, text appears in the bottom left cell (this works), and an image appears in the top right cell (I've also got this to work). This is where it get complicated. Now I want the user to be able to mouseover the image that popped up (one of 3 depending on where they are in the first image), and have text appear in the bottom right cell.
Does ASP work well with Javascripting?
I've tried numerous ways, so now I'm just asking if what I'm doing is even possible. So, can I do this:
<SCRIPT LANGUAGE="JAVASCRIPT">
if (document.images) {
image1 = new Image
image2 = new Image
image3 = new Image
image1.src = "<%=image3%>"
image2.src = "<%=image2%>"
image3.src = "<%=image1%>"
}
</SCRIPT>
??? Am I looking at this all wrong? Should I be trying something else? Am I stupid for putting <%=image1%> in a scriptblock?
Thank you.
Does ASP work well with Javascripting?
I've tried numerous ways, so now I'm just asking if what I'm doing is even possible. So, can I do this:
<SCRIPT LANGUAGE="JAVASCRIPT">
if (document.images) {
image1 = new Image
image2 = new Image
image3 = new Image
image1.src = "<%=image3%>"
image2.src = "<%=image2%>"
image3.src = "<%=image1%>"
}
</SCRIPT>
??? Am I looking at this all wrong? Should I be trying something else? Am I stupid for putting <%=image1%> in a scriptblock?
Thank you.