DNN 7 Error when i am adding my jQuery files
Last Post 09/30/2014 10:24 AM by Joseph Craig. 4 Replies.
Author Messages
Muneeb Hassan
Nuke Newbie
Nuke Newbie
Posts:2


--
09/26/2014 9:13 AM  
Hi, Every one

Kindly help as soon as possible.

I am adding layer slider on DNN 7 but slider not working properly.
i am attaching screen shot please review and help me I'll be very thankful to you.
Joseph Craig
DNN MVP
Posts:11667


--
09/26/2014 9:45 AM  
Your screen shots didn't get posted with your question. Can you try that again?

Also:
Which version of DNN?
Which slider?
How are you adding the slider? (If this involves pasting scripts into an HTML module, make sure that the Editor is configured to permit this. By default, the editor strips out scripts. See Host, HTML Editor Configuration)

Joe Craig, Patapsco Research Group
Complete DNN Support
Muneeb Hassan
Nuke Newbie
Nuke Newbie
Posts:2


--
09/27/2014 9:56 AM  
Thanks for your Reply.. I am using DNN 07.03.02 (109) on windows 8

Its a layer slider.....

I have added the following code in my default.ascx file for adding a Layer Slider
=============================================================
 
 <dnn<img src=&#39;http://www.dnncreative.com/DesktopModules/ActiveForums/themes/blue/emoticons/biggrin.gif&#39; align="absmiddle" border="0" class="afEmoticon" />nnCssInclude ID="DnnCssInclude2" runat="server" FilePath="css/layerslider-style.css" PathNameAlias="SkinPath" Priority="7" /> 
 <dnn<img src=&#39;http://www.dnncreative.com/DesktopModules/ActiveForums/themes/blue/emoticons/biggrin.gif&#39; align="absmiddle" border="0" class="afEmoticon" />nnCssInclude ID="DnnCssInclude3" runat="server" FilePath="css/ls-fonts.css" PathNameAlias="SkinPath" Priority="7" /> 
  
 <dnn<img src=&#39;http://www.dnncreative.com/DesktopModules/ActiveForums/themes/blue/emoticons/biggrin.gif&#39; align="absmiddle" border="0" class="afEmoticon" />nnJsInclude ID="DnnJsInclude5" runat="server" FilePath="js/ls-greensock.js" PathNameAlias="SkinPath" ForceProvider="DnnFormBottomProvider" /> 
 <dnn<img src=&#39;http://www.dnncreative.com/DesktopModules/ActiveForums/themes/blue/emoticons/biggrin.gif&#39; align="absmiddle" border="0" class="afEmoticon" />nnJsInclude ID="DnnJsInclude6" runat="server" FilePath="js/ls-jquery.js" PathNameAlias="SkinPath" ForceProvider="DnnFormBottomProvider" /> 
 <dnn<img src=&#39;http://www.dnncreative.com/DesktopModules/ActiveForums/themes/blue/emoticons/biggrin.gif&#39; align="absmiddle" border="0" class="afEmoticon" />nnJsInclude ID="DnnJsInclude7" runat="server" FilePath="js/ls-js.js" PathNameAlias="SkinPath" ForceProvider="DnnFormBottomProvider" /> 
 <dnn<img src=&#39;http://www.dnncreative.com/DesktopModules/ActiveForums/themes/blue/emoticons/biggrin.gif&#39; align="absmiddle" border="0" class="afEmoticon" />nnJsInclude ID="DnnJsInclude8" runat="server" FilePath="js/ls-transitions.js" PathNameAlias="SkinPath" ForceProvider="DnnFormBottomProvider" /> 
 <dnn<img src=&#39;http://www.dnncreative.com/DesktopModules/ActiveForums/themes/blue/emoticons/biggrin.gif&#39; align="absmiddle" border="0" class="afEmoticon" />nnJsInclude ID="DnnJsInclude9" runat="server" FilePath="js/jquery/ls-jquery.js" PathNameAlias="SkinPath" ForceProvider="DnnFormBottomProvider" /> 
  
 <script type="text/javascript">var lsjQuery = jQuery;var curSkin = &#39;v5&#39;;</script> <br /> <script type="text/javascript"> lsjQuery(document).ready(function() { if(typeof lsjQuery.fn.layerSlider == "undefined") { lsShowNotice(&#39;layerslider_29&#39;,&#39;jquery&#39;); } else { lsjQuery("#layerslider_29").layerSlider({startInViewport: false, pauseOnHover: false, forceLoopNum: false, autoPlayVideos: false, skinsPath: &#39;http://kreaturamedia.com/wp-content/plugins/LayerSlider/static/skins/&#39;, skin: &#39;v5&#39;, thumbnailNavigation: &#39;hover&#39;}) } }); </script> <br />      <br />  <br />  And see the screen shot when i run on browser and check console. <br /> 

==============================================================
Muneeb Hassan
Nuke Newbie
Nuke Newbie
Posts:2


--
09/29/2014 12:45 PM  
Need Help Please.. ?
Joseph Craig
DNN MVP
Posts:11667


--
09/30/2014 10:24 AM  
Could you please repost. I tried to make your code more understandable with the CODE tags, but that seems to have made it worse.

I would also suggest that you look at the page with Chrome, open the developer tools (F12) and look at the Console window. Maybe you will see some javascript errors.

Also, are you pasting this into the Default.aspx file in the root directory? It's probably better to do that in the skin files.

Joe Craig, Patapsco Research Group
Complete DNN Support


---