Hey Jake, Thanks for the info. It helped with the fly-outs, but what I am still not able to do is emulate the functionality that you have done for that site. When you click on the link, it expands to show the sub-nav. Is this JS that you are using?
Thanks, Bruce Jake Churchill wrote: > Nav is controlled by anything with #nav. > > Here's a quick tutorial... > > When you add an id to an HTML tag, you reference it with # in the css file. > Classes get referenced with . (periods). The hierarchy of nested > tags/classes/ids is what you are concerned with. _genericNav.cfm builds an > unordered list with the top tag being <ul id="nav"> which is referenced by > #nav. Whatever you pass in to _genericNav in the "id" parameter is what is > written here, "nav" is the default. > > The flyout is usually in a hierarcy like this: > > <ul id="nav"> > <li> > <a>link</a> > <ul> (here's the sub nav) > <li> > <a>sub link</a> > </li> > </ul> > </li> > </ul> > > To change this so it never displays, you want to look for: > > #nav ul > Or > #nav li ul > (see the hierarchical path taken in both HTML and CSS?) > > Set display:none on anything you find and it'll stop it but by passing > depth=1 in the _genericNav tag, you should be immediately eliminating the > subnav. > > I'll admit, I was busy when this site was being written so I was not in > charge of all of it. There are some quirky things in the files that I sent > you. They should work fine but may not be as optimal as you'd like. > > Hope this helps. > > _____ > > Jake Churchill > Team Leader > 11204 Davenport, Ste. 100 > Omaha, NE 68154 > http://www.cfwebtools.com > 402-408-3733 x103 > > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of Bruce Sorge > Sent: Friday, December 21, 2007 11:45 AM > To: [email protected] > Subject: [farcry-dev] Re: FarCry Navigation still not working > > > Hey Jake, > Thanks, that did help get me on the right track. Now I will be the first > to admit that I am NOT a CSS guru, in fact I struggle with it on a > constant basis. Perhaps I need to get off my lazy butt and get a good > CSS book. Anyway, I have the navigation on the left but there are two > things that are bothering me. Not all of the links are stacking, some > are side by side. And I still have the menu flying out when I hover. > Would you be willing to point me to the part in the CSS that controls > the hover so that does not happen? Also, I am assuming that CSS is also > controlling the clicking of the link to expand/retract it? And finally, > none of my links even work. I am not 100% sure where this is supposed to > happen, the onclick event. > > And one more question for anyone on the list. When it comes time to > import my custom built apps into the framework, are there any good > tutorials on-line somewhere that I can read that shows me how to do this? > > Thanks everyone and have a Merry Christmas/Happy Holiday/Happy Hanukkah > or whatever you celebrate. > > Bruce > > Jake Churchill wrote: > >> I don’t recall the exact problem but based on the _genericNav.cfm file >> that you attached, this must have been where you wanted to have a side >> nav expand for the active node only. Keep in mind there is some CSS >> that goes along with this as well. Based on your header, you have the >> following structure: >> >> >> >> body #wrap #header ul#nav >> >> >> >> Make sure you create your CSS accordingly to make this work. You >> probably want to move the call to genericNav outside of your header. >> The CSS is probably pushing that back up there. >> >> >> >> Here’s an attached CSS file for the project that I used the >> genericNav.cfm file. >> >> _____ >> >> Jake Churchill >> Team Leader >> 11204 Davenport, Ste. 100 >> Omaha, NE 68154 >> http://www.cfwebtools.com >> 402-408-3733 x103 >> >> ------------------------------------------------------------------------ >> >> *From:* [email protected] >> [mailto:[EMAIL PROTECTED] *On Behalf Of *Bruce Sorge >> *Sent:* Thursday, December 20, 2007 11:17 AM >> *To:* [email protected] >> *Subject:* [farcry-dev] FarCry Navigation still not working >> >> >> >> Hello again jake, >> I had to step away from this project for a bit but now I am back at >> it. So I implemented the code you sent me and now not only is my nav >> on still on the top, none of the links work. Not sure what is going on >> here. My implementation looks like this: >> >> <cfmodule >> >> > template="/Farcry/Projects/#application.applicationname#/webskin/includes/_g > enericNav.cfm" > >> navID="#application.navid.home#" >> id="nav" >> depth="1" >> bActive="true" >> bIncludeHome="false" >> bselfInclude="true"> >> >> I also tried using this: >> <skin:buildLink objectid="#objectid#">#objectName#</skin:buildLink> >> <skin:genericNav navID="#application.navid.home#" >> id="nav" >> depth="1" >> bActive="true" >> bIncludeHome="false"> >> >> The problem is that objectName is not a vaild variable. Not sure why >> this is since when I dump qNav I see objectName in the output. I am >> attaching the _genericNav that I am using now in the hope that you can >> see what I am doing wrong. I am also attaching the dmHeader.cfm file. >> >> Thanks, >> >> Bruce >> >> >> >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.503 / Virus Database: 269.17.5/1190 - Release Date: >> 12/19/2007 7:37 PM >> >> >> >> No virus found in this outgoing message. >> Checked by AVG Free Edition. >> Version: 7.5.503 / Virus Database: 269.17.5/1190 - Release Date: >> 12/19/2007 7:37 PM >> >> >> > > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.516 / Virus Database: 269.17.5/1191 - Release Date: 12/20/2007 > 2:14 PM > > > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.5.516 / Virus Database: 269.17.5/1191 - Release Date: 12/20/2007 > 2:14 PM > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" 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/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~---
