Welcome to WebmasterWorld Guest from 54.205.60.49

Forum Moderators: open

Message Too Old, No Replies

How to solve errors inside Flexslider WOO

   
12:33 pm on Dec 19, 2013 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



I have seen Flexslider from WOO with many errors when validated like:
SyntaxError: function statement requires a name
flexslider-min.js
uniqueID: function($clone) {
I have to use jQuery and not $
<script type="text/javascript">
jQuery(function(){
SyntaxHighlighter.all();
});

jQuery(window).load(function(){
jQuery('.flexslider').flexslider({
animation: "slide",
start: function(slider){
jQuery('body').removeClass('loading');
}
});
});
</script>

It is an error like:
ReferenceError: SyntaxHighlighter is not defined


What should I change actually to work slider?Need help.