|
I believe Joe is correct that you could modify the template and/or the style sheet to indent the navigation. To get drop down navigation I had to use a separate tool, unless I missed something in wdsc. Try your web diagram to identify parent and child pages. -----Original Message----- From: Joe Pluta [mailto:joepluta@xxxxxxxxxxxxxxxxx] Sent: Tuesday, November 01, 2005 10:54 AM To: 'Websphere Development Studio Client for iSeries' Subject: RE: [WDSCI-L] Navigation on web pages > From: GKelly@xxxxxxxxxxxxxxxxxx > > Thanks Michael, > I've used this before, and it does create great popup menus. Since this > is an in-house project, we don't want to spend any extra money. Do you > know if there is any way for Web Site Designer to distinguish between > parent and children links or am I out of luck? Even just a slight indent > from the side navigation would help. Maybe this is something IBM might > want to consider for the future if it can't be done currently? Actually, the navigation menus are created by "snippets", which are included as part of the template. If you look in the generated code from the template, you'll see the reference to the snippet; it will look something like this: <!-- siteedit:navbar spec="/MySite/theme/footer.html" target="sibling"--> When you open up the file footer.html, you will see a macro language that you can modify to create your own navigation widgets. There's really no documentation except for the chapter I wrote in my WDSC book, but if you take the time to bang through it, you can figure it out. Here's some insight: <!--siteedit:forEach var="item" items="${sitenav.items}"--> This is a standard forEach loop. Since it's working on sitenav.items, I know that the invocation tag used the target attribute to specify a set of web pages. <!--siteedit:choose--> This statement start a standard case construct. <!--siteedit:when test="${item.self}"--> <tr> <td class="nav-s-highlighted">${item.label}</td> </tr> <!--/siteedit:when--> Joe -- This is the Websphere Development Studio Client for iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/wdsci-l or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/wdsci-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.