This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.blogs-post { | |
background: #fff; | |
border-radius: 3px; | |
margin: 0 0 20px; | |
width: 300px; | |
transform: translateX(200px); | |
} | |
.blogs-post-column{ | |
opacity: 0; | |
transform: translateX(0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
afterResponsive: function(isResponsive){ | |
if(isResponsive){ | |
$.fn.fullpage.parallax.destroy(); | |
}else{ | |
$.fn.fullpage.parallax.init(); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.fp-responsive .fp-bg{ | |
position: relative !important; | |
} | |
.fp-responsive #section-2{ | |
padding: 30px 0; | |
} | |
.fp-responsive .content{ | |
padding: 10%; | |
} | |
.fp-responsive .section-3-wrapper{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
onLeave: function(index, nextIndex, direction){ | |
if(nextIndex === 2){ | |
animationCont++; | |
//forcing the gift to start again | |
$('.section-2-animation') | |
.css('background-image', 'url(animation3.gif?v='+animationCont+')'); | |
} | |
}, | |
afterLoad: function(anchorLink, index){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
var animationCont = 0; | |
$('#fullpage').fullpage({ | |
sectionsColor: ['#36465d', '#55c598', '#a77dc2', 'whitesmoke', '#ccddff', '#ccc'], | |
anchors: ['firstPage', 'secondPage', '3rdPage', '4thpage'], | |
menu: '#menu', | |
navigation: true, | |
navigationPosition: 'left', | |
easingcss3: 'cubic-bezier(.825,0,.5,1)', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
/** | |
* Module dependencies. | |
*/ | |
var app = require('../app'); | |
var debug = require('debug')('tasks:server'); | |
var http = require('http'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require('express'); | |
var path = require('path'); | |
var favicon = require('serve-favicon'); | |
var logger = require('morgan'); | |
var cookieParser = require('cookie-parser'); | |
var bodyParser = require('body-parser'); | |
var swig = require('swig'); | |
var mysql = require('mysql'); | |
var routes = require('./routes/index'); | |
var tickets = require('./routes/tickets'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// We only want the iScroll to translate on touch devices. | |
// On overscroll, at least on iPhone, it seems to trigger a window | |
// scroll event which allows moving to the next section. | |
// If that doesn't happen, we would need to incorporate iscroll-probe | |
// to get access to the onscroll event and do our own determining of | |
// whether or not to move to the next fullpage section. | |
var iscrollOptions = { | |
disableMouse: true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="offmenu"> | |
<ul> | |
<li>aaa</li> | |
<li>aaa</li> | |
<li>aaa</li> | |
<li>aaa</li> | |
</ul> | |
</div> | |
<i id="push" class="fa fa-bars"></i> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function User(userData) { | |
userData = userData || {}; | |
this.name = ko.observable(userData.name); | |
//copying all non existent properties | |
for(var key in userData) { | |
if(!self.hasOwnProperty(key)) { | |
self[key] = userData[key]; | |
} |