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 
HYPERLINK "http://www.cfwebtools.com"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
 
  

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

/* =THE BIG GUYS */
html {margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}
body {color:#0B3668;font:83%/1.5 arial,tahoma,verdana,sans-serif}

/* =LINKS */
a,a:link,a:link,a:link,a:hover {background:transparent;text-decoration:underline;cursor:pointer} 
a:link {color:#E17000} 
a:visited {color:#E17000} 
a:hover,a:active {color:#006BE4} 

/* =GENERAL */
form {margin:0px 0px 0px 0px;}
input {font-family: arial,tahoma,verdana,sans-serif;margin: 2px 0px 0px 0px;}
input.f-submit {padding: 1px 3px;font-weight:bold;margin-bottom:1px}
img {border:none} 
hr {margin: 1em 0;background:#E3E8EE;height:1px;color:#E3E8EE}
.clear {clear:both;position:relative;font-size:0px;height:0px;line-height:0px} 

/* =HEADINGS */
h1, h2, h3, h4, h5, h6 {letter-spacing: 1px;font-family: arial,verdana,sans-serif;margin: 0em 0 .3em;color:#000;border-bottom: 1px solid #eee;padding-bottom: .1em}
h1 {font-size: 196%}
h2 {font-size: 136%}
h3 {font-size: 126%; border:0px; color:#666666; font-weight:bold;}
h4 {font-size: 116%; border:0px; color:#666666; font-weight:bold;}
h5 {font-size: 106%; border:0px; color:#666666; font-weight:bold;}
h6 {font-size: 96%}

table.fpTable {
	border:1px solid #cccccc;
	clear:both;
	width:93%;
	margin-left:20px;
}
table.fpTable tr.fpTableHeader td{
	border-bottom:1px solid #cccccc;	
}
table.fpTable td {
	padding:3px;
	color:#333333;	
}
table.fpTable td a, table.fpTable td a:active, table.fpTable td a:link, table.fpTable td a:hover {
	text-decoration:none;	
	color:#336699;
	background:none;
}

/* =TYPOGRAPHY */
p {margin: 0 0 1.5em}
ul, ol {margin-top:0}

/* =LAYOUT =HEADER */
	#header {
		height:219px; 
		margin:10px 10px 0px 10px; 
	}
	
	* html #header object {
		position:relative;
		top:-3px;
	}
	*:first-child+html #header object {
		position:relative;
		top:-3px;
	}
	
	/* address div */
	#header div.address {
		color:white; 
		width:100%; 
		position:relative; 
		top:-208px; 
		left:310px;
	}
	* html #header div.address {
		top:-212px;
		left:312px; 
	}
	*:first-child+html #header div.address {
		top:-212px;
		left:310px;
	}

	#header h1 {margin: 0 20px 10px;padding:0;color:#999;border:none}

	#nav {width: 170px; padding: 0;margin: 0;list-style: none;line-height: 1;}
	#nav ul {width: 170px;list-style: none;line-height: 1}
	#nav a, #nav a:link, #nav a:visited, #nav a:hover, #nav a:active {text-decoration:none;cursor:pointer;}
	#nav a:link {color:#fff} 
	#nav a:visited {color:#fff} 
	#nav a:hover,a:active {background-color:#336699;} 	
	#nav a {display: block;background:#999999;padding: 4px 10px;position: relative;}
	#nav li {border-top: 1px dashed #CCCCCC;margin: 0;}
	
	
	/* IE fix for javascript popup link */
	#nav a.hov {
		background-color:#336699;
	}
	
	
	/* drop shadow */
	#shadow {color:#666666;	position:absolute; left: 21px; top:8px; }
	#text {color:#FFFFFF;position: relative; top:0; left:0;}
	#shadow1 {color:#666666;position:absolute; left:35px; top:8px; }
	/* IE hack */
	* html #shadow {color:#666666;position:absolute; left:11px; top:8px; }
	* html #shadow1 {color:#666666;position:absolute; left:11px; top:8px; }
	#text1 {color:#FFFFFF;position: relative; top:0; left:0;}
	
	#nav li li {float: left;border-bottom:none;}
	#nav li ul {background: #999999;font-weight:normal;width: 10em;}
	#nav li.active ul li a{background: #999999;font-weight:normal;position: relative;}	
	#nav li:hover ul, #nav li.sfhover ul {left: auto}
	#nav li.active a {background:#336699;}
	#nav li.subItem {border:none;}
	#nav li.activeSubItem {border:none;}
	#nav li.active {border:none;}
	#nav li.subItem a{background: #999999; padding-left:1.8em;}	
	#nav li.subItem a:hover{background: #336699;}	
	#nav li.activeSubItem a{background: #336699; padding-left:1.8em;}	
	#nav li.activeSubItem a:hover{background: #336699;}	
	#nav li.active li {border-bottom:none;}
	
	#nav li a img {
		position:relative;
		top:3px;
		margin-right:3px;
	}

	#sideNav {
		width:170px; 
		float:left;
	}

	
	#sideNavGlobalContainer {
		margin:20px 10px 0px 10px;
		color:#336699;
	}
	#sideNavGlobalContainer a, #sideNavGlobalContainer a:link, #sideNavGlobalContainer a:visited, #sideNavGlobalContainer a:active, #sideNavGlobalContainer a:hover {
		color:#336699;
		text-decoration:none;
	}
	#sideNavGlobalContainer p a {
		float:right;
	}
	
	/* hide from IE mac \*/
	#nav li {width:auto}
	/* end hiding from IE5 mac */
	
	#search { float:right; width:18em;padding: 0 0 0 0; margin:0 0 0 0;font-size:86%}
	#search input {width:10em;margin: 0px 5px 0px 0px;}
	#search input.f-submit {width:auto;font-size:96%}
	#search h5 {color:#fff;margin:0;padding:0;border:none}
	
	/* hide from IE mac \*/
	#search {width:auto}
	/* end hiding from IE5 mac */

