DNN Nav Custom Attribute
Last Post 04/14/2011 4:03 PM by Joseph Craig. 7 Replies.
Author Messages
Primus
Nuke Pro
Nuke Pro
Posts:97


--
03/21/2011 10:20 AM  
Hi,

Can anyone give a tutorial contains some information about the Custom attributes in The DNN Nav?!

Best Regards,
Pingle2009
Nuke Master
Nuke Master
Posts:186


--
03/21/2011 11:37 AM  
Try issue 47.
Joseph Craig
DNN MVP
Posts:11667


--
03/21/2011 7:14 PM  
The DotNetNuke documentation for all of the skin objects, and that includes NAV, is at http://www.dotnetnuke.com/LinkClick...Bk6Ppro%3d

Joe Craig, Patapsco Research Group
Complete DNN Support
Heather Hugh-Jones (formerly GM)
Nuke Active Member
Nuke Active Member
Posts:31


--
04/13/2011 1:40 PM  
I found a listing of these custom attributes on a blog. I didn't see these listed in the document link you listed. Are there any other custom attributes for DNN Nav Menu 2.0?

value="Expand" name="AnimationType"
value="Sine" name="EasingType"
value="In" name="EasingDirection"
value="1" name="AnimationLength"
value="10" name="AnimationInterval"
value="UnorderedList" name="RenderMode"
Joseph Craig
DNN MVP
Posts:11667


--
04/13/2011 7:33 PM  
I'm not sure that this is definitive, but I found this at http://webcontrols.dotnetnuke.com/d...detail.txt


	added new custom attributes to nav skin object
          <!-- AnimationType: Type of Animation to use (None (default), Slide, Expand, Diagonal,ReverseDiagonal) -->
          <!-- EasingType: Type of Easing to use (Bounce, Circ, Cubic, Expo (default), Quad, Quint, Quart, Sine) -->
          <!-- EasingDirection: Direction of animation (In, Out (default), InOut) -->
          <!-- AnimationLength: the amount of time entire animation takes to run (seconds) -->
          <!-- AnimationInterval: the amount of time to wait between frame refreshes (milliseconds) -->
          <!-- RenderMode: Mode to render menu in (Normal (default), NoTables (obsolete), UnorderedList, DownLevel) -->
          <!-- SubMenuOrientation: Orientation of submenus (Horizontal, Vertical (default)) -->
        <dnn:NAV runat="server" id="dnnNAV" ProviderName="DNNMenuNavigationProvider" CSSControl="main_dnnmenu_bar" CSSContainerRoot="main_dnnmenu_container" CSSNode="main_dnnmenu_item" CSSNodeRoot="main_dnnmenu_rootitem" CSSIcon="main_dnnmenu_icon" CSSContainerSub="main_dnnmenu_submenu" CSSBreak="main_dnnmenu_break" CSSNodeHover="main_dnnmenu_itemhover" NodeLeftHTMLBreadCrumbRoot="<img alt="*" BORDER="0" src="breadcrumb.gif"/>">
            <CustomAttributes>
              <dnn:CustomAttribute Name="AnimationType" Value="Slide" />
              <dnn:CustomAttribute Name="EasingType" Value="Bounce" />
              <dnn:CustomAttribute Name="EasingDirection" Value="Out" />
              <dnn:CustomAttribute Name="AnimationLength" Value="1" />
              <dnn:CustomAttribute Name="AnimationInterval" Value="10" />
              <dnn:CustomAttribute Name="RenderMode" Value="Normal" />
            </CustomAttributes>
        </dnn:NAV>


Joe Craig, Patapsco Research Group
Complete DNN Support
Joseph Craig
DNN MVP
Posts:11667


--
04/13/2011 7:37 PM  

Joe Craig, Patapsco Research Group
Complete DNN Support
Heather Hugh-Jones (formerly GM)
Nuke Active Member
Nuke Active Member
Posts:31


--
04/14/2011 7:36 AM  
Thanks for the links. Those are the exact links I found the custom attribute list. Maybe the links will help others out.

I am surprised there isn't a list documented on the DotNetNuke site. Maybe I am missing something. I have been struggling to understand the custom attributes because there is little documentation out there. Then when I found the list on those websites, I had a better understanding of the DNN NAV 2.0 custom features.

Joseph Craig
DNN MVP
Posts:11667


--
04/14/2011 4:03 PM  
For the Custom Attributes, I think that is all that there is. There is a page in the DotNetNuke Wiki that describes how one can add additional custom attributes.

The Skin Object documentation that is available on the DotNetNuke site does a pretty good job of documention all of the standard attributes.

I recommend, though, that you switch to the DDR Menu from DNNGarden.com. It is compatible with the DNN Nav menu. It also has a number of additional options and modes that Mark has documented reasonably well. And, he is pretty good at answering questions and providing help.

Switching to DDR gets you a leg up as DotNetNuke 6 nears. The DDR Menu is the standard menu in DotNetNuke 6. And, Mark is adding quite a bit to the menu including additional templating methods for those who want to develop menus with custom look and feel.

Joe Craig, Patapsco Research Group
Complete DNN Support


---