Instead of:
Code:
jQuery(document).ready(function($){
or:
Code:
jQuery(window).bind("load", function($){
Use:
Code:
jQuery(window).load(function(){var $ = jQuery;
As in:
Code:
setup:function(config){
//Disable Step Gallery scrollbars ASAP dynamically (enabled for sake of users with JS disabled)
document.write('<style type="text/css">\n#'+config.galleryid+'{overflow: hidden;}\n</style>')
jQuery(window).load(function(){var $ = jQuery;
config.$gallery=$('#'+config.galleryid)
stepcarousel.init($, config)
}) //end document.ready
jQuery(window).bind('unload', function(){ //clean up on page unload
stepcarousel.resetsettings($, config)
if (config.panelbehavior.persist)
stepcarousel.setCookie(config.galleryid+"persist", config.currentpanel)
jQuery.each(config, function(ai, oi){
oi=null
})
config=null
})
}
The browser cache may need to be cleared and/or the page refreshed to see changes.
Bookmarks