Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Bootstrap Carousel Slide IssueBootstrap Carousel Slide Issue
Previous
 
Next
New Post
9/30/2014 5:39 PM
 
Chris Onyak wrote:

Also...  you don't need to reference jQuery because DNN loads it for you.  You can set the version and CDN in the Host Settings.

 Sorry, but in the latest DNN versions that is not always correct.
DNN does not load jQuery if nothing requested it if you are not logged in.
That's what the jquery skin object is for.

It will request the core to load jquery, so it will always be loaded but not twice.

 
New Post
9/30/2014 5:56 PM
 
Thanks for the quick replies. I'll look into the multiple jQuery thing. I wasn't aware of it. When I added this script to the bottom, it fixed the issue. It wasn't working in the data-interval attribute. Must be the jQuery thing...

$('.carousel').carousel({
interval: 4000,
});
 
New Post
9/30/2014 5:57 PM
 
So Timo,

Is my jQuery being loaded twice?
 
New Post
9/30/2014 6:04 PM
 
Ehh.. I guess you can also see yourself in the page source that it is loaded twice, right?
That can lead to issues in the future, as I said use the cores jquery skin object...
 
New Post
9/30/2014 6:15 PM
 
What I see in the source are the following skin object for jQuery. Nothing about this tells me it is loading twice.

src="/Resources/libraries/jQuery/01_09_01/jquery.js?cdv=23" type="text/javascript"> -- jQuery
src="/Resources/libraries/jQuery-Migrate/01_02_01/jquery-migrate.js?cdv=23" type="text/javascript"> -- jQuery migrate I believe is added by DNN for older versions of jQuery compatibility
src="/Resources/libraries/jQuery-UI/01_10_03/jquery-ui.js?cdv=23" type="text/javascript"> -- jQuery ui -- not the same as jQuery

So, it appears to me that jQuery is loading, but for some reason the Bootstrap carousel requires for me to add that script I posted above to the bottom of the page in order to work correctly. Makes no sense to me.

Not exactly sure what the core jQuery skin object is??

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Bootstrap Carousel Slide IssueBootstrap Carousel Slide Issue


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out