From 9a0dc250a92c50a43f13873120a16452f145817e Mon Sep 17 00:00:00 2001 From: h4ckypurpl3 Date: Tue, 9 Oct 2018 00:37:38 -0500 Subject: [PATCH] =?UTF-8?q?=20implementaci=C3=B3n=20landingpage=20logo=20y?= =?UTF-8?q?=20barra=20superior=20de=20navegaci=C3=B3n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.php | 98 ++++++++++++++++---------- librerias/landingjs/scripts_landing.js | 11 +++ 2 files changed, 73 insertions(+), 36 deletions(-) create mode 100644 librerias/landingjs/scripts_landing.js diff --git a/index.php b/index.php index 28730c5..310bd46 100644 --- a/index.php +++ b/index.php @@ -1304,24 +1304,25 @@ document.oncopy = addLink; echo " " ; } if(isset($_SESSION['id'] )) { - $id_empresa_portada='1'; - if($_SESSION['grupo'] == '3'){ + $id_empresa_portada='1'; + if($_SESSION['grupo'] == '3'){ echo ""; } else{ $usuario = $_SESSION['username']; - echo " ".panel_aplicaciones('1',"$_SESSION[id_empresa]","")." "; + echo " ".panel_aplicaciones('1',"$_SESSION[id_empresa]","")." "; } - + }else{ echo " "; - + + Ingresar Aportar a la inteligencia colectiva"; + + } - - - + + + if(isset($_REQUEST['eventos'])) { //$embebido='1'; $librerias_pie=" @@ -1492,36 +1493,62 @@ echo $css_adicional; -
-
- -
    - -
  • -
  • - +
    +
+ -
+ +
- -
-
-
- - - -
-
-

">

-

-
+
+ +

">

+

+
-
-
-
@@ -1712,6 +1737,7 @@ $(document).delegate('*[data-toggle="lightbox"]', 'click', function(event) { - + + diff --git a/librerias/landingjs/scripts_landing.js b/librerias/landingjs/scripts_landing.js new file mode 100644 index 0000000..b3dda70 --- /dev/null +++ b/librerias/landingjs/scripts_landing.js @@ -0,0 +1,11 @@ +$(window).scroll(function() { + if ($(document).scrollTop() > 5) { + $('nav').addClass('shrink'); + } else { + $('nav').removeClass('shrink'); + } +}); + +$(window).scroll(function(){ + $(".top").css("opacity", 1 - $(window).scrollTop() / 100); + });