/*CSS for two row tab bar */ /* Two Row CSS - required */ .straightBarWrapper, .straightBarMouseOverTab, .straightBarActiveTab, .straightBarNormalTab { background-repeat: repeat; } /* CSS to stretch the tabs - optional */ .straightBarWrapperInnerTable { margin: 0 auto; width: 100%; } /* min-width set to 100%/# of tabs in the top row (100%/8 = 12.5%) - optional */ .straightBarNormalTab, .straightBarActiveTab, .straightBarMouseOverTab { min-width: 12.5%; }
/*** This script will make your Nav Bar into two rows ***/ // This script will only make two rows var maxTabs = 8; // in top row // Don't change anything below var navbar = $('table.straightBarWrapperInnerTable'); if (navbar.find('td').length > maxTabs) { navbar.find('td:gt(' + (maxTabs-1) + ')') .wrapAll('<tr />').parent().appendTo( navbar ); // set to 80px (twice the background image height) navbar.parent().andSelf().height(80); }
/*** This script will make your Standard Bar into two rows ***/ // This script will only make two rows var maxTabs = 5; // in top row // Don't change anything below var navbar = $('table.TabBar'); if (navbar.find('td').length > maxTabs) { navbar.find('td:gt(' + (maxTabs-1) + ')') .wrapAll('<tr />').parent().appendTo( navbar ); }
.TabBar td { padding-top: 10px; }
Control Panel > Custom HTML & Script > Custom CSS > CSS Additions to Standard
<style type="text/css"> .tooltip, .preview, .screenshot { cursor:pointer; } #tooltip, #tooltip2, #preview, #screenshot { color:#dddddd; background:#222222; border: 1px solid #333333; padding:5px; display:none; opacity: 0.9; filter: alpha(opacity=90); text-align:left; border-radius: 1em; -moz-border-radius: 1em; -webkit-border-radius: 1em; } </style> <script src="http://www.axiomfiles.com/Files/258012/tooltip.js" type="text/javascript"></script>