Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rollovers in table cells 1

Status
Not open for further replies.

blues77

Programmer
Jun 11, 2002
230
CA
I'm trying to get a rollover working in a table cell. currently the code i have is:

<head>

<script src=&quot;./javaScript/mapStoreScript.js&quot; language=&quot;javascript&quot; type=&quot;text/javascript&quot;>
entireMap50 = new Image
detailMap50 = new Image

entireMap50.src = &quot;../assets/mapPics/topographic(50).jpg&quot;
detailMap50.src = &quot;../assets/mapPics/topographic(50)detail.jpg&quot;
</script>

</head>

and in the body i have
<table>
<tr>
<td onMouseover=&quot;document.topo50.src=detailMap50.src&quot; onMouseout=&quot;document.topo50.src=entireMap50.src&quot; align=&quot;right&quot;>
<img src=&quot;../assets/mapPics/topographic(50).jpg&quot; name=&quot;topo50&quot;>
</td>

</tr>
</table>

any help would be greatly appreciated

thanks
mike
 
Hi Blues77,

Try (to learn from) these examples:


by the way: Posting the same question in different forums is not such a good idea (my opinion) because different members can give the same answer, not knowing from each other. Then it's better to post your question in one forum and ask people in another forum with a link to the forum whit the question.

Hope this helps,
Erik <!-- My sport: Boomerang throwing !!
This year I will participate at the World Championships in Germany. (!! Many Happy Returns !! -->
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top