HighDots Forums  

Re: floating menu problem when using tables instead of layers

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Re: floating menu problem when using tables instead of layers in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: floating menu problem when using tables instead of layers - 07-16-2003 , 12:46 PM






CBrooks:

Quote:
Currently all my templates are designed with layers, but I want to use
tables so that my site is more compatible with different browsers.
First of all, this is really an urban legend. "Layers" are compatible with
all v4+ browsers, but like any other tool, you must know how to use them.
The irony is this - if you want to support browsers lower than v4, then
you'd have to remove much of the js on which your menu system is built in
addition to removing the 'layers.' Then of course, since the menu system
you are using is built on layers anyhow.... well, you can see the tautology
here.

The problem you are having with incorporating tables into your page are due
to 2 things primarily -

1. An incredibly overly complex and unstable table structure on the page (I
find 8 rowspans and 12 colspans), including many completely empty cells
(which may in fact be shimmed by other cells in the table - I didn't look)
and many cell width/height values in those empty cells (the width/height
values are invalid HTML and are not reliable for structuring tables).

2. The menu system you are using has been invoked within a table cell, in
effect putting layers into tables - a known cause of page wonkiness -

<td valign="bottom"><script language="JavaScript"
src="new/awjsmenugold10trial.js" type="text/JavaScript">


<!-- PLEASE INSERT THESE CODES BETWEEN <BODY> ... </BODY> TAGS! -->
<!-- START Javascript Menu Builder PIXELATE 1.0 config parameters. Don't
modify these codes by yourself -->
<script type='text/javascript' src='awjsmenugold10trial.js'></script>

(don't you love these friendly menu systems?)

Quote:
How can I keep my javascript menu from defaulting to the top left of the
page? Thank you in advance for your help.
To cut to the chase, here's what I would do -

1. I'd rebuild the page in *stable* tables or positioned page elements
2. I'd use a better (MUCH better) menu system -

http://www.projectseven.com/tutorials/menuing/mcloser/index.htm

or

http://www.projectseven.com/tutorials/auto_hide/index.htm

3. I'd go to the movies.

--
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
==================

"CBrooks" <brooks_caroline (AT) yahoo (DOT) com> wrote

Quote:
Can anyone suggest a solution for the following problem:

My javascript menu keeps defaulting to the top left of the page whenever I
use tables in my design.

see http://www.dioceseofraleigh.org/aaa.html

When I use layers in my design, the javascript menu stays in position.

see http://www.dioceseofraleigh.org

Currently all my templates are designed with layers, but I want to use
tables so that my site is more compatible with different browsers.

How can I keep my javascript menu from defaulting to the top left of the
page? Thank you in advance for your help.





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.