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 151: | Line 153: | ||
<!-- Subsection Box --> | <!-- Subsection Box --> | ||
− | <div id='display_box'></div> | + | <div id='display_box'> |
+ | <object id='O.S.I.R.I.S._OVERVIEW' width='100%' height='100%' class='display_frame hide' data='https://2017.igem.org/Team:Greece/O.S.I.R.I.S._OVERVIEW'' ></object> | ||
+ | |||
+ | <object id='RISK_ASSESSEMENT_ANALYSIS' width='100%' height='100%' class='display_frame hide' data='https://2017.igem.org/Team:Greece/RISK_ASSESSEMENT_ANALYSIS'></object> | ||
+ | |||
+ | <object id='INTEGRATED_HUMAN_PRACTICES' width='100%' height='100%' class='display_frame hide' data='https://2017.igem.org/Team:Greece/INTEGRATED_HUMAN_PRACTICES' ></object> | ||
+ | |||
+ | <object id='PUBLIC_ENGAGEMENT' width='100%' height='100%' class='display_frame hide' data='https://2017.igem.org/Team:Greece/PUBLIC_ENGAGEMENT'></object> | ||
+ | </div> | ||
<!-- Part of template CSS file--> | <!-- Part of template CSS file--> | ||
Line 165: | Line 175: | ||
.opace{ opacity: 0.8; } | .opace{ opacity: 0.8; } | ||
+ | |||
+ | .hide{ display:none;} | ||
+ | .reveal{ display: block; } | ||
</style> | </style> |
Revision as of 22:13, 29 August 2017