Hi Kristy did you also configure the Navigation Area?
Browse Navigation/project
Action Menu/Navigation Area
On Thu, Nov 20, 2008 at 10:41 AM, Kristy <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I've spent an insane amount of time trying to get isActive and
> isCurrent to work on my site -- and it just doesn't. I followed the
> instructions in the RedDot Community article and had to make a few
> modifications for my particular situation. Basically, the nav I'm
> looking to get is this:
>
> Item 1 (not active)
> Item 1 subnav 1 (not active)
> Item 1 subnav 2 (not active)
>
> Item 2 (ACTIVE)
> Item 2 subnav 1 (not active)
> Item 2 subnav 2 (ACTIVE)
>
>
> This is in my foundation template:
>
> <!IoRangePreExecute>
> <!IoRangeList>
> <% If isCurrent("<%list_LeftNav%>") Then %>
> <div class="leftnav_element_selected">
> <A href="<%anc_Main%>">Current: <b><
> %hdl_Headline%></b></A><%con_leftnav_selected%>
> </div>
> <% ElseIf isActive("<%list_LeftNav%>") Then %>
> <div class="leftnav_element_selected">
> <A href="<%anc_Main%>">Active: <b><
> %hdl_Headline%></b></A><%con_leftnav_selected%>
> </div>
> <% Else %>
> <div class="leftnav_element">
> <A href="<%anc_Main%>">None: <%hdl_Headline%></
> A><%con_leftnav_nonselected%>
> </div>
> <% end if %>
> <!/IoRangeList>
> <!/IoRangePreExecute>
>
> The templates for con_leftnav_selected and con_leftnav_nonselected are
> exactly the same for now, but eventually I want to also have
> preexecute script in there to determine which item I'm currently on.
>
> I'm really stumped with this. I can't believe I'm the first person to
> need nested isActive isCurrent functionality... and for now I an't
> even get the main level to display correctly.
>
> Kristy
> >
>
--
[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~----------~----~----~----~------~----~------~--~---