Template:Team:HokkaidoU Japan/Book/JS

From 2014.igem.org

(Difference between revisions)
Line 657: Line 657:
case 'left':
case 'left':
/*
/*
-
<div class="bb-page" style="z-index:102;">
+
<div class="bb-page" style="z-index:995;">
<div class="bb-back">
<div class="bb-back">
<div class="bb-outer">
<div class="bb-outer">
Line 670: Line 670:
</div>
</div>
*/
*/
-
$side = $('<div class="bb-page"><div class="bb-back"><div class="bb-outer"><div class="bb-content"><div class="bb-inner">' + ( dir === 'next' ? this.$current.html() : this.$nextItem.html() ) + '</div></div><div class="bb-overlay"></div></div></div></div>').css( 'z-index', 102 );
+
$side = $('<div class="bb-page"><div class="bb-back"><div class="bb-outer"><div class="bb-content"><div class="bb-inner">' + ( dir === 'next' ? this.$current.html() : this.$nextItem.html() ) + '</div></div><div class="bb-overlay"></div></div></div></div>').css( 'z-index', 995 );
break;
break;
case 'middle':
case 'middle':
/*
/*
-
<div class="bb-page" style="z-index:103;">
+
<div class="bb-page" style="z-index:996;">
<div class="bb-front">
<div class="bb-front">
<div class="bb-outer">
<div class="bb-outer">
Line 697: Line 697:
</div>
</div>
*/
*/
-
$side = $('<div class="bb-page"><div class="bb-front"><div class="bb-outer"><div class="bb-content"><div class="bb-inner">' + (dir === 'next' ? this.$current.html() : this.$nextItem.html()) + '</div></div><div class="bb-flipoverlay"></div></div></div><div class="bb-back"><div class="bb-outer"><div class="bb-content" style="width:' + this.elWidth + 'px"><div class="bb-inner">' + ( dir === 'next' ? this.$nextItem.html() : this.$current.html() ) + '</div></div><div class="bb-flipoverlay"></div></div></div></div>').css( 'z-index', 103 );
+
$side = $('<div class="bb-page"><div class="bb-front"><div class="bb-outer"><div class="bb-content"><div class="bb-inner">' + (dir === 'next' ? this.$current.html() : this.$nextItem.html()) + '</div></div><div class="bb-flipoverlay"></div></div></div><div class="bb-back"><div class="bb-outer"><div class="bb-content" style="width:' + this.elWidth + 'px"><div class="bb-inner">' + ( dir === 'next' ? this.$nextItem.html() : this.$current.html() ) + '</div></div><div class="bb-flipoverlay"></div></div></div></div>').css( 'z-index', 996 );
break;
break;
case 'right':
case 'right':
/*
/*
-
<div class="bb-page" style="z-index:101;">
+
<div class="bb-page" style="z-index:994;">
<div class="bb-front">
<div class="bb-front">
<div class="bb-outer">
<div class="bb-outer">
Line 714: Line 714:
</div>
</div>
*/
*/
-
$side = $('<div class="bb-page"><div class="bb-front"><div class="bb-outer"><div class="bb-content"><div class="bb-inner">' + ( dir === 'next' ? this.$nextItem.html() : this.$current.html() ) + '</div></div><div class="bb-overlay"></div></div></div></div>').css( 'z-index', 101 );
+
$side = $('<div class="bb-page"><div class="bb-front"><div class="bb-outer"><div class="bb-content"><div class="bb-inner">' + ( dir === 'next' ? this.$nextItem.html() : this.$current.html() ) + '</div></div><div class="bb-overlay"></div></div></div></div>').css( 'z-index', 994 );
break;
break;
}
}

Revision as of 06:23, 12 October 2014