jQuery Load Order in DNN
Last Post 07/09/2010 6:54 AM by Joseph Craig. 1 Replies.
Author Messages
SixfootStudio
Nuke Ace
Nuke Ace
Posts:47


--
07/09/2010 4:52 AM  
Hi Everyone, I am trying to install a lightbox implementation for DNN. This is the first time I am the new DNN 5.x jQuery option and if I add the lightbox.js file to my skin.xml, parse the skins and reload my page, I can see that DNN renders the lightbox.js file before it loads the jQuery.js file which I believe is the reason I am having problems getting the lightbox to work. Can someone please tell me if this is the case and how do I go about changing that load order? I know I can hack it by switching off DNN's version of jQuery and loading my own but that defeats the purpose of having jQuery come with DNN. Thanks!
Joseph Craig
DNN MVP
Posts:11667


--
07/09/2010 6:54 AM  
I'd recommend that you ask the developers that one over on the DotNetNuke forum. You're much more likely to get an informed answer.

But, have you tried tracing the code using some of the browser developer tools to see what is executed first?

Joe Craig, Patapsco Research Group
Complete DNN Support


---