PDA

View Full Version : Tab Content href significance



MrBlonde
02-14-2006, 06:48 PM
Hi all.. can someone please explain the significance of the href in the Tabbed Content script...
http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm

For each tab you need to have a line similar to this:
<li><a href="new.htm" onClick="return expandcontent('sc2', this)" theme="#EAEAFF">What's New</a></li>

Does that mean there has to be a file called new.htm in the root directory, and if so what should it contain seeing as the actual content is on the page with the above line.

My implementation of it keeps giving me 404 errors saying the file does not exist... even if I do have an empty htm file in the directory.

It's driving me nuts...

jscheuer1
02-14-2006, 07:47 PM
That URL should never be retrieved if the script is set up correctly and javascript/activeX is enabled in the browser. However, a good idea is to have a page called new.htm or whatever (if you use a different name, change the name used in the markup) that has the same information on it, for non-javascript enabled browsers.