This content has been marked as final.
Show 6 replies
-
1. Re: L-shaped Div and Template loading
Newsgroup_User Nov 1, 2008 1:26 PM (in response to luadke)L-shaped anything? No.
Wrap? Si - try CSS float.
> perhaps a bit of a newbie question but here goes. On the same page as
> linked
> above I would like it so that the links on the left and the flash banner
> on
> the top only have to load once when browsing the entire site.
Can't do it. They will reload on every page, but the good news is that they
reload from the local browser cache, not from the server.
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================
"blackpaint.co.uk" <webforumsuser@macromedia.com> wrote in message
news:geidct$44r$1@forums.macromedia.com...
> Hi,
>
> Question 1.
>
> I have only just really started using Divs today and was wondering if
> there is
> a way to either have and L-shaped cell or an alternative way to wrap text
> around a personalised shape. The page to look at is
> http://http://nilreb.com/luke.html
>
> Question 2.
>
> perhaps a bit of a newbie question but here goes. On the same page as
> linked
> above I would like it so that the links on the left and the flash banner
> on
> the top only have to load once when browsing the entire site. I know how
> to
> make a template and use editable regions (to a degree) - if that helps for
> an
> answer.
>
> Thanks for any help,
>
>
>
-
2. Re: L-shaped Div and Template loading
Newsgroup_User Nov 1, 2008 1:55 PM (in response to luadke)"blackpaint.co.uk" <webforumsuser@macromedia.com> wrote in message
news:geidct$44r$1@forums.macromedia.com...
> Hi,
>
> Question 1.
>
> I have only just really started using Divs today and was wondering if
> there is
> a way to either have and L-shaped cell or an alternative way to wrap text
> around a personalised shape. The page to look at is
> http://http://nilreb.com/luke.html
The following should help, but I think you should try to learn a little bit
about CSS first as your rules in there look really messy.
So remove *all* the following declarations from your #ChangingContent {}
rules:
display:table-row;
height:279px;
left:248px;
overflow:visible;
position:absolute;
width:733px;
Now add the following to your #Navigation rule:
float:left;
and remove the following from that same rule:
height:160px;
The idea is to keep things simple. This article may help you understand the
basics of CSS "positioning".
http://tjkdesign.com/articles/one_html_markup_many_css_layouts.asp
> Question 2.
>
> perhaps a bit of a newbie question but here goes. On the same page as
> linked
> above I would like it so that the links on the left and the flash banner
> on
> the top only have to load once when browsing the entire site. I know how
> to
> make a template and use editable regions (to a degree) - if that helps for
> an
> answer.
Do you mean using a commen code snippet across the site or do you mean
having static elements in the browser?
You can achieve the former using a DW template or SSI (Google Server Side
Includes), but the latter would require you to use frames.
My advice would be to use SSI and to saty away from using frames unless you
have a good reason to use them and you know what you're doing.
Good luck
--
Thierry
http://www.TJKDesign.com/go/?0 | Articles and Tutorials
http://divahtml.com/products/scripts_dreamweaver_extensions.php | Extensions
that keep your markup clean
http://www.fourlevel.com/ | CSS Menus, Gallery, Tab Panels, etc
--
-
3. Re: L-shaped Div and Template loading
luadke Nov 1, 2008 2:52 PM (in response to luadke)Thanks for the response,
I have done as you said Thierry with the CSS Rules - but can you tell me where I am supposed to write now? Or what I have to do to get there? you can see on the same link how the writing is working in #ChangingContent
In terms of Question 2.
The only real reason I want part of the page only to load once is so that my flash video will only play once and will stay on the end frame even if the user navigates around the site. I have used iframes a little but do not know how to do this, can you help?
Thanks again -
4. Re: L-shaped Div and Template loading
Newsgroup_User Nov 1, 2008 3:15 PM (in response to luadke)"blackpaint.co.uk" <webforumsuser@macromedia.com> wrote in message
news:geij3n$b63$1@forums.macromedia.com...
> Thanks for the response,
>
> I have done as you said Thierry with the CSS Rules - but can you tell me
> where
> I am supposed to write now? Or what I have to do to get there? you can see
> on
> the same link how the writing is working in #ChangingContent
Did you have that DIV inside #ChangingContent before?
You don't need that, get rid of it.
Add this to your #ChangingContent {} rule:
text-align: left;
And did you have "position:absolute" in the #Navigation {} rule?
You don't need that either, REMOVE it.
Now type your text inside your #ChangingContent container and everything
should be OK.
> In terms of Question 2.
> The only real reason I want part of the page only to load once is so that
> my
> flash video will only play once and will stay on the end frame even if the
> user
> navigates around the site. I have used iframes a little but do not know
> how to
> do this, can you help?
A iframe won't help here as it would load with its parent document.
What you'd need is to are frames (not iframe). As I said before, my advice
would be to not go this route, but if you really want to, then you may go
through this article:
http://tjkdesign.com/articles/frames/default.asp
I don't do Flash, but my guess is that it should be possible to check for a
cookie or session variable to make sure the video only plays once. That
would be much better than going the frame route.
--
Thierry
http://www.TJKDesign.com/go/?0 | Articles and Tutorials
http://divahtml.com/products/scripts_dreamweaver_extensions.php | Extensions
that keep your markup clean
http://www.fourlevel.com/ | CSS Menus, Gallery, Tab Panels, etc
--
-
5. Re: L-shaped Div and Template loading
luadke Nov 1, 2008 6:08 PM (in response to luadke)Hello again,
I'll drop question 2 - will just live with that prob for now.
On the Divs and positioning - I did what you said, but then realised that the #ChangingContent div was not doing anything (along with 3 other divs I had). So now the wrapping is working but I would like to have the navigation section outside of my editable region since I am working with templates - do you know how? . Thanks and sorry if it has just got messier -
6. Re: L-shaped Div and Template loading
Newsgroup_User Nov 1, 2008 6:18 PM (in response to luadke)"blackpaint.co.uk" <webforumsuser@macromedia.com> wrote in message
news:geiuin$p4n$1@forums.macromedia.com...
> Hello again,
>
> I'll drop question 2 - will just live with that prob for now.
>
> On the Divs and positioning - I did what you said, but then realised that
> the
> #ChangingContent div was not doing anything (along with 3 other divs I
> had).
> So now the wrapping is working but I would like to have the navigation
> section
> outside of my editable region since I am working with templates - do you
> know
> how? . Thanks and sorry if it has just got messier
I don't really know about DW template feature as I never use it, so Murray
may better help you with this.
As a side note, you could leave the nav inside your editable section, but as
a SSI
--
Thierry
http://www.TJKDesign.com/go/?0 | Articles and Tutorials
http://divahtml.com/products/scripts_dreamweaver_extensions.php | Extensions
that keep your markup clean
http://www.fourlevel.com/ | CSS Menus, Gallery, Tab Panels, etc
--


