Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
keeptheoceanclean #1
Project Seven SwapClass
Hello,
I completed and understand the project seven tutorial, SwapClass:
[url]http://projectseven.com/tutorials/navigation/swapclassmenu/index.htm[/url]
However, I'm trying to recreate the navigation menu for my own site and have a
few questions. First, the only defining characteristics I can find in the code
of their workpage.htm with regards to the ".open" and ".closed" classes are
that they either "display block" in the open class, or "display none" in the
closed class. Am I missing some aspect of defining these classes? Second, they
have their navigation menu as an unordered list in an absolutely placed div.
Will it make a difference if I try to create a working toggle menu like this
with my menu options defined as an unordered list within a table? I finally
have got my layout properly placed and would prefer not to work with layers and
divs if possible...
Thanks much for your input!
keeptheoceanclean Guest
-
how to go about a project
Here is my dilemma, I am about to start a project using ColdFusion and SQL Server 2000. Right now, there is a site does on the fly charting for... -
new project [615]
Or you can use Querix Hydra Compiler, which not only provides you with a windows front end (Phoenix) it also allows you to add in your own ActiveX... -
Project Help
Hi I am fairly new to Director but would to get started, I am using Version 8 and would like suggestions on a project to start on. Any... -
project using ASP
Hi All, You may be interested in my Head Injuries Project, which I doing as part of my MSc project at the University of Gloucestershire and would... -
Large PHP Project... Need Project Manager
Hey, I've got a nice CMS (in quite stable 2.0 form) that I need a Project Manager who can just deal with some bugs/answer questions for the next... -
Al Sparber - PVII #2
Re: Project Seven SwapClass
"keeptheoceanclean" <webforumsuser@macromedia.com> wrote in message
news:fllsck$ns7$1@forums.macromedia.com...The open and closed classes are what the SwapClass script toggles between.> Hello,
>
> I completed and understand the project seven tutorial, SwapClass:
> [url]http://projectseven.com/tutorials/navigation/swapclassmenu/index.htm[/url]
>
> However, I'm trying to recreate the navigation menu for my own site and
> have a
> few questions. First, the only defining characteristics I can find in the
> code
> of their workpage.htm with regards to the ".open" and ".closed" classes
> are
> that they either "display block" in the open class, or "display none" in
> the
> closed class. Am I missing some aspect of defining these classes? Second,
> they
> have their navigation menu as an unordered list in an absolutely placed
> div.
> Will it make a difference if I try to create a working toggle menu like
> this
> with my menu options defined as an unordered list within a table? I
> finally
> have got my layout properly placed and would prefer not to work with
> layers and
> divs if possible...
No other properties are necessary for those classes. The menu is styled by
using descendant selectors keyed off either the .open, .closed, or both
classes, such as:
1) .closed a, .open a
2) .closed a:hover
3) .open a:hover
The menu can go inside any type of containing element, including a table
cell.
You might want to post on our newsgroups. If you are not familiar with
newsgroups, they work similarly to email and are much, much faster than web
forums. You can find instructions here on how to set up a news reader using
Windows Mail, Outlook Express, Entourage, or Thunderbird:
[url]http://projectseven.com/support/index.htm[/url]
--
Al Sparber - PVII
[url]http://www.projectseven.com[/url]
Extending Dreamweaver - Nav Systems | Galleries | Widgets
Authors: "42nd Street: Mastering the Art of CSS Design"
Al Sparber - PVII Guest
-
keeptheoceanclean #3
Re: Project Seven SwapClass
Hi Al,
Thanks much for your input. I will start posting to the newsgroup! The
difficulty I was having with the toggling open and closed classes was as simple
as redefining .open to .open ul in my .css file. I do have a question however
if you or some other knowledgeable folk is online...I have created a working
toggle navigation menu but in one of the drop down menus, would like to take it
one step further. Is it possible to toggle a list within a list? I can't quite
get it to work properly. The trigger link of the nested link closes the entire
section rather than opening and closing its 4 elements. Please see code below.
Many sincere thanks! Krista
</li>
<li class="open" id="surveys"><a href="#" class="sidebar"
onclick="P7_swapClass(1,'surveys','open','closed', 'li')">SURVEYS</a>
<ul class="nav">
[LI]<a href="#">RC Surveys</a></li>
[LI]<a href="#">Long Term Monitoring</a></li>
<li class="open" id="isldsch"><a href="#"
onclick="P7_swapClass(1,'isldsch','open','closed', 'li')">Schedule</a>
<ul class="nav">
[LI]<a href="#">Oahu</a></li>
[LI]<a href="#">Kauai</a></li>
[LI]<a href="#">Maui</a></li>
[LI]<a href="#">Big Island</a></li>
[/BULLET]
</li>
<li class="open" id="isldata"><a href="#"
onclick="P7_swapClass(1,'isldata','open','closed', 'li')">Data</a>
<ul class="nav">
[LI]<a href="#">Oahu</a></li>
[LI]<a href="#">Kauai</a></li>
[LI]<a href="#">Maui</a></li>
[LI]<a href="#">Big Island</a></li>
[/BULLET]
</li>
[/BULLET]
</li>
keeptheoceanclean Guest
-
Al Sparber - PVII #4
Re: Project Seven SwapClass
"keeptheoceanclean" <webforumsuser@macromedia.com> wrote in message
news:fm6hru$9kg$1@forums.macromedia.com...Hi Krista,> Hi Al,
>
> Thanks much for your input. I will start posting to the newsgroup! The
> difficulty I was having with the toggling open and closed classes was as
> simple
> as redefining .open to .open ul in my .css file. I do have a question
> however
> if you or some other knowledgeable folk is online...I have created a
> working
> toggle navigation menu but in one of the drop down menus, would like to
> take it
> one step further. Is it possible to toggle a list within a list? I can't
> quite
> get it to work properly.
I'm afraid SwapClass was not written to toggle nested lists.
--
Al Sparber - PVII
[url]http://www.projectseven.com[/url]
Extending Dreamweaver - Nav Systems | Galleries | Widgets
Authors: "42nd Street: Mastering the Art of CSS Design"
Al Sparber - PVII Guest
-
keeptheoceanclean #5
Re: Project Seven SwapClass
Okay...thank you for the input! I will go a different route...
Aloha~K
keeptheoceanclean Guest



Reply With Quote

