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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Expanding/Collaspe Menu

Status
Not open for further replies.

MikeDee

Programmer
Aug 2, 2001
19
0
0
GB
If I want to insert an image in between other image onclick. How can I do that?

Expanding/Collaspe Menu kinda thing for IE & Netscape

below is a structure of what Im wanting to do.
-----------------


<html>
<head>
<title>Untitled Document</title>
<meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;>

<script language=&quot;javascript&quot;>
function isg_content()
{
INSERT an IMAGE in between and push images below it down accordingly.
}

</script>

</head>

<body bgcolor=&quot;#FFFFFF&quot;>
<table width=&quot;75&quot; border=&quot;0&quot; cellspacing=&quot;6&quot; cellpadding=&quot;0&quot;>
<tr>
<td><img src=&quot;m_head.gif&quot; width=&quot;130&quot; height=&quot;38&quot;><BR>
<img onclick=&quot;javascript: isg_content();&quot; src=&quot;m_isg.gif&quot; width=&quot;130&quot; height=&quot;22&quot;><BR>
<img src=&quot;m_svg.gif&quot; width=&quot;130&quot; height=&quot;22&quot;><BR>
<img src=&quot;m_TDC.gif&quot; width=&quot;130&quot; height=&quot;22&quot;><BR>
<img src=&quot;m_pab.gif&quot; width=&quot;130&quot; height=&quot;22&quot;><BR>
<img src=&quot;m_bot.gif&quot; width=&quot;130&quot; height=&quot;16&quot;></td>
</tr>
</table>

</body>
</html>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top