diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..9118bc5 Binary files /dev/null and b/.DS_Store differ diff --git a/css/css/home.css b/css/css/home.css index 49a3d7f..ce32686 100644 --- a/css/css/home.css +++ b/css/css/home.css @@ -1 +1 @@ -p{font-size:12px}.cd-horizontal-timeline .events-content{position:relative}.cd-horizontal-timeline .events-content li{position:absolute;z-index:1;width:100%;left:0;top:0;transform:translateX(-100%);opacity:0;animation-duration:.4s;animation-timing-function:ease-in-out}.cd-horizontal-timeline .events-content li.selected{position:relative;z-index:2;opacity:1;transform:translateX(0)}div.section-container{background-color:white}#timeline{z-index:10;position:absolute;bottom:100px;left:100vh;height:50px;width:400px}#timeline li{display:inline-block}#timeline a{background-color:white}#timeline a.active{background-color:orange}div.menu-content{height:100vh;background-color:white}div.extra-btn-container{position:absolute;left:700px;bottom:200px}a.btn-circle{border-radius:40px} \ No newline at end of file +p{font-size:12px}.cd-horizontal-timeline .events-content{position:relative}.cd-horizontal-timeline .events-content li{position:absolute;z-index:1;width:100%;left:0;top:0;transform:translateX(-100%);opacity:0;animation-duration:.4s;animation-timing-function:ease-in-out}.cd-horizontal-timeline .events-content li.selected{position:relative;z-index:2;opacity:1;transform:translateX(0)}div.section-container{background-color:white}#timeline{z-index:10;position:absolute;bottom:100px;left:100vh;height:50px;width:400px}#timeline li{display:inline-block}#timeline a{background-color:white}#timeline a.active{background-color:orange}div.menu-content{height:100vh;background-color:white}div.extra-btn-container{position:absolute;left:700px;bottom:200px}a.btn-circle{border-radius:40px}.map-popover{display:none} \ No newline at end of file diff --git a/css/css/home.css.map b/css/css/home.css.map index 8bdc235..1493127 100644 --- a/css/css/home.css.map +++ b/css/css/home.css.map @@ -1 +1 @@ -{"version":3,"sources":["home.less"],"names":[],"mappings":"AAAA,EACI,eAIJ,uBAAwB,iBACtB,kBAEF,uBAAwB,gBAAgB,IACtC,iBAAA,CACA,SAAA,CACA,UAAA,CACA,MAAA,CACA,KAAA,CACA,UAAW,iBAAX,CACA,SAAA,CACA,sBAAA,CACA,sCAEF,uBAAwB,gBAAgB,GAAE,UAExC,iBAAA,CACA,SAAA,CACA,SAAA,CACA,UAAW,cAEb,GAAG,mBAEC,uBAGJ,UACI,UAAA,CACA,iBAAA,CACA,YAAA,CACA,UAAA,CACA,WAAA,CACA,YANJ,SAOI,IACI,qBARR,SAUI,GACI,uBAXR,SAaI,EAAC,QACG,wBAIR,GAAG,cACC,YAAA,CACA,uBAGJ,GAAG,qBACC,iBAAA,CACA,UAAA,CACA,aAGJ,CAAC,YACG"} \ No newline at end of file +{"version":3,"sources":["home.less"],"names":[],"mappings":"AAAA,EACI,eAIJ,uBAAwB,iBACtB,kBAEF,uBAAwB,gBAAgB,IACtC,iBAAA,CACA,SAAA,CACA,UAAA,CACA,MAAA,CACA,KAAA,CACA,UAAW,iBAAX,CACA,SAAA,CACA,sBAAA,CACA,sCAEF,uBAAwB,gBAAgB,GAAE,UAExC,iBAAA,CACA,SAAA,CACA,SAAA,CACA,UAAW,cAEb,GAAG,mBAEC,uBAGJ,UACI,UAAA,CACA,iBAAA,CACA,YAAA,CACA,UAAA,CACA,WAAA,CACA,YANJ,SAOI,IACI,qBARR,SAUI,GACI,uBAXR,SAaI,EAAC,QACG,wBAIR,GAAG,cACC,YAAA,CACA,uBAGJ,GAAG,qBACC,iBAAA,CACA,UAAA,CACA,aAGJ,CAAC,YACG,mBAGJ,aACI"} \ No newline at end of file diff --git a/css/home.less b/css/home.less index d506cd4..840a045 100644 --- a/css/home.less +++ b/css/home.less @@ -62,3 +62,7 @@ div.extra-btn-container{ a.btn-circle{ border-radius: 40px; } + +.map-popover{ + display: none; +} diff --git a/images/c1_mapa_ACT.png b/images/c1_mapa_ACT.png new file mode 100644 index 0000000..6e13da6 Binary files /dev/null and b/images/c1_mapa_ACT.png differ diff --git a/index.html b/index.html index b943c5f..119b78b 100644 --- a/index.html +++ b/index.html @@ -24,6 +24,11 @@ + + + + + diff --git a/js/main.js b/js/main.js index e898c53..a6b0849 100644 --- a/js/main.js +++ b/js/main.js @@ -25,16 +25,45 @@ window.onload = function() { function loadPageTemplates(){ console.log("load templates") - $('#page-1').load("templates/page1.html",function(){console.log("loaded1")}) - $('#page-2').load("templates/page2.html",function(){}) - $('#page-3').load("templates/page3.html",function(){}) - $('#page-4').load("templates/page4.html",function(){}) + + $('#page-1').load("templates/page1.html",function(){ + var modal = new jBox('Modal', { + attach: '#map-btn-page-1', + content: $('#map-page-1'), + closeButton: 'box' + }); + }) + + $('#page-2').load("templates/page2.html",function(){ + var modal = new jBox('Modal', { + attach: '#map-btn-page-2', + content: $('#map-page-2'), + closeButton: 'box' + }); + }) + + $('#page-3').load("templates/page3.html",function(){ + var modal = new jBox('Modal', { + attach: '#map-btn-page-3', + content: $('#map-page-3'), + closeButton: 'box' + }); + }) + $('#page-4').load("templates/page4.html",function(){ + var modal = new jBox('Modal', { + attach: '#map-btn-page-4', + content: $('#map-page-4'), + closeButton: 'box' + }); + }) + turnEventsOn(); } function turnEventsOn(){ - $('#timeline').on("click",'.btn-navigation', function(e){ + /*$('#timeline').on("click",'.btn-navigation', function(e){ $('.btn-navigation.active').removeClass('active') $(this).addClass('active') - }) + })*/ + } diff --git a/templates/page1.html b/templates/page1.html index 0b1a3d0..687dded 100644 --- a/templates/page1.html +++ b/templates/page1.html @@ -9,10 +9,13 @@
- + +