CharisKomos (Talk | contribs) |
CharisKomos (Talk | contribs) |
||
Line 61: | Line 61: | ||
} | } | ||
window.history.replaceState(null, null, stateMsg); | window.history.replaceState(null, null, stateMsg); | ||
+ | $('.display_frame').removeClass('reveal'); | ||
+ | $('#' + stateMsg).addClass('reveal'); | ||
scrollTillBottom(); | scrollTillBottom(); | ||
Line 145: | Line 147: | ||
<!-- Subsection Box --> | <!-- Subsection Box --> | ||
<div id='display_box'> | <div id='display_box'> | ||
− | < | + | <object id='Overview' width='100%' height='100%' class='display_frame hide' data='https://2017.igem.org/Team:Greece/Overview' ></object> |
+ | <object id='Description' width='100%' height='100%' class='display_frame hide' data='https://2017.igem.org/Team:Greece/Description'></object> | ||
+ | <object id='Results' width='100%' height='100%' class='display_frame hide' data='https://2017.igem.org/Team:Greece/Results' ></object> | ||
+ | <object id='Notebook' width='100%' height='100%' class='display_frame hide' data='https://2017.igem.org/Team:Greece/Notebook'></object> | ||
</div> | </div> | ||
Line 160: | Line 165: | ||
.opace{ opacity: 0.8; } | .opace{ opacity: 0.8; } | ||
+ | |||
+ | .hide{ display:none;} | ||
+ | .reveal{ display: block; } | ||
</style> | </style> |
Revision as of 21:57, 29 August 2017