Follow me @MarkXA

Subscribe

Donate

Forum

 
ForumForumSupportSupportDNN menuDNN menuAfter installing module, trying to get jQuery function to workAfter installing module, trying to get jQuery function to work
Previous Previous
 
Next Next
New Post
 18/06/2010 21:55
 

I've got the module installed for the menu and it's great - lets me right click on drop downs, creates easy urls, etc. But I was messing around with the default DNN5 skin trying to do the drop down effects, and put in the following code to no effect (beyond moving to a DRR menu):

<div class="menu_style">
<dnn:NAV runat="server" id="dnnNAV" ProviderName="DDRMenuNavigationProvider" IndicateChildren="false" ControlOrientation="Horizontal" CSSControl="mainMenu" />
<CustomAttributes>
<dnn:CustomAttribute Name="effect" Value="puff"/>
<dnn:CustomAttribute Name="effectOptions" Value="{percent:200}"/>
<dnn:CustomAttribute Name="effectSpeed" Value="slow"/>
</CustomAttributes>
</dnn:nav>

JQuery is enabled in control settings - version hosted on Google - I'm sure I'm missing something dumb fairly new to jquery usage in DNN.

New Post
 29/06/2010 22:12
 

It looks like it should work! Do you have a public URL that shows it not working, or can you email the skin to the support email?

New Post
 29/06/2010 23:02
 

www.faspsych.com/dotnetnuke

New Post
 30/06/2010 09:12
 

Got it! (I think ...) On the dnn:NAV line, you need to close it with > not />, so the whole line should be

<dnn:NAV runat="server" id="dnnNAV" ProviderName="DDRMenuNavigationProvider" IndicateChildren="false" ControlOrientation="Horizontal" CSSControl="mainMenu">

The /> indicates the end of the control, so the CustomAttributes section just gets dumped into the page as HTML and is ignored.

New Post
 30/06/2010 18:08
 

I changed that without any luck. I can post the entire skin code if it helps, it's basically a modified default skin.

Previous Previous
 
Next Next
ForumForumSupportSupportDNN menuDNN menuAfter installing module, trying to get jQuery function to workAfter installing module, trying to get jQuery function to work

Register / login

Please note, to post on this forum you will need to register or log in.