FW: [thelist] JSP Help
Ani Phelan
aphelan at ajava.biz
Tue Jun 8 14:57:48 CDT 2004
(Oops, sorry, sent before I was finished...)
I don't want the nav to behave differently; I just want to be able to
open additional navs, such as Wireless and Security, without the Routers
nav staying open. With the code as it is, if I write the treenodeshow
class to Wireless, then when I open Wireless, Routers will stay open...
because treenodeshow is written to routers any time the directory is not
in Switches... so, a hypothetical
<%
if (onPage.startsWith("/cisco/systems/switches/"))
OR (onPage.startsWith("/cisco/systems/wireless/"))
{
%>
<%
}
else
{
%>
class="treenodeshow"
<%
}
%>
In the Routers <li class=""> would do the trick... except that that ^ of
course, isn't valid...
Ani
ani phelan
aphelan at ajava.biz
p: 800.786.2885
f. 714.774.7881
-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Hassan Schroeder
Sent: Tuesday, June 08, 2004 11:41 AM
To: thelist at lists.evolt.org
Subject: Re: [thelist] JSP Help
Ani Phelan wrote:
> But I need to add the new section, Wireless, and I'm not sure how
> to write this so that it will write treenodeshow to the appropriate
> section & default to Routers when I'm dealing with more than two
> sections... hope that makes sense
Actually, I'm afraid I'm missing it -- how do you want your example
page (http://www.ajavanetworking.com) to behave differently than it
does now?
--
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
dream. code.
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
More information about the thelist
mailing list