Changeset 9134 for extensions/stripped/js
- Timestamp:
- Feb 9, 2011, 9:17:48 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/stripped/js/scripts-tpp.js
r8183 r9134 51 51 icon_gmaps.text(text_gmaps.text()); 52 52 icon_gmaps.css("text-align","right"); 53 icon_gmaps.wrapAll('<li>'); 53 54 } 54 55 … … 57 58 var tab_loaded=0; 58 59 var tab_height=[]; 59 var delay ;60 if (options.animatedTabs) {delay = "slow";} else {delay = 0;}60 var delay=400; 61 // var delay="slow"; 61 62 var hfirst; 62 63 if (jQuery.browser.msie) {hfirst=false;} else {hfirst=true;} … … 79 80 var tab_title = jQuery(this); 80 81 tab_blocks.each(function(index2) { 81 if (index1 == index2) { 82 jQuery(this).hide("fold",{mode:"hide",size:'1'},delay, function() {tab_title.removeClass("tabSelected");});; 82 if ((index1 == index2) && (options.animatedTabs)) { 83 jQuery(this).slideUp(delay, function() {tab_title.removeClass("tabSelected");}); 84 // jQuery(this).hide("fold",{mode:"hide",size:'1'},delay, function() {tab_title.removeClass("tabSelected");});; 83 85 } else { 84 86 jQuery(this).hide(); … … 96 98 tab_blocks.each(function(index2) { 97 99 if (index1 == index2) { 98 if (old_selected_tab == -1) { 99 jQuery(this).show("fold",{horizFirst:hfirst,mode:"show",size:'1'},delay); 100 if ((old_selected_tab == -1) && (options.animatedTabs)) { 101 jQuery(this).slideDown(delay); 102 // jQuery(this).show("fold",{horizFirst:hfirst,mode:"show",size:'1'},delay); 100 103 } else { 101 104 jQuery(this).show();
Note: See TracChangeset
for help on using the changeset viewer.