PDA

View Full Version : Tabbed Document Viewer switch automatically to the content



komi
07-14-2005, 07:42 AM
Some problem about Tabbed Document Viewer!
(http://www.dynamicdrive.com/dynamicindex3/tabdocviewer.htm)

Please , how to modify Tabbed Document Viewer's script

so that the tab can switch automatically to the content

when we use mouses over it without clicks!? just like http://www.udn.com

THANK YOU VERY MUCH :)

jscheuer1
07-14-2005, 12:32 PM
From the demo, replace the <ul> . . . </ul> with this:

<ul id="tablist">
<li><a class="current" href="http://www.google.com" onclick="return false;" onmouseover="return handlelink(this)">Google</a></li>
<li><a href="http://www.yahoo.com" onclick="return false;" onmouseover="return handlelink(this)">Yahoo</a></li>
<li><a href="http://www.msn.com" onclick="return false;" onmouseover="return handlelink(this)">MSN</a></li>
<li><a href="http://www.news.com" onclick="return false;" onmouseover="return handlelink(this)">News.com</a></li>
<li><a href="http://www.dynamicdrive.com" onclick="return false;" onmouseover="return handlelink(this)">Dynamic Drive</a></li>
</ul>

komi
07-15-2005, 04:55 AM
thank you very much!

You are generous and kind-wise!