Enable accordion over JS not work
Hi,
on ZemNet - Internet a IT - Internet I have accordion. If I do enable it over data-toggle, it work well, but if I want to enable it over Javascript, I have an error in JS console Code:
[09:15:49.838] TypeError: $(...).collapse is not a function @ http://new.zemnet.sk/domacnosti/internet#cennik-internet:228Thanks for your help Viktor Are you sure your are posting in product assigned forum?: Yes What is your CMS version?: Joomla 2.5 MySQL Version: 5.x PHP version: 5.x Link to installation: ZemNet - Internet a IT - Info Have you edited any files? If yes tell us which ones.: No Is this personal or client website?: Personal |
Modal window not work correctly, because when I reload the page, modal window is opened, but I can't close it, only if I open it with clicking on first "Vzdialen� pomoc" icon, window is modalized, and then I can close it.
|
Quote:
|
Via data attributes works all, but over javascript not work neither tabs.
|
Hello zemnet.
That is jbootstrap default accordion. Bootstrap Javascript | Shortcodes Your jbootstrap should be on. Thank you. |
jbootstrap is enabled. if i will remove data-toggle attribute, accordion not work,
over javascript I can't start with collapse() function. Now is site without data attribute and accordion not work. |
Can you help me, I need javascript control of accordion (or tabs) for my site for customization. Tabs over javascript not working too.
|
and where did you include the js and how?
|
you get collapse is not a function because you are not wrapping the script inside jquery no conflict so it defaults to mootools and mootools has no collapse
jQuery.noConflict() | jQuery API Documentation |
Code:
jQuery.noConflict(); |
| All times are GMT -4. The time now is 04:42 PM. |
Powered by vBulletin®
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.