2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Merged from McMasterReports branch

This commit is contained in:
azammitdcarf
2010-01-14 07:45:37 +00:00
parent 18dbb16138
commit d1b139d315
1884 changed files with 555891 additions and 364768 deletions

View File

@@ -1,92 +0,0 @@
/*
bright: rgb(234,242,255);
normal: rgb(120,172,255);
dark: rgb(0,66,174);
*/
.dynamic-tab-pane-control.tab-pane {
position: relative;
width: 100%;
}
.dynamic-tab-pane-control .tab-row .tab {
font-family: Verdana, Helvetica, Arial;
font-size: 12px;
cursor: Default;
display: inline;
margin: 1px -5px 1px 5px;
float: left;
padding: 3px 6px 3px 6px;
background: rgb(234,242,255);
border: 1px solid;
border-color: rgb(210,210,210);
border-left: 1;
border-bottom: 0;
border-top: 1;
cursor: hand;
cursor: pointer;
z-index: 1;
position: relative;
top: 0;
}
.dynamic-tab-pane-control .tab-row .tab.selected {
border: 1px solid rgb(120,172,255);
border-bottom: 0;
z-index: 3;
padding: 2px 6px 5px 6px;
margin: 1px -6px -2px 0px;
top: -2px;
background: white;
}
.dynamic-tab-pane-control .tab-row .tab a {
font-family: Verdana, Helvetica, Arial;
font-size: 13px;
color: #5670A1;
text-decoration: none;
cursor: hand;
cursor: pointer;
}
.dynamic-tab-pane-control .tab-row .hover a {
color: #328639;
text-decoration: underline;
}
.dynamic-tab-pane-control .tab-row .tab.selected a {
font-weight: bold;
color: #328639;
}
.dynamic-tab-pane-control .tab-page {
clear: both;
border: 1px solid #888888;
background: #F8F8FF;
z-index: 2;
position: relative;
top: -2px;
color: Black;
font-family: Verdana, Helvetica, Arial;
font-size: 13px;
padding: 10px;
padding-bottom: 30px;
}
.dynamic-tab-pane-control .tab-row {
z-index: 1;
white-space: nowrap;
/* background: #EEEEEE; */
height: 1.85em;
width: 100%;
}

View File

@@ -87,13 +87,12 @@ function WebFXTabPane( el, bUseCookie ) {
this.selectedIndex = tabIndex;
// loop through child nodes and add them
var cs = el.childNodes;
var n;
for (var i = 0; i < cs.length; i++) {
if (cs[i].nodeType == 1 && cs[i].className == "tab-page") {
this.addTabPage( cs[i] );
}
}
var c=this;
var b=$(el).find(".tab-page");
jQuery.each(b, function() {
c.addTabPage( this );
}
);
}
WebFXTabPane.prototype.classNameTag = "dynamic-tab-pane-control";
@@ -289,7 +288,7 @@ function setupAllTabs() {
// uninitiated tab pane
if ( tabPaneRe.test( cn ) && !el.tabPane )
new WebFXTabPane( el, false );
new WebFXTabPane( el, true );
// unitiated tab page wit a valid tab pane parent
else if ( tabPageRe.test( cn ) && !el.tabPage &&
@@ -326,27 +325,3 @@ function disposeAllTabs() {
}
}
// initialization hook up
// DOM2
if ( typeof window.addEventListener != "undefined" )
window.addEventListener( "load", setupAllTabs, false );
// IE
else if ( typeof window.attachEvent != "undefined" ) {
window.attachEvent( "onload", setupAllTabs );
window.attachEvent( "onunload", disposeAllTabs );
}
else {
if ( window.onload != null ) {
var oldOnload = window.onload;
window.onload = function ( e ) {
oldOnload( e );
setupAllTabs();
};
}
else
window.onload = setupAllTabs;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB