Reputation: 11
I'm not an expert in jQuery. I have a problem: when I insert a slider the scripts that are located at the bottom no longer work.
This is the link without and with the slider.
I tried it with jqueryNoconflict, but nothing!
I see there are many problems in the Google Chrome console, can you help me?
Upvotes: 1
Views: 278
Reputation: 30993
By checking the console (for example with Firebug) there are the errors:
$(".accordion, .tabs").TabsAccordion is not a function
/uni_demo1/ (row 1338)
jQuery("video,object").maximage is not a function
jQuery('video,object').maximage('maxcover');
(nothing to output)
video.js (row 21)
a is null
...var Ah=zh(-fa,-fa,fa,fa),Bh=zh(0,0,0,0);function Ch(a,b,c){if(a=a[db](b))c=q.pow...
main.js (row 28)
"NetworkError: 404 Not Found - http://www.egocreative.it/uni_demo1/video/vid/camera.mp4"
You must:
$(document).ready
TabsAccordion
, there are no element with class accordion or tabs; seems a copy of the demo? (http://lamovo.com/support/tabs+accordion#usage)Upvotes: 0
Reputation: 2817
Fix your site, it's full of unopened tags, also create just one jQuery object per element you want to use, for example this:
$('.accordion, .tabs').TabsAccordion...
Is better like this:
$('.accordion').TabsAccordion...
$('.tabs').TabsAccordion...
Also, it seems that some of the jQuery objects that you are trying to create don't exists in the source, apearrently there is no elements with accordion
or tabs
CSS classes.
By the way, if you don't see the unopened tags, open your site in Internet Explorer and hit F12, you should see the errors i mentioned in the Console.
Upvotes: 1