This JavaScript displays different content for different links on the same area,
dynamically.
You can display any content in the area. The function is called like this ยป
<a href="javascript:void(0);"
onClick="javascript:showContent('<font face=verdana,arial,helvetica>This is
Content 1</font>');"><font face="verdana,arial,helvetica" color="#CC0000"
size="-1"><b>Content 1</b></font></a>
The content marked bold above is the content that you want to display
when a link is clicked. You can include <HTML> tags also. So you can even
include images.
This version (v 2.0) supports IE, NS4, NS6.
|