CharisKomos (Talk | contribs) |
CharisKomos (Talk | contribs) |
||
Line 60: | Line 60: | ||
} | } | ||
window.history.replaceState(null, null, stateMsg); | window.history.replaceState(null, null, stateMsg); | ||
+ | $('.display_frame').removeClass('reveal'); | ||
+ | $('#' + stateMsg).addClass('reveal'); | ||
scrollTillBottom(); | scrollTillBottom(); | ||
Line 146: | Line 148: | ||
<!-- Subsection Box --> | <!-- Subsection Box --> | ||
− | <div id='display_box'></div> | + | <div id='display_box'> |
+ | <object id='TeamIntro' width='100%' height='100%' class='display_frame hide' data='https://2017.igem.org/Team:Greece/TeamIntro' ></object> | ||
+ | |||
+ | <object id='TeamRoster' width='100%' height='100%' class='display_frame hide' data='https://2017.igem.org/Team:Greece/TeamRoster'></object> | ||
+ | |||
+ | <object id='Supervisors' width='100%' height='100%' class='display_frame hide' data='https://2017.igem.org/Team:Greece/Supervisors' ></object> | ||
+ | |||
+ | <object id='Attributions' width='100%' height='100%' class='display_frame hide' data='https://2017.igem.org/Team:Greece/Attributions'></object> | ||
+ | </div> | ||
<!-- Part of template CSS file--> | <!-- Part of template CSS file--> | ||
Line 160: | Line 170: | ||
.opace{ opacity: 0.8; } | .opace{ opacity: 0.8; } | ||
+ | |||
+ | .hide{ display:none;} | ||
+ | .reveal{ display: block; } | ||
</style> | </style> |
Revision as of 22:18, 29 August 2017