ITSSMD Squishy
by mrjordy
HTML
<div id ="HeaderContainer">
<div class="HeaderTitle">Oversight - Contract QA & Performance and SLR Management</div>
<div class="HeaderTitleSmall">Oversight</div>
<div class="HeaderSub"></div>
<div class="GUI"></div>
<div class="Background-Image"></div>
<div class="Floating-Image"></div>
<div class="Floating-Image2"></div>
<div class="diag-noselect"></div>
<div class="center-noselect"></div>
<div class="C toggle"></div>
<div class="C-popup hidden">
<a href="">
<div class="PopupTitle">Oversight</div>
</a>
<div class="PopupText">Description.
</div>
</div>
<div class="TL toggle"></div>
<div class="TL-popup hidden">
<a href="https://navy.deps.mil/peoeis/sites/nen/QA/COR">
<div class="PopupTitle">Contracting Officer Representitive</div>
</a>
<div class="PopupText">As the “eyes and ears” of NEN in terms of monitoring contract performance, CORs have the responsibility/authority to monitor all aspects of the day-to-day administration of contracts.
</div>
<a href="https://navy.deps.mil/peoeis/sites/nen/QA/COR">
<div class="NavToPage">Navigate To Page »</div>
</a>
</div>
<div class="TR toggle"></div>
<div class="TR-popup hidden">
<a href="https://navy.deps.mil/peoeis/sites/nen/onesource/cdrl/Pages/CDRL.aspx">
<div class="PopupTitle">Contract Data Requirements List</div>
</a>
<div class="PopupText">Ensure NGEN CDRLs meet Government requirements.
</div>
<a href="https://navy.deps.mil/peoeis/sites/nen/onesource/cdrl/Pages/CDRL.aspx">
<div class="NavToPage">Navigate To Page »</div>
</a>
</div>
<div class="BR toggle"></div>
<div class="BR-popup hidden">
<a href="https://navy.deps.mil/peoeis/sites/nen/QA/PFM">
<div class="PopupTitle">Performance Management</div>
</a>
<div class="PopupText">Define,...
CSS
#preload {
display: none;
}
#HeaderContainer {
width: 100%;
height: 308px;
overflow: hidden;
border-radius: 4px;
margin-left: auto;
margin-right: auto;
padding-bottom: 30px;
position: relative;
}
#HeaderContainer > .HeaderTitle {
font-family: helvetica;
position: absolute;
z-index: 4;
margin-top: 8px;
padding-left: 16px;
padding-top: 2px;
width: calc(100% - 24px);
height: 32px;
color: white;
vertical-align: middle;
line-height: normal;
font-size: 24px;
background: #3E628F;
}
@media screen and (min-width: 721px) {
#HeaderContainer > .HeaderTitleSmall {
display: none;
}
}
@media screen and (max-width: 720px) {
#HeaderContainer > .HeaderTitleSmall {
font-family: helvetica;
position: absolute;
z-index: 4;
margin-top: 8px;
padding-left: 16px;
padding-top: 2px;
width: calc(100% - 24px);
height: 32px;
color: white;
vertical-align: middle;
line-height: normal;
font-size: 24px;
background: #3E628F;
}
#HeaderContainer > .HeaderTitle {
display: none;
}
}
#HeaderContainer > .HeaderSub {
font-family: helvetica;
position: absolute;
z-index: 4;
margin-top: 16px;
margin-left: 355px;
width: auto;
height: 32px;
color: #ddd;
vertical-align: middle;
line-height: normal;
font-size: 16px;
}
@media screen and (min-width: 900px) {
#HeaderContainer > .Background-Image {
background: url("https://navy.deps.mil/peoeis/sites/nen/res/Oversight_Banner_Back-rpt.png");
width: calc(100% - 8px);
height: 279px;
margin-top: 40px;
position: absolute;
z-index: 1;
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
overflow: hidden;
background-position: right;
}
}
@media screen and (max-width: 900px) {
#HeaderContainer > .Background-Image {
background: url("https://navy.deps.mil/peoeis/sites/nen/res/Oversight_Back-s.jpg");
width: calc(100% - 8px);
...
JavaScript
jQuery(document).ready(function() {
jQuery(".toggle").next(".hidden").hide();
jQuery(".toggle").click(function() {
$('.active').not(this).toggleClass('active').next('.hidden').fadeToggle(100);
$(this).toggleClass('active').next().fadeToggle(500);
});
});
//<meta http-equiv="X-UA-Compatible" content="IE=8" />