includes and missing id='s

N

NumbersMan

I purchased a template and the designer is unable to answer a problem having
to do with includes.

The portion of the include .htm file in question looks like this. Note the
id="menu"
</div>
<div id="topmenu">
<ul>
<li id="menu1"><a href="../index.htm">Home</a></li>
<li id="menu2"><a href="../gettingstarted.htm">Get Started</a></li>
<li id="menu3"><a href="../template1.htm">Template 1</a></li>
<li id="menu4"><a href="../template2.htm">Template 2</a></li>
<li id="menu5"><a href="../template3.htm">Template 3</a></li>
</ul>
</div>
</div>

The section of the index.htm from the includes looks like this. Note the
missing id='s
<div id="topmenu">
<ul>
<li><a href="index.htm">Home</a></li>
<li><a href="gettingstarted.htm">Get Started</a></li>
<li><a href="template1.htm">Template 1</a></li>
<li><a href="template2.htm">Template 2</a></li>
<li><a href="template3.htm">Template 3</a></li>
</ul>
</div>

Any thoughts on why the index.htm drops the id='s

Thanks
 
N

NumbersMan

Yes, there is a menu at the top if the index.htm page that uses tabs. The
problem that arises from what I mentioned is that the tab of the current page
is not highlighted in orange as it is suppose to be. You can see the problem
at http://www.insurancejobs.com/c/

Thanks for your interest in this.
 
S

Steve Easton

Ok,

I looked at the style sheet used by the page and I don't see id="menu1, id="menu2 etc
anywhere in the style sheet.

Also, you need a javascript script to identify which page is actually open in the browser,
and then use the script to swap
the style applied to id="menu1, id="menu2 etc.


Why the include drops id="menu1, id="menu2 etc escapes me at the moment.

Try using a class="menu1, class="menu2" etc instead of the id tag.

hth

--
Steve Easton
Microsoft MVP FrontPage
FP Cleaner
http://www.95isalive.com/fixes/fpclean.htm
Hit Me FP
http://www.95isalive.com/fixes/HitMeFP.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top