/* =LAYOUT GENERAL */
#contentWrap {background: #fff url("../wsimages/content_wrap_bg.gif") repeat-x 0 0;border-top: 1px solid #fff;}
#content {margin: 0 0;}

/* =LAYOUT TYPE B */
#typeB #contentWrap {
		background: #fff url("../wsimages/content_wrap_dial_2col.gif") repeat-y 0 0;
		margin: auto;
		width: 799px;
		text-align: left;
	}
* html #typeB #contentWrap {
	position:relative;
	top:-70px;
}
#typeB #utility {
	float:left;
	width:165px;
	margin-top:0px;
}
#typeB #content {
	width:614px;
	height:375px;
	float:right;
	margin:15px 0px 0px 15px;
	color:#333333;
	text-spacing:0px;
}
#typeB #content img.border {
	border:1px solid #cccccc;	
}
#typeB #content p {
	margin:0px 0px 10px 0px;
	line-height:15px;	
	text-align:left;
}
#typeB #content td {
	margin:0px 0px 10px 0px;
	line-height:15px;	
	text-align:left;
}
br {
	margin:0px;
	line-height:10px;	
}
#typeB #content a, #typeB #content a:link, #typeB #content a:visited, #typeB #content a:hover {
	color:#336699 !important;
	text-decoration:none;	
}
#typeB #VT_content {
	width:350px;
	margin:0px 0px 0px -6px;
}
#typeB #VT_content embed {
	margin-left:35px;
}
* html #typeB #VT_content embed {
	margin-left:0px;	
}

/* tinyMCE Styles */
.textHeading, p.textHeading {
	font-size:116%; 
	border:0px; 
	margin-bottom:15px !important;
	color:#999999 !important; 
	font-weight:bold !important; 
	font-style:italic;	
}

.textHeadingHome, p.textHeadingHome {
	font-size:116%; 
	border:0px; 
	margin-bottom:15px !important;
	color:#336699 !important; 
	font-weight:bold; 
	font-style:italic;	
}

.textBold, p.textBold {
	font-weight:bold !important;
	color:#666666 !important;	
}

.textIndent, p.textIndent {
	margin-left:20px;
	width:200px;;	
}

/* =LAYOUT TYPE C */
#typeC #contentWrap {background: #fff url("../wsimages/content_wrap_2_bg.gif") repeat-y 0 0}
#typeC #utility {float:left;width:165px;margin-top:0px}
#typeC #content {float:left;margin: 0 0 0 20px;width:40%;display:inline}
#typeC #contentSecondary {width:32%;float:right;margin: 0 20px 0 0;display:inline;margin-top:34px}

/* =SECONDARY NAVIGATION */
#navSecondary, #navSecondary li {list-style: none;margin:0;padding:0}
#navSecondary {padding-top:0}
#navSecondary a {line-height:1.8;padding: 5px 0 5px 31px;background:transparent url("../wsimages/2nd_nav_bg.gif") no-repeat 5px 2px;font: bold 86% arial;display:block;width:130px}
#navSecondary a, #navSecondary a:link, #navSecondary a:visited, #navSecondary a:hover, #navSecondary a:active {text-decoration:none;cursor:pointer} 
#navSecondary a:link {color:#999} 
#navSecondary a:visited {color:#999} 
#navSecondary a:hover, #navSecondary a:active, #navSecondary li.active a:link, #navSecondary li.active a:visited {color:#E17000;background:transparent url("../wsimages/2nd_nav_bg.gif") no-repeat 5px -48px} 
#navSecondary li {border-top: 1px solid #fff;border-bottom: 1px solid #ccc}

/* =SECONDARY NAVIGATION - 2nd TIER */
#navSecondary ul {margin: -4px 0 1em 32px}
#navSecondary li.active li a, #navSecondary li.active li a:link, #navSecondary li.active li a:visited {line-height:1.5;background:transparent;padding:0;font-weight:normal;width:auto;display:inline;color:#000}
#navSecondary li.active li a:hover, #navSecondary li.active li a:active {background:transparent;color: #E17000}
#navSecondary li.active li {border: none}

#navSecondary li.active li.active a:link, 
#navSecondary li.active li.active a:visited, 
#navSecondary li.active li.active a:hover, 
#navSecondary li.active li.active a:active {font-weight:bold}

/* =SECONDARY NAVIGATION - 3rd TIER */
#navSecondary ul ul {margin: 0 0 1em 15px}
#navSecondary li.active li.active li a:link, 
#navSecondary li.active li.active li a:visited, 
#navSecondary li.active li.active li a:hover, 
#navSecondary li.active li.active li a:active {font-weight:normal}

/* =LAYOUT =FOOTER */
#footer {
	width:799px;
	background: #fff url("../wsimages/content_wrap_bg.gif") repeat-x 0 0;
	border-top: 1px solid #ccc;
	padding: 10px 0px 20px 0px;
	font-size:86%;
	color:#999;
	text-align:center;
	clear:both;
}
#footer p {margin:0}


/* Footer Nav Stuff */
#footer a, #footer a:visited, #footer a:active, #footer a:hover {
	text-decoration:none;
	color:#999;
}

Reply via email to