I bought (didn\’t code myself due to lack of education blah, blah, blah) a jQuery image slider/navigation plug in. it works fine, and I have adjusted the images and CSS fittingly.
Problem is that when the slider is working properly, I cannot use a show/hide onClick event such as $(\'#someId\').toggle();.
Using trial and error I have found that commenting a few lines of js on the html page allows the show/hide functions to work, but then the slider is broken,.
The js that I comment out comes after the slider images(plug-in).
The JS code in questin is:
<script type=\"text/javascript\">
var $jx = jQuery.noConflict();
$jx(\'.slidedeck\').slidedeck();
</script>
When comment it out with html, then I can use onclick=\"$(\'#someId\').toggle();\" without a problem. But again, then the slider plugin is very broken and splattered all over the page.
As it is noticeable, and stated, I know nearly nothing.
Can anyone help me understand when this is happening?
Thanks
/Brian





Rating:
The post javascript – jQuery plugin conflicting with other basic show/hide functions appeared first on Javascript ASK.
via Javascript ASK http://javascriptask.phpfogapp.com/javascript-jquery-plugin-conflicting-with-other-basic-showhide-functions.html
No comments:
Post a Comment