//setup scroll pane jQuery(document).ready(function() { //Sets up the tooltip functionality jQuery("#main_page_roster a").tooltip({ x_offset:-20, y_offset:60 }); //This fixes the scrollbar in IE try { document.execCommand('BackgroundImageCache', false, true); } catch(e) { } init_scroll_pane("#pane1"); jQuery("#roster_loading_text").hide(); jQuery("#roster_loading").hide(function() { jQuery("#roster_loading_text").hide(); }); }); //This is the function to call the scroll pane setup function init_scroll_pane(pane_id) { jQuery(pane_id).jScrollPane({ showArrows:true, scrollbarWidth:15, arrowSize:10 }); } //This is the callback handler for the ajax artist roster resorting callback = { startRequest:function() { jQuery().tooltip_close(); jQuery("#roster_loading").show(); jQuery("#roster_loading_text").show(); }, handleSuccess:function(my_data) { jQuery("#roster_loading_text").hide(); jQuery("#roster_loading").hide(); jQuery("#main_page_roster_name").html(jQuery("#status").children("[@selected]").text()); //jQuery("#pane1").html(jQuery(my_data.responseText).find("#pane1").html()).innerHTML = my_data.responseText;; //document.getElementById("pane1").innerHTML = my_data.responseText; jQuery("#pane1").html(my_data.responseText); init_scroll_pane("#pane1"); jQuery(".holder a").tooltip({ x_offset:-20, y_offset:60 }); } } //This was for the more and less buttons on the artist bio function display_more() { document.getElementById("bio_close").style.display = ""; document.getElementById("bio_last").style.display = ""; document.getElementById("bio_more").style.display = "none"; document.getElementById("dots").style.display = "none"; return false; } function display_less() { document.getElementById("bio_close").style.display = "none"; document.getElementById("bio_last").style.display = "none"; document.getElementById("bio_more").style.display = ""; document.getElementById("dots").style.display = ""; return false; }