$(document).ready(function(){ //Create Quick Menu: qm_create(0,false,200,500,false,false,false,false,false); //Apply Genie Effect to Browse Bar genieEffect($('div.genie a')); //Determine the index of the panel that should be displayed in the browseBar var panel = null; if(url_title) { var target = "#genieThumb-"+url_title; var container = $(target).parent().get(0); $("#browseBar li.slide").each(function(i){ if(this == container) { panel = i+1; panel = "#panel-" + panel; window.location.hash = panel; return false; } }); } var browseBarWidth = ($('#browseBar li.slide').length + 2) * $('#browseBar li.slide').width(); $('#browseBar ul').css('width',browseBarWidth+'px'); $('#browseBar').anythingSlider({ easing: "linear", // Anything other than "linear" or "swing" requires the easing plugin autoPlay: false, // This turns off the entire FUNCTIONALY, not just if it starts running or not startStopped: false, // If autoPlay is on, this can force it to start stopped delay: 3000, // How long between slide transitions in AutoPlay mode animationTime: 600, // How long the slide transition takes hashTags: true, // Should links change the hashtag in the URL? buildNavigation: false, // If true, builds and list of anchor links to link to each slide pauseOnHover: true, // If true, and autoPlay is enabled, the show will pause on hover startText: "Start", // Start text stopText: "Stop", // Stop text navigationFormatter: null // Details at the top of the file on this use (advanced use) }); }); function genieEffect(el) { $(el).hover( function() { $(this).animate({ width: "75", height: "75" },{ queue: false, duration: 100 }); }, function() { $(this).animate({ width: "59", height: "59" },{ queue: false, duration: 100 }); }); }