This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > August 2004 > trouble with nested list editable region
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
trouble with nested list editable region
|
|
| kirilisa 2004-08-26, 12:18 pm |
| I am trying to make an editable region such that it is possible for someone to
create a nested list within a non-editable list. The non-editable list is part
of a template -- it is the navbar, the first level of which should not change,
but I want there to be the option for people to add a sublist under any given
list item if they want. The navbar list and the sublists are styled via CSS
such that they look like a real navbar with subitems under each menu item.
For example, say
<ul>
<li>FixedOne</li>
<li>FixedTwo</li>
<ul>
is my unchangable navbar in my template. I want the user to be able to do as
follows:
<ul>
<li>FixedOne<ul><li>UserAddedOne</li><li>UserAddedTwo</li></ul></li>
<li>FixedTwo</li>
<ul>
The reason I am using templates, incidentally, is because the main navbar
items are used on every single page on this site, and I want any changes I make
to the main navbar items to automatically be changed on every page it occurs
on. Perhaps there is a beter way to achieve my goal?
here is what I tried and it did not work -- gave me errors about the placement
of my editable region.
*********
<div id=nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="../HARVARD/training_programs.html">Training Programs</a>
<!-- TemplateBeginEditable name="subitem1" --><!-- TemplateEndEditable
-->
<li><a href="../HARVARD/initiatives.html">Initiatives</a></li>
<li><a href="cores.html">Cores</a></li>
<li><a href="../HARVARD/specimen_banking.html">Specimen Banking</a></li>
<li><a href="../HARVARD/faculty_fellows.html">Faculty &
Fellows</a></li>
<li><a href="../HARVARD/courses.html">Courses</a></li>
<li><a href="../HARVARD/resources.html">Resources</a></li>
</ul>
</div>
*********
Thanks,
Elise
| |
| Murray *TMM* 2004-08-26, 12:18 pm |
| Did you see my answer to your previous post of this question?
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
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
==================
"kirilisa" <webforumsuser@macromedia.com> wrote in message
news:cgfgtl$gkc$1@forums.macromedia.com...
>I am trying to make an editable region such that it is possible for someone
>to
> create a nested list within a non-editable list. The non-editable list is
> part
> of a template -- it is the navbar, the first level of which should not
> change,
> but I want there to be the option for people to add a sublist under any
> given
> list item if they want. The navbar list and the sublists are styled via
> CSS
> such that they look like a real navbar with subitems under each menu item.
>
> For example, say
>
> <ul>
> <li>FixedOne</li>
> <li>FixedTwo</li>
> <ul>
>
> is my unchangable navbar in my template. I want the user to be able to do
> as
> follows:
>
> <ul>
> <li>FixedOne<ul><li>UserAddedOne</li><li>UserAddedTwo</li></ul></li>
> <li>FixedTwo</li>
> <ul>
>
> The reason I am using templates, incidentally, is because the main navbar
> items are used on every single page on this site, and I want any changes I
> make
> to the main navbar items to automatically be changed on every page it
> occurs
> on. Perhaps there is a beter way to achieve my goal?
>
> here is what I tried and it did not work -- gave me errors about the
> placement
> of my editable region.
>
> *********
> <div id=nav>
> <ul>
> <li><a href="index.html">Home</a></li>
> <li><a href="../HARVARD/training_programs.html">Training
> Programs</a>
> <!-- TemplateBeginEditable name="subitem1" --><!--
> TemplateEndEditable
> -->
> <li><a href="../HARVARD/initiatives.html">Initiatives</a></li>
> <li><a href="cores.html">Cores</a></li>
> <li><a href="../HARVARD/specimen_banking.html">Specimen
> Banking</a></li>
> <li><a href="../HARVARD/faculty_fellows.html">Faculty &
> Fellows</a></li>
> <li><a href="../HARVARD/courses.html">Courses</a></li>
> <li><a href="../HARVARD/resources.html">Resources</a></li>
> </ul>
> </div>
> *********
>
> Thanks,
>
> Elise
>
| |
| kirilisa 2004-08-26, 12:19 pm |
| Heh, yes I did. Thank you.
I couldn't find my original post for some reason, so I posted again, thinking that my first post didn't go through. And now I can't find any way to erase the duplicate!
| |
| Murray *TMM* 2004-08-26, 12:19 pm |
| Don't worry - you cannot erase or modify any posts once they are made.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
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
==================
"kirilisa" <webforumsuser@macromedia.com> wrote in message
news:cgfoa3$shs$1@forums.macromedia.com...
> Heh, yes I did. Thank you.
>
> I couldn't find my original post for some reason, so I posted again,
> thinking that my first post didn't go through. And now I can't find any
> way to erase the duplicate!
|
|
|
| | Copyright 2003 - 2009 forum4designers.com Software forum Computer Hardware reviews |
|