How do i make layers?

message from FLADE0 on 15 Jul 2004
when a link is clicked on.. i dont want the whole page to reload... i want just
the main text area to change. how would i do this... i was told layers.. but i
dont have any idea what those are... and how to start them. and if anybody
could help me i would really appreciate it.
 
trainsimpleonline replied to FLADE0 on 16 Jul 2004
There is a free demo movie on how t do this on www.trainsimpleonline.com
 
Murray *TMM* replied to trainsimpleonline on 15 Jul 2004
What is the exact URI, please? I couldn't see it there among the three free
demos.
 
seb replied to FLADE0 on 15 Jul 2004
Layers are absolutely positioned divisions (<div>).
They are avaliable in the items library panel on top of your screen
(DMX2004).
You can drag a layer on your page in design view (not layout view). Then
you can position it anywhere and put anything in it.
You should go in code view, just to make sure that your Layer has not
been placed in anything else after you drag it on the page. Your Layer
should be on its own in the body code (i.e. NOT within any table or cell
tag).

Then, you can use the SHOW-HIDE Layer behavior to show or hide your
layer (which is the technique that will allow you to replace some
content (hide the layer) with some other content (show another layer)
anywhere in your page.

The idea is to have several hidden Layers, placed on top of each other
(superposed), and then links on your page that will show one of the
layers and hide the other ones. You give those links the show-hide
Layers behaviors.

FLADE0 wrote:
 
J Fraze replied to FLADE0 on 15 Jul 2004
Assign onClick functions to your links that show hidden layers. You can
probably figure it out by exploring the behaviors window. Make sure your
layers are not nested in tables. Give them an absolute position or use
Studio VII's Snap Layers extension.

Or you could possibly use Frames, or an IFrame to target other html sources.
Bone up first on the potential problems of using frames, though, before
commiting yourself.

And take Murray's advice.
 
Murray *TMM* replied to FLADE0 on 15 Jul 2004
If it's your intention to make an entire web site on a single page by merely
showing and hiding layers, then please STEP AWAY FROM THE KEYBOARD! 8)

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
==================
"FLADE0" <webforumsuser@macromedia.com> wrote in message
news:cd72ae$i20$1@forums.macromedia.com...
 

Archived message: How do i make layers? (Macromedia Dreamweaver Web Design)