Modo lista

This commit is contained in:
humano 2020-06-26 11:18:15 -05:00
parent 59b3700c32
commit d9378c842b
2 changed files with 6 additions and 82 deletions

View File

@ -1364,53 +1364,11 @@ function myFunction() {
////$librerias_cabeza =$presentacion_cabeza;
//$librerias_pie =$presentacion_pie;
$banner = banner_empresa("$id_empresa","$form");
$aplicaciones_listado= aplicaciones_listado("$id_empresa",'','lista','');
// $aplicaciones_listado= aplicaciones_listado("$id_empresa",'','lista','');
$geo = buscar_campo_tipo($form,"14");
$onload="
<style>
.parallax_banner {
/* The image used */
background-image: url('milfs/images/secure/?file=600/$logo[0]');
/* Full height */
height: 50%;
/* Create the parallax scrolling effect */
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.barra {
padding: 10px 16px;
background: white;
color: #f1f1f1;
width: 100%;
z-index:10000;
}
.sticky {
position: fixed;
top: 0;
width: 100%;
}
</style>
<div class='container'>
<div class='parallax_banner'></div>
<div style='min-height:200px;'>
$banner
@ -1425,48 +1383,14 @@ function myFunction() {
</button>
<a class='nav navbar-brand' href='e$id_empresa'><i class='fa fa-home'></i></a>
</div>
<div class='collapse navbar-collapse' id='menu_colapsible'>
<ul class='nav navbar-nav' >
<li class='dropdown'>
<a href='#' class='dropdown-toggle ' data-toggle='dropdown' role='button' aria-haspopup='true' aria-expanded='false'>
Secciones<span class='caret'></span>
</a>
<ul class='dropdown-menu' id='listado_aplicaciones'>
$aplicaciones_listado
</ul>
</li>
$boton_mapa
</ul>
<ul class='nav navbar-nav navbar-right'>
<li ><a href='http://tupale.co'>Tupale.co</a></li>
</ul>
</div>
</div>
<div id='mapa' class='container'><a name ='mapa' ></a>$mapa</div>
$presentacion
</div>
<script>
// When the user scrolls the page, execute myFunction
window.onscroll = function() {myFunction()};
// Get the header
var header = document.getElementById('barra_aplicaciones');
// Get the offset position of the navbar
var sticky = header.offsetTop;
// Add the sticky class to the header when you reach its scroll position. Remove 'sticky' when you leave the scroll position
function myFunction() {
if (window.pageYOffset >= sticky) {
header.classList.add('sticky');
} else {
header.classList.remove('sticky');
}
}
</script>
";
}
else{

2
milfs

@ -1 +1 @@
Subproject commit 67cf402bd95f1085fc9193d584abc06f21ca971d
Subproject commit 8561f28a32c2bb99e9c94b4c0b7b3632de470fbe