This file contains 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
<?xml version="1.0"?> | |
<!-- | |
IE5 default style sheet, provides a view of any XML document | |
and provides the following features: | |
- auto-indenting of the display, expanding of entity references | |
- click or tab/return to expand/collapse | |
- color coding of markup | |
- color coding of recognized namespaces - xml, xmlns, xsl, dt | |
This style sheet is available in IE5 in a compact form at the URL |
This file contains 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
<?xml version="1.0"?> | |
<!-- | |
IE5 default style sheet, provides a view of any XML document | |
and provides the following features: | |
- auto-indenting of the display, expanding of entity references | |
- click or tab/return to expand/collapse | |
- color coding of markup | |
- color coding of recognized namespaces - xml, xmlns, xsl, dt | |
This style sheet is available in IE5 in a compact form at the URL |
This file contains 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="multiscroll"> | |
<div class="ms-left"> | |
<div class="ms-section">Section 1 left</div> | |
<div class="ms-section">Section 2 left</div> | |
<div class="ms-section">Section 3 left</div> | |
</div> | |
<div class="ms-right"> | |
<div class="ms-section">Section 1 right</div> | |
<div class="ms-section">Section 2 right</div> | |
<div class="ms-section">Section 3 right</div> |
This file contains 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="pagepiling"> | |
<div class="section">Some section</div> | |
<div class="section">Some section</div> | |
<div class="section">Some section</div> | |
<div class="section">Some section</div> | |
</div> |
This file contains 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
/* Reset CSS | |
* --------------------------------------- */ | |
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre, | |
form,fieldset,input,textarea,p,blockquote,th,td { | |
padding: 0; | |
margin: 0; | |
} | |
a{ | |
text-decoration:none; | |
} |
This file contains 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() { | |
$('#fullpage').fullpage({ | |
autoScrolling: false, | |
fitToSection: false | |
}); | |
}); |
This file contains 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
window.requestAnimFrame = function(){ | |
return window.requestAnimationFrame || function(callback){ callback() } | |
}(); | |
//usage | |
requestAnimFrame(function(){ | |
//do whatever | |
}); |
This file contains 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 data ={}; | |
var self ={}; | |
for(var key in data) { | |
if(!self.hasOwnProperty(key)) { | |
self[key] = data[key]; | |
} | |
} |
This file contains 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]; | |
} |
This file contains 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> |
OlderNewer