HighDots Forums  

show/hide and page layout

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss show/hide and page layout in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
A.Translator
 
Posts: n/a

Default show/hide and page layout - 01-01-2004 , 05:51 AM






Yesterday (last year!) I asked if it was really absolutely forbidden to put
a layer in a table. It was. A deadly sin.

I was asking because of all the wonderful dropdown, flyout and what have
you menu's based on showing/hiding layers.
I finally got a nice menu working, but if I cannot use it in a table, I may
as well throw it out.

So when does one use such a menu?
I am experimenting with css-layout, but am not good enough to build pages
with it. I could use layers all around, but find tables easier.

Can someone tell me the best way to incorporate a menu based on layers in a
page?
I would be very grateful.
--
Groet, Adriana.
[when replying by e-mail, remember: grootpoot is Dutch for bigfoot]

Reply With Quote
  #2  
Old   
Osgood
 
Posts: n/a

Default Re: show/hide and page layout - 01-01-2004 , 06:07 AM







Quote:
Can someone tell me the best way to incorporate a menu based on layers in a
page?
I would be very grateful.

www.projectseven.com.

Look under the tutorial tab for simple and positioned menus.



Reply With Quote
  #3  
Old   
A.Translator
 
Posts: n/a

Default Re: show/hide and page layout - 01-01-2004 , 06:41 AM



On Thu, 01 Jan 2004 11:07:57 +0000, Osgood wrote:

Quote:
www.projectseven.com.

Look under the tutorial tab for simple and positioned menus.
I have done both tutorials - hence my question.
In fact, the menu I constructed is based on the positioned menu technique
described by PVII. My problem is: how do I add content?
In the tut about Simple Menu's it says: "We recommend using one or two
Layers for your main content to maintain the clean, simple, and elegant
look of the page. A table can be used, if that's your desire." But I
daren't for I do not know how to do that without getting a layer inside
that table.

--
Groet, Adriana.
[when replying by e-mail, remember: grootpoot is Dutch for bigfoot]


Reply With Quote
  #4  
Old   
Julian Roberts
 
Posts: n/a

Default Re: show/hide and page layout - 01-01-2004 , 06:53 AM



If you've got positioned layers, you can add tables outside of the layer.

--
Jules
http://www.charon.co.uk/charoncart
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004




Reply With Quote
  #5  
Old   
Osgood
 
Posts: n/a

Default Re: show/hide and page layout - 01-01-2004 , 07:01 AM



A.Translator wrote:

Quote:
I have done both tutorials - hence my question.
In fact, the menu I constructed is based on the positioned menu technique
described by PVII. My problem is: how do I add content?
Humm well you just type the content into the layer? You might have a
table in a layer, so you insert the content in the table/cell, which is
inside the layer.

A table can be used, if that's your desire." But I
Quote:
daren't for I do not know how to do that without getting a layer inside
that table.

Im guessing you are using the Insert>Layer method. Well dont do that
because, yes, it is easy to unintentionally insert a layer inside a
table. Instead click on the layer icon on the "insert" pallette and draw
the layer on the page. This will position it outside of any tables on
the page.

If you do put a layer in a table and want to move it out of the table
well just click on it, go to code view, cut what is highlighted, from
the opening <div> tag to the closing <div> tag, and paste it directly
after the opening <body> tag.

Is that any clearer for you to be able to do waht you want?



Reply With Quote
  #6  
Old   
A.Translator
 
Posts: n/a

Default Re: show/hide and page layout - 01-01-2004 , 07:19 AM



On Thu, 01 Jan 2004 12:01:52 +0000, Osgood wrote:

Quote:
Is that any clearer for you to be able to do waht you want?
A bit, yes, thank you for taking so much trouble over something I should be
able to figure out myself (believe me, I tried).
I fear I have a very basic misunderstanding of the relationship between
table and layer. I was trying to avoid putting a layer in a table (I am not
inserting them through insert > layer: PVII warns against that) and thought
my layers containing the menu's would be 'in' the content table when the
menu is expanded. But perhaps that is not meant when one talks about 'in a
table'. Is that where I go wrong? Would it be alright, in other words, for
the expanded menu to overlap a content table?


--
Groet, Adriana.
[when replying by e-mail, remember: grootpoot is Dutch for bigfoot]


Reply With Quote
  #7  
Old   
Osgood
 
Posts: n/a

Default Re: show/hide and page layout - 01-01-2004 , 07:28 AM



A.Translator wrote:

I was trying to avoid putting a layer in a table
and thought my layers containing the menu's would be 'in' the content
table when the
menu is expanded.

They appear to be in the table but they are actually sitting on top of
it, outside the table.

The way to see if a layer is inside the table, if you cant tell, is to
select the table and cut it from the page. If the layer is still present
then everything is ok.


But perhaps that is not meant when one talks about 'in a
Quote:
table'. Is that where I go wrong? Would it be alright, in other words, for
the expanded menu to overlap a content table?
I think thats where you are possibly misunderstanding. If the menu
overlaps the table it doesnt matter. As explained above it only appears
to be 'in' the table.




Reply With Quote
  #8  
Old   
A.Translator
 
Posts: n/a

Default Re: show/hide and page layout - 01-01-2004 , 07:38 AM



On Thu, 01 Jan 2004 12:28:48 +0000, Osgood wrote:

Quote:
If the menu
overlaps the table it doesnt matter. As explained above it only appears
to be 'in' the table.
Now I do understand. Thank you for your patience.
--
Groet, Adriana.
[when replying by e-mail, remember: grootpoot is Dutch for bigfoot]


Reply With Quote
  #9  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: show/hide and page layout - 01-01-2004 , 07:40 AM



Adriana:

Just get in the habit of looking at your code.

<table>
<tr>
<td><div id="foo" style="position:absolute....>...</div></td>

(IN the table)

<div id="foo" style="position:absolute....>...</div>
<table>
<tr>
<td>

(NOT IN the table)

--
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.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"A.Translator" <hadrianus (AT) grootpoot (DOT) com> wrote

Quote:
On Thu, 01 Jan 2004 12:28:48 +0000, Osgood wrote:

If the menu
overlaps the table it doesnt matter. As explained above it only appears
to be 'in' the table.

Now I do understand. Thank you for your patience.
--
Groet, Adriana.
[when replying by e-mail, remember: grootpoot is Dutch for bigfoot]



Reply With Quote
  #10  
Old   
Osgood
 
Posts: n/a

Default Re: show/hide and page layout - 01-01-2004 , 07:40 AM



A.Translator wrote:

Quote:
Now I do understand. Thank you for your patience.

Youre welcome.



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 - 2008, Jelsoft Enterprises Ltd.