Html Menu :
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
::-webkit-scrollbar {
display: none;
}
div.scrollmenu {
height: 48px;
background-color: #232A31;
white-space: nowrap;
overflow: auto;
}
div.scrollmenu a {
color: white;
text-align: center;
padding: 18px;
border-bottom: none;
text-decoration: none;
opacity: 1;
padding-top: 15px;
}
div.scrollmenu a:hover {
border-bottom: none;
text-decoration: none;
opacity: 1;
}
la {
display: inline-block;
list-style: none;
opacity: 0.33;
font-size: 13.5px;
color: #FFFFFF;
}
la>a {
display: block;
margin-right: 0px;
color: #FFFFFF;
}
la.active,
la.active:hover {
height: calc(100% - 1px);
border-bottom: 2px solid #F87620;
opacity: 1;
}
la:hover {
border-bottom: 2px solid #F5F5F5;
height: calc(100% - 1px);
cursor: pointer;
}
iframe {
width: 1px;
min-width: 100%;
overflow:hidden!important;
}
</style>
</head>
<div>
<!-- enlever navbar-fixed-top pour redemissionage -->
<div class="scrollmenu navbar-fixed-top">
<la><a onClick="planHeader_id=4; displayPlan();"><span class="fa maison-home63 fa-lg"></span></a></la>
<la class="active"><a onclick="document.getElementById('iframe_a').src ='/index.php?v=d&p=plan&plan_id=3&fullscreen=1#section1'">Résumé</a></la>
<la><a onclick="document.getElementById('iframe_a').src ='/index.php?v=d&p=plan&plan_id=3&fullscreen=1#section2'"><span class="fa jeedom-mouvement fa-lg"></span></a></la>
<la><a onclick="document.getElementById('iframe_a').src ='/index.php?v=d&p=plan&plan_id=3&fullscreen=1#section3'">Extérieures</a></la>
<la><a onclick="document.getElementById('iframe_a').src ='/index.php?v=d&p=plan&plan_id=3&fullscreen=1#section4'">Luminaires</a></la>
<la><a onclick="document.getElementById('iframe_a').src ='/index.php?v=d&p=plan&plan_id=3&fullscreen=1#section5'">Vmc</a></la>
<la><a onclick="document.getElementById('iframe_a').src ='/index.php?v=d&p=plan&plan_id=3&fullscreen=1#section6'">Chauffages</a></la>
<la><a onclick="document.getElementById('iframe_a').src ='/index.php?v=d&p=plan&plan_id=3&fullscreen=1#section7'">7</a></la>
<la><a onclick="document.getElementById('iframe_a').src ='/index.php?v=d&p=plan&plan_id=3&fullscreen=1#section8'">8</a></la>
<la><a onclick="document.getElementById('iframe_a').src ='/index.php?v=d&p=plan&plan_id=3&fullscreen=1#section9'">9</a></la>
<la><a onclick="document.getElementById('iframe_a').src ='/index.php?v=d&p=plan&plan_id=3&fullscreen=1#section10'">10</a></la>
<la><a onclick="document.getElementById('iframe_a').src ='
index.php'">Forum</a></la>
</div>
<div id="menu-div" style="height: 660px; min-width: 100%; background-color: transparant;">
<div style="height: 100%; width: 0px; min-width: 100%; background-color: transparant;">
<iframe id="iframe_a" height="100%" width="105%" frameBorder="0" scrolling="yes" src="index.php?v=d&p=plan&plan_id=3&fullscreen=1">
</iframe>
<script type="text/javascript">
if (/iPad|iPhone|iPod/.test(window.navigator.userAgent)) { document.getElementById('iframe_a').setAttribute('scrolling', 'yes') }
if (/iPad|iPhone|iPod/.test(window.navigator.userAgent)) { document.getElementById('menu-div').style.height = "100%" }
$('.scrollmenu la').on('click', function() {
$(this).addClass('active').siblings().removeClass('active');
});
</script>
</div>
</div>
</div>
Envoyé de mon iPhone en utilisant Tapatalk