[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Feature request: better default navigation experience
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Feature request: better default navigation experience
- From: "Larry Barber" <lebarber (at) gmail.com>
- Date: Thu, 31 Aug 2006 15:27:37 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=guhsHQdezpZd1HbQ8jSsVvmPezFsGWl2IkvcT1gd3q79oYh/RV1ExYnyqpf7POB2JdhLCAXjfQaB8gumsxhic0U92NSLOrLTnRfh3qdwsy76xOWBiFVsRyNIHIYJaQI4VzC++W+XTlb3OvDVeuwKu8t3aGwwrmc/0C13gHVJczo=
- References: <6ED0E611018A7242BC600A0C9D3FAE9F085B8AE4@usplm234.amer.corp.eds.com> <BAY118-F337D632126EBA734B27C1E9F3F0@phx.gbl>
Its pretty easy to put something like this in to the menuing system that is
included with hobbit. You just have to modify the
server/www/menu/menu_items.js file. Here's a sample from mine:
var MENU_ITEMS = [
['Views', null, null,
['Main view', '/hobbit/bb.html', null,
['APHIS', '/hobbit/APHIS', null,
['AQAS', '/hobbit/APHIS/AQAS'],
['ALBES', '/hobbit/APHIS/ALBES'],
['EPermits', '/hobbit/APHIS/EPERMITS'],
['NAIS', '/hobbit/APHIS/NAIS'],
['PCIT', '/hobbit/APHIS/PCIT'],
],
['CEE', '/hobbit/CEE'],
['CENS', '/hobbit/CENS'],
['CMITS', '/hobbit/CMITS'],
['CPAIS', '/hobbit/CPAIS'],
['Dept. of Labor', '/hobbit/DOL'],
['Environment', '/hobbit/ENV'],
['ESS', '/hobbit/ESS', null,
['Active Directory', '/hobbit/ESS/ACT_DIR'],
['AMS', '/hobbit/ESS/AMS',null,
['PreProduction', '/hobbit/ESS/AMS/AMS_PREPROD'],
['Production', '/hobbit/ESS/AMS/AMS_PROD'],
.... and on and on for a few hundred lines.
Thanks,
Larry Barber
On 8/31/06, T.J. Yang <tj_yang (at) hotmail.com> wrote:
Following is an example borrow from ebay.
I can navigate different categories easily under powersports by clicking
"PowerSports"
Listed in category: eBay Motors > Powersports > Scooters & Mopeds >
Honda
Is it possible that bbgen can generate URLs at top menu like above
"PowerSports" line ?
so page,subpage,subagent tags in bb-hosts file can form a direct link
from
any pages on hobbit server.
tj
Reference:
http://cgi.ebay.com/ebaymotors/ws/eBayISAPI.dll?ViewItem&rd=1,1&item=300017045343&ih=020&sspagename=STRK%3AMEWA%3AIT
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk