Kit:
I thought so.
This will be a problem -
<td><font color="#33CC00" size="2" face="Verdana, Arial, Helvetica,
sans-serif">
<script language="JavaScript1.2">mmLoadMenus();</script>
You are causing the menus (which are layer based) to be built inside a
table, in effect putting a layer into a table, and that's bad code.
Since the menu's layers are all absoutely positioned, they do not rely on
the flow of the code on the page for their appearance on the screen, so you
should just clip that code from the page, and paste it back below the <body>
tag, i.e., change this -
<td><font color="#33CC00" size="2" face="Verdana, Arial, Helvetica,
sans-serif">
<script language="JavaScript1.2">mmLoadMenus();</script>
to this -
<td><font color="#33CC00" size="2" face="Verdana, Arial, Helvetica,
sans-serif">
and this -
<body>
to this -
<body>
<script language="JavaScript1.2">mmLoadMenus();</script>
Now that we have these problems solved, you do know about all the other
problems with these FW menus, right?
They will add at least 35K of code overhead to the first page, as well as a
large dynamic write to each page containing the menus.
You should also know that they link to your files using document relative
links that are hardcoded in your javacript - not only are these links
invisible to the DW link management routines (i.e., when you move a page in
the site, you break the link), but worse, they are also invisible to the
search engine spiders, and accessability (508) requirements. You can solve
the first of these link problems by
converting your links to ROOT RELATIVE links, but you still have no link
management capability through DW should you later rename or move any linked
file. The only way to solve the second problem is to make sure that your
pages have alternate, HTML-based navigation links on them.
I am not fond of these menus (as you have no doubt guessed) and feel that it
is important to know what you are getting into before you may devote much
time to them.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.DreamweaverFAQ.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"kitmui" <webforumsuser (AT) macromedia (DOT) com> wrote
Quote:
Thanks, I have set the table border , cellpad and cellspace to 0. And
the nav is in its own table. Here I have attached the code. Could you
|
please take a look and give me some suggestions?