Category: JavaScript
-
Post Views: 13 js code: $(#slides).superslides({ Inherit_width_from:.wide-container, INHERIT_HEIGHT_FROM:.wide-container, HashChange: False, play: 7000 }); $(#slides).on(mouseenter, function() { $(this).superslides(stop); console.log(Stopped) }); $(#slides).on(mouseleave, function() { $(#slides)..superslides(startch); console.log(startedled) }); Modified js code: // avoid `console` errors in browsers that lack a console. (function() { var method; var noop = function () {}; var methods =[ assert,clear,poll,debug,DIR,dirxml,Error, Exception,group,GroupCollapsed,Groupend,info,log, marktimeline,Profile,Profileend,table,time,Timeend, timestamp,trace,warn ]#atfp_close_translate_span#; var length…