I'd like this as an option too.
I was able to change the jquery.treeview.js script to make the link that is a folder load, but then the tree is not affected (the subfolders do not open). Note that I CAN expand the subfolders by clicking the little + box. Can I extend the hitarea to include the + box AND the folder link? There's a lot attached to the click event already and I'm not sure where to make the change. Thanks for a great jquery plug! Mark On Oct 27, 4:31 pm, Cruizer <[EMAIL PROTECTED]> wrote: > Thanks for looking into this. Here is what you requested. I took > your original demo page, removed demos 1 & 3 and modified Demo 2. I > added collapsed: true and changed the persist to "location" in the > demo.js file. > > Folder 1 has been linked to index.html, Folder 2 has been linked to # > and Folder 3 has been linked to folder3.html. As you will notice, > when you click on the text for Folders 1 & 3 it will take you to the > HTML page, but it will not open the sub folders. If you click on > either side, but not the text, it will open the sub folders, but not > take you to the page. My understanding is that when you click on the > word, it will take you to the page AND open the sub folders. If I am > incorrect about this, please let me know. > > http://radtke.cgsart.com/v7.0/test/demo/index.html > > Thanks! > Brent > > On Oct 27, 3:43 am, "Jörn Zaefferer" <[EMAIL PROTECTED]> > wrote: > > > Can't find anything obvious. Could you provide a stripped down > > testpage that shows the issue but contains only a very basic tree and > > nothing else? > > > Jörn > > > On Thu, Oct 23, 2008 at 10:29 PM, Cruizer <[EMAIL PROTECTED]> wrote: > > > > I am using this menu for a clients website, and I am having some > > > problems with functionality. > > > I may be reading it wrong, but in the documentation under "persist: > > > 'location' " it states "looks within all tree nodes with link anchors > > > that match the document's current URL (location.href), and if found, > > > expands that node (including its parent nodes). " > > > > I am under the impression that when I create a URL for a menu item, > > > when clicked it will expand the sub-menu's under that menu item, as > > > well as directing you to the appropriate URL. > > > > This is where I am having the problem, it does not expand that menu > > > item to expose the sub menu's when the menu item is a URL When you > > > create the menu item as href="#" it works fine, but obviously doesn't > > > take you to the appropriate URL page. If the URL is > > > href="something.html" or href="something.php" it doesn't work. It > > > starts to expand the menu, then closes right up. > > > > To see an example of what I am speaking of, please go to the foloowing > > > website. There click on services, then Engineering. Engineering will > > > take you to a new page but the sub menu's won't show until you click > > > one of the links on the engineering page itself. > > > >http://radtke.cgsart.com/v7.0/index.php > > > > I thought this might have been a problem related to Persist: > > > "location" but when I removed that from the .js, the problem still > > > existed. > > > > Thanks!- Hide quoted text - > > > - Show quoted text -