Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
multima #1
timeline layer within another layer
I try to work with css divs instead of table cells. I make a "wrapper" div that
centers all my content in the browser window. Within that div I want some
layers to display in a timeline. But Dreamweaver doesn't accept that. I think
the main problem is: the "wrapper" div to center the content is a
relative-positioned div. All Dreamweaver layers behave as absolute-positioned
divs. Normally that would'nt be a problem. Perhaps the Timeline doesn't accept
these layers because they reside within a relative div?
If someone can help?
Thanks,
multima
multima Guest
-
Help with Layer Positioning and TimeLine
Hello all, here is my situation: I am trying to do a simple Layer animation for my home page... 4 Layers startoff at the right of my webpage(table)... -
activeX axShockwave.loadMovie(Layer, url) ... what is layer for ?
Hi All, I am working with the shockwave activeX controll loading flash movies into my c# applications. ( I am using falsh mx 2004 Pro) The movies... -
Bottom layer spoils its upper layer
In my bottom layer, I have a gradient fill in gray color. On top of this layer, I have some paragraphs in blue color. I want the bottom layer has no... -
PE2: Selecting and painting a layer having a Hidden Power Tools' layer mask?
I am making a collage using PE2. I have a background layer (solid color) and then each photo is on its own layer with a layer mask used from the... -
on Director : 3D layer + flash (SWF) layer (or with other layer type)
Thankx for all it's works :) Coool -
TexasDaisy #2
Re: timeline layer within another layer
I am having this same issue today. It is very frustrating! Sorry I don't have any answers. Good luck!
TexasDaisy Guest
-
Murray *ACE* #3
Re: timeline layer within another layer
> I think
Definitely not.> the main problem is: the "wrapper" div to center the content is a
> relative-positioned div.
Can you show me your page that is not working?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"multima" <webforumsuser@macromedia.com> wrote in message
news:dvpcv8$48c$1@forums.macromedia.com...>I try to work with css divs instead of table cells. I make a "wrapper" div
>that
> centers all my content in the browser window. Within that div I want some
> layers to display in a timeline. But Dreamweaver doesn't accept that. I
> think
> the main problem is: the "wrapper" div to center the content is a
> relative-positioned div. All Dreamweaver layers behave as
> absolute-positioned
> divs. Normally that would'nt be a problem. Perhaps the Timeline doesn't
> accept
> these layers because they reside within a relative div?
> If someone can help?
> Thanks,
> multima
>
Murray *ACE* Guest
-
TexasDaisy #4
Re: timeline layer within another layer
Here is the page I am having trouble with [url]http://www.loop-d.net/index_test.htm[/url]
and the CSS for the wrapper:
div.container {
position: relative;
text-align: left;
margin-left: auto;
margin-right: auto;
width: 786px;
height: 464px;
font-size: 12px;
font-variant: small-caps;
}
TexasDaisy Guest
-
multima #5
Re: timeline layer within another layer
Here is my code (I stripped the timeline JavaScript because the code would be
too long). I will be very happy if you can help me with this issue.
The timeline works if the two layers (class = vakje) are out of the "wrapper"
container.
If necessary, I will upload the file to the net.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>doedag</title>
<!-- <link href="../css/liquid.css" rel="stylesheet" type="text/css"> -->
<style type="text/css">
#centreer {
height: 420px;
width: 760px;
margin-top: 20px;
padding: 0px;
margin-right: auto;
margin-left: auto;
border: 1px solid #666666;
position: relative;
}
body {
background: url(../beelden/achtergrond/achtergrondverloop1.gif) repeat-y;
margin: 0px;
padding: 0px;
font-family: Arial, Helvetica, sans-serif;
}
.titelbalk {
height: 18px;
width: 100%;
font-style: italic;
display: block;
background: #FF0000 repeat-x;
position: absolute;
top: 40px;
}
h2 {
font-size: 24px;
margin: -0.2em 0px 0px;
position: absolute;
top: 0px;
display: block;
text-align: left;
left: 50px;
/*left: 150px*/
}
/*titelbalk = 18px + top = 40px = fotokes op 58px van de bovenkant */
.Zindex {
z-index: 5;
position: absolute;
left: 150px;
}
.fotoke {
background: #CCCCCC;
height: 100px;
width: 150px;
top: 58px;
position: absolute;
}
#fotokeLinks{right: 302px}
#fotokeMidden{right: 151px}
#fotokeRechts{right: 0px;}
.titelbalkGroen {
height: 18px;
width: 100%;
font-style: italic;
display: block;
background: #99CC00 repeat-x;
position: absolute;
top: 40px;
color: #000066;
}
.txt {
color: #000033;
position: absolute;
left: 150px;
height: 200;
width: 440px;
background: #FFFF66;
top: 180px;
}
.vakje {
position:absolute; top:300px; width:150px; height:100px; z-index:10;
}
</style>
</head>
<body onLoad="MM_timelinePlay('Timeline1')">
<div id="centreer">
<div class="titelbalkGroen" id="titelbalk">
<h2 id="titeltekst">Tweede</h2>
</div>
<div class="Zindex" id="logo"><img
src="../beelden/openDoeInfoDag/titeltjes/doedaglogo-enkel-S-schuin.gif"></div>
<div id="fotokeRechts" class="fotoke"><img
src="../beelden/fotoLinks/activ_AEG/sportdag2.jpg" width="150"
height="100"></div>
<div id="fotokeMidden" class="fotoke"><img
src="../beelden/fotoLinks/activ_AEG/doedag.jpg" width="150" height="100"></div>
<div id="fotokeLinks" class="fotoke" style="left: 310px"><img
src="../beelden/fotoLinks/activ_AEG/brussel.jpg" width="150" height="100"></div>
<div class="txt" id="uitlegtxt">
<p>Hier komt de uitlegtekst.</p>
</div>
<div id="Layer1" class="vakje" style="left:-107px;background-color: #993366;
"></div>
<div id="vakje2" class="vakje" style="left:151px;background-color: #996666;
"></div>
</div>
</body>
</html>
multima Guest
-
multima #6
Re: timeline layer within another layer
You can find my tryout page at:
[url]http://www.tsmmechelen.be/publimap/doedag2.htm[/url]
Thanks,
multima
multima Guest
-
Murray *ACE* #7
Re: timeline layer within another layer
There is no call to a timeline on that page. This means that although you
have timeline CODE on the page, there is nothing there that would make that
code run.
What is it you are expecting the page/timeline to do?
By the way, you will never get good rendering of this page with layers
inside of table cells....
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"TexasDaisy" <webforumsuser@macromedia.com> wrote in message
news:dvphih$acd$1@forums.macromedia.com...> Here is the page I am having trouble with
> [url]http://www.loop-d.net/index_test.htm[/url]
> and the CSS for the wrapper:
> div.container {
> position: relative;
> text-align: left;
> margin-left: auto;
> margin-right: auto;
> width: 786px;
> height: 464px;
> font-size: 12px;
> font-variant: small-caps;
> }
>
Murray *ACE* Guest
-
Murray *ACE* #8
Re: timeline layer within another layer
You do not have a complete timeline specified on this page, which throws a
javascript error when it loads -
<body onLoad="MM_timelinePlay('Timeline1')">
This line is calling the timeline javascript function - MM_timelinePlay, but
that javascript function is not defined in the head of the page. It is in
that timeline function's javascript that the timeline itself is defined.
This is all missing from the page....
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"multima" <webforumsuser@macromedia.com> wrote in message
news:dvpiqk$bv8$1@forums.macromedia.com...> You can find my tryout page at:
> [url]http://www.tsmmechelen.be/publimap/doedag2.htm[/url]
>
> Thanks,
> multima
Murray *ACE* Guest
-
TexasDaisy #9
Re: timeline layer within another layer
The problem I am having is when I try to create a timeline with Dreamweaver. I
select a layer and am unable to add it to the timeline. I get an error that
says the layer has the same NAME or ID as another layer and it cannot add it.
I did give each layer its own unique name but I still get the error. My goal it
to create a slideshow with layers and a timeline.
TexasDaisy Guest
-
multima #10
Re: timeline layer within another layer
the online page at:
[url]http://www.tsmmechelen.be/publimap/doedag2.htm[/url]
has a JavaScript in the head. The JavaScript is the one generated by the
Dreamweaver timeline behaviour.
But it only works when the two layers (class= vakje) are outside the wrapper
container, not inside.
I have not used a single table or table cell. I only used divs.
?
multima Guest
-
multima #11
Re: timeline layer within another layer
I get the same comments about ID or name, but all my divs have also a unique id.
I also just want a little moving slideshow to enter the page.
It is indeed frustrating.
multima Guest
-
Murray *ACE* #12
Re: timeline layer within another layer
If the page you posted a link to is what you are working with, your timeline
code is NOT there. This is not a DW problem, it's an operator problem....
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"multima" <webforumsuser@macromedia.com> wrote in message
news:dvplm1$fm1$1@forums.macromedia.com...>I get the same comments about ID or name, but all my divs have also a
>unique id.
> I also just want a little moving slideshow to enter the page.
> It is indeed frustrating.
Murray *ACE* Guest
-
Murray *ACE* #13
Re: timeline layer within another layer
Please show me the page BEFORE you add the timeline, and tell me the steps
to take to get this error message.
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"TexasDaisy" <webforumsuser@macromedia.com> wrote in message
news:dvplcf$fbi$1@forums.macromedia.com...> The problem I am having is when I try to create a timeline with
> Dreamweaver. I
> select a layer and am unable to add it to the timeline. I get an error
> that
> says the layer has the same NAME or ID as another layer and it cannot add
> it.
> I did give each layer its own unique name but I still get the error. My
> goal it
> to create a slideshow with layers and a timeline.
>
Murray *ACE* Guest
-
multima #14
Re: timeline layer within another layer
Please, check my testpage, before the moving divs where inside the wrapper
container. This worked in Explorer, in Firefox and in Safari, as well on Mac as
on WindowsXP.
[url]http://www.tsmmechelen.be/publimap/doedag2time.htm[/url]
Thank you for the support.
multima Guest
-
TexasDaisy #15
Re: timeline layer within another layer
Ok, here is the page w/o a timeline: [url]http://www.loop-d.net/index_test.htm[/url]
I select Layer5 and in the main menu I click Modify>Timeline>Add object to
timeline
Then I get the error message that says the layer has the same NAME or ID as
another layer and it cannot add it.
TexasDaisy Guest
-
Murray *ACE* #16
Re: timeline layer within another layer
This page works because it has the required javascript in the head of the
page (MM_timelinePlay, and MM_initTimeline). The other page failed because
it did not have that required javascript in the head. Look at the code - it
won't bite you. Compare the two pages....
It has nothing to do with whether the layers are inside another layer....
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"multima" <webforumsuser@macromedia.com> wrote in message
news:dvpvpf$scg$1@forums.macromedia.com...> Please, check my testpage, before the moving divs where inside the wrapper
> container. This worked in Explorer, in Firefox and in Safari, as well on
> Mac as
> on WindowsXP.
>
> [url]http://www.tsmmechelen.be/publimap/doedag2time.htm[/url]
>
> Thank you for the support.
>
Murray *ACE* Guest
-
Murray *ACE* #17
Re: timeline layer within another layer
Did I already mention about having layers in table cells? That's a bad
practice that will get you into trouble.
When I follow your instructions I do not get that error - the layer is added
to the timeline.
Which DW are you using?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"TexasDaisy" <webforumsuser@macromedia.com> wrote in message
news:dvq05j$ssm$1@forums.macromedia.com...> Ok, here is the page w/o a timeline: [url]http://www.loop-d.net/index_test.htm[/url]
>
> I select Layer5 and in the main menu I click Modify>Timeline>Add object to
> timeline
>
> Then I get the error message that says the layer has the same NAME or ID
> as
> another layer and it cannot add it.
>
Murray *ACE* Guest
-
TexasDaisy #18
Re: timeline layer within another layer
I am using Dreamweaver MX 2004 7.0.1
The only reason I am using a table is to have the content center horizontally
and vertically. If there is another way to achieve this please let me know.
Thanks!
TexasDaisy Guest
-
Murray *ACE* #19
Re: timeline layer within another layer
The table is not the problem (although vertical centering is on any page
with a valid and complete doctype). It's the layers INSIDE of the table,
e.g.,
<td><div style="position:absolute"...
This is a big problem - you will never get your page to render properly
cross-browser/platform with that.
Layers should never be placed directly into table cells. Either have them
flat on the page (i.e., not inside any other container like a table), or
wrap them in a relatively positioned div inside the table cell, e.g.,
<td><div style="position:relative;..."><div style="position:absolute;..."
To read about vertical positioning with tables go here -
[url]http://www.apptools.com/examples/tableheight.php[/url]
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"TexasDaisy" <webforumsuser@macromedia.com> wrote in message
news:dvrjmf$43d$1@forums.macromedia.com...>I am using Dreamweaver MX 2004 7.0.1
>
> The only reason I am using a table is to have the content center
> horizontally
> and vertically. If there is another way to achieve this please let me
> know.
> Thanks!
>
Murray *ACE* Guest
-
TexasDaisy #20
Re: timeline layer within another layer
<td align="center" valign="middle">
<div class="container">
<div id="Layer6" style="position:absolute;...
Actually the first div I have is relative. I have a style set up called
div.container that gives it relative positioning. Here is the style from my
style sheet:
div.container {
position: relative;
text-align: left;
margin-left: auto;
margin-right: auto;
width: 786px;
height: 464px;
font-size: 12px;
font-variant: small-caps;
}
TexasDaisy Guest



Reply With Quote

