From 401fd00b5cfc6d8a19c7e2e44f99c9524bd941ca Mon Sep 17 00:00:00 2001 From: Sergio Date: Fri, 29 Sep 2017 11:53:26 +0200 Subject: [PATCH] portada --- .DS_Store | Bin 6148 -> 10244 bytes .../pagePiling.js/jquery.pagepiling.js | 3 ++- css/css/home.css | 2 +- css/css/home.css.map | 2 +- css/home.less | 7 ++++++- index.html | 5 +++++ js/main.js | 16 ++++++++++++++-- templates/portada.html | 8 ++++++++ 8 files changed, 37 insertions(+), 6 deletions(-) create mode 100644 templates/portada.html diff --git a/.DS_Store b/.DS_Store index 6946edb9e0a42ee97f37d22f3267682b362db68e..a9dc0b5dd0a8accfdab7b7186c243727f0558aaf 100644 GIT binary patch literal 10244 zcmeHMYitzP6+Yi$%*=R<#}qJlFuTSjMqq*$h>3x~`b9CA;>0F4gkbhDfoaz}&d#n) zFhp*nKB6>9UsChvBTDn9B5m5J&osZ9wxJJ2iefb-YO6G@`lISgZB+?XO?vLVv#z~1 zs;E$f(2TVA%suDcJ9E!`=YHqjB_ebdGjXCA5o!Dr(lWVN;1YK6n|DP5jm{F>pD0fw zlqQcxX>4BWP!W0{^g!r=&;y|dLJwRI9$?NEmsX`@ScV=5JrH_e#sgw~i1AOzL?EY> zluHK}atpw+g4Ockd)^1gKCwV10y(9m?8;-R-2;NI2(}nd-Ps-!%~>V_Ii;lPPEg$m z!IKf}P#~Yq{bI5?A)#bgh8_q#Fy8}W?`~0w_v{no%-O$tlw(bf3gnLu%$*e!#r6w7^t;cvwy@|HqP&Vc&y-hIsZ;4 z@3S1SYJB!UZ`#ZC=N(}mN_*MjXwDz8YSYPVx|mHCoQ`aEz&-1*uEtO2y==DM^Ib8_ z(cyw~rXXzdOvA@~FJI`AgN;~L(Rc1}cr16^>E;prVV55%I$F>#EUk;ad&B0fJ9c;M zo362Hmzm4Wl|$pM@20ZOkqI|bIDItfr=48J&7C^NpC?yv?{S^HUK<(L2Xo0$XL{A@ z`epVSd+n8aX;zaqTuiz57Tv;q>KTo8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XioPwYfQnZERLs%gG_BZX6Vs)z~*{_MD~5majMj*2BQa2%#ASp)`y-3}mn|WHRJ3 zBr>Ekq%stj1sCPztMrI|5?mEx*~ww?*Ol~vU>wRJNl zGYZNx&Yb*COl-4;?0m+>>>M0|%n<7YxPi1QC;&GWerKM{ui^;`P6j4O(1JpnVRJms G9A*G
+
+
+

asdf

+
+

asdf

diff --git a/js/main.js b/js/main.js index ea605bf..735bf19 100644 --- a/js/main.js +++ b/js/main.js @@ -8,13 +8,24 @@ window.onload = function() { $('#pagepiling').pagepiling({ menu: null, - anchors: ["page1","page2","page3","page4","page5","page6","page7"], + anchors: ["portada","page1","page2","page3","page4","page5","page6","page7"], direction: 'horizontal', verticalCentered: true, scrollingSpeed: 800, easing: 'swing', + normalScrollElements:'div', afterLoad: function(anchorLink, index){ //using index + + index-=1; + console.log(index) + if(index<=0){ + $('#timeline').fadeOut(); + }else{ + $('#timeline').fadeIn(); + } + + $('.btn-navigation.active').removeClass('active') $('#nav-btn-page'+index + " a").addClass('active') } @@ -25,7 +36,7 @@ window.onload = function() { function loadPageTemplates(){ - + $('#portada').load("templates/portada.html") for (var i=1; i<= totalPages; i++){ (function (n) { $('#page-'+n).load("templates/page"+n+".html",function(){ @@ -34,6 +45,7 @@ function loadPageTemplates(){ }) })(i) } + //turnEventsOn(); } diff --git a/templates/portada.html b/templates/portada.html new file mode 100644 index 0000000..f356fce --- /dev/null +++ b/templates/portada.html @@ -0,0 +1,8 @@ +
+
+
+ +
+
+ +