Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html
- xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
- xmlns:og="http://ogp.me/ns#"
- xmlns:fb="http://www.facebook.com/2008/fbml">
- <!--
- ◯ Mod
- Theme by SECTION.
- Based on inky. *Huge thanks! ~\^o^/~
- Derived from 'Minimalist', one of the default Tumblr themes.
- -->
- <head>
- <!--
- //
- // META, HEADER, DESC
- //
- //
- -->
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title>{Title}{block:PostSummary} : {PostSummary}{/block:PostSummary}</title>
- <meta name="color:Background" content="#1a2e46"/>
- <meta name="color:Text" content="#444"/>
- <meta name="color:Secondary" content="#888"/>
- <meta name="color:Minor" content="#bbb"/>
- <meta name="color:Link" content="#000"/>
- <meta name="font:Body" content="'Helvetica Neue', Arial, Helvetica, sans-serif"/>
- <meta name="if:Show post notes" content="1"/>
- <meta name="if:Show the number of post notes" content="0"/>
- <meta name="if:Semitransparent audio player" content="1"/>
- <meta name="if:Link to liked posts" content="0"/>
- <meta name="if:Link to theme" content="0"/>
- <meta name="if:Infinite Scroll" content="0">
- <meta name="text:Disqus Shortname" content=""/>
- <meta name="google-site-verification" content="MT3It8dQ99jHpEUKcJlplpLI7ICKYkE4hAOCya_7aFc" />
- <meta property="fb:admins" content="100001556051180" />
- <meta content='SECTION : One-Stop' property='og:title'/>
- <meta content='website' property='og:type'>
- <meta content='http://static.tumblr.com/ijt06jz/N65ne1c7m/ss.jpg' property='og:image'>
- <meta content="SECTION Portofolio and Personal Blog" property='og:description'>
- <meta property="og:site_name" content="SECTION : One-stop" />
- <meta content='http://akasection.tumblr.com/' property='og:url'/>
- <meta name="keywords" content="section,album,axection,akasection,blog,tumblr,portofolio,senja">
- <meta name="description" content="SECTION Personal Blog">
- <meta name="robots" content="index">
- <meta name="author" content="SECTION">
- <meta name="viewport" content="width=550px, initial-scale=0.5">
- <link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}"/>
- <link rel="icon" href="{Favicon}"/>
- <link href='http://fonts.googleapis.com/css?family=Signika:400,300,600' rel='stylesheet' type='text/css' />
- <link href='http://fonts.googleapis.com/css?family=Share+Tech' rel='stylesheet' type='text/css' />
- <link type="text/css" href="http://static.tumblr.com/1ksdjo3/SYnn62mce/jquery.jscrollpane.css" rel="stylesheet" media="all" />
- <link type="text/css" href="http://static.tumblr.com/ijt06jz/BDtndvu2a/owl.carousel.css" rel="stylesheet" />
- <link type="text/css" href="http://static.tumblr.com/ijt06jz/nFsndvrj0/animate.css" rel="stylesheet" />
- <link rel="stylesheet" href="http://static.tumblr.com/ijt06jz/9qGndzn60/mediaelementplayer.css" />
- <meta name="description" content="{MetaDescription}"/>
- <!--
- //
- // STYLE TIME
- //
- //
- -->
- <style type="text/css">
- html, body, div, span, object, iframe,
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
- a, abbr, acronym, address, b, cite, code,
- del, dfn, em, i, img, ins, kbd, q, samp,
- strike, strong, tt, var,
- dl, dt, dd, ol, ul, li,
- fieldset, form, label, legend,
- table, caption, tbody, tfoot, thead, tr, th, td
- {margin: 0; padding: 0; border: 0; outline: 0; font-size: inherit;
- line-height: inherit; vertical-align: baseline; background: transparent;}
- html {font-size:100.01%;}
- caption, cite, code, dfn, th, var {font-style: normal; font-weight: normal;}
- h1, h2, h3, h4, h5, h6 {font-weight: 300;}
- blockquote, q {quotes: none;}
- blockquote:before, blockquote:after, q:before, q:after {content: '';}
- :focus {outline: 0;}
- ins {text-decoration: underline;}
- del {text-decoration: line-through;}
- a {text-decoration: none;color:{color:Secondary};}
- html {background-color: {color:Background};}
- body {font-size: 12pt/18pt; font-family: 'Signika', sans-serif; {font:Body}; background-color: {color:Background}; color: {color:Text};}
- #body{ height:100vh; overflow:hidden; min-width:550px;}
- #content {position: relative; width: 500px; margin: auto;}
- h1 {font-size: 3em; line-height:1; padding:0.5em 0 1em; text-align:center;}
- h1 a {color: {color:Text}; padding: 0 0.25em; font-weight: bold;}
- h2, h3 {line-height:1em;font-weight:300;}
- p, pre, ul, ol, blockquote, form {margin: 9pt 0 18pt; line-height: 18pt;}
- blockquote {padding-left: 1em; margin-left: 2pt; border-left: 0.25em solid {color:Minor};}
- pre {overflow-x: auto; font-size: 11pt;}
- sup, sub {height: 0; line-height: 1; vertical-align: baseline; _vertical-align: bottom; position: relative;}
- sup {bottom: 0.5ex;}
- sub {top: 0.5ex;}
- sup a {font-weight: normal !important; padding: 0 1px;}
- hr {height: 0; margin: 0 0 18pt; border: solid {color:Minor}; border-width: 2pt 0 0;}
- #description {
- position: absolute;
- left: 530px;
- color: {color:Minor};
- font-size: 11pt;
- width: 10em;
- -webkit-transition: all 0.3s ease-in-out;
- -moz-transition: all 0.3s ease-in-out;
- -o-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
- }
- #description p, #description form, #description ul {margin-top: 0;}
- #description a {color: {color:Secondary};}
- #description a:hover {color: {color:Text};}
- #description form .input
- {background: {color:Background}; color: {color:Secondary}; font-size: 10pt;
- text-transform: lowercase; width: 90%; border: solid {color:Minor};
- border-width: 0 1px 1px 0;}
- #description .submit {height: 0; overflow: hidden; display: block;}
- #description .meta {list-style: none; word-spacing: 0.25em; font-size: 10pt; text-transform: uppercase;}
- #description .meta a {color: {color:Minor};}
- #description .meta a:hover {color: {color:Text};}
- /* POST PADDER */
- #posts {margin: 0;}
- .post {position: relative; list-style: none; margin-bottom: 4.5em;}
- .post ul li {list-style: square;}
- .post img {max-width: 100%;}
- .post-body h3 {font-size: 1.75em; position: relative;}
- .post-body a {font-weight: bold; color: {color:Link}; border-bottom: 1px solid transparent;}
- .post-body a:hover {color: {color:Text}; border-bottom-color: {color:Minor};}
- .post-body .image a {border-width: 0;}
- .post-body ul ul, .post-body ul ol, .post-body ol ol, .post-body ol ul,
- .post-body blockquote ul, .post-body blockquote ol {margin-left: 1.5em;}
- .permalink {font-size: 11pt; position: absolute; right: 530px; text-align: right;}
- .permalink a {color: {color:Minor}; white-space: nowrap; padding: 0 0 4.5pt 9pt;}
- .permalink a:hover {color: {color:Text};}
- a.disqus-permalink {text-transform: lowercase; padding-left: 0;}
- .caption, .cite {font-size: 11pt; margin-top: 9pt;}
- .caption p {margin-top: 18pt;}
- .text-post {position: relative; top: -2pt;}
- .text-post h3 {margin-bottom: 9pt;}
- .link-post {position: relative; top: -2pt;}
- .link-post h3 {display: inline; padding-right:9pt;}
- .link-post a {color: {color:Text};}
- .link-post a:hover {color: {color:Secondary};}
- .link-post a.link {color: {color:Link};}
- .link-post a.link:hover {color: {color:Text};}
- .quote-post {position: relative; top: -4.5pt;}
- .quote-post blockquote.quote
- {font-size: 18pt; line-height: 24pt; text-indent: -7pt;
- margin: 0; padding: 0; border-width: 0;}
- .quote-post .quote:before {content: '“';}
- .quote-post .quote:after {content: '”';}
- .quote-post .quote a {color: {color:Text};}
- .quote-post .quote a:hover {color: {color:Secondary};}
- .quote-post .cite {color: {color:Secondary}; margin-left: 1.5em; text-indent: -1.5em;}
- .chat-post li {list-style: none; margin-left: 2em; text-indent: -2em;}
- .chat-post b {font-weight: bold; padding-right: 4.5pt;}
- {block:IfSemitransparentAudioPlayer}
- .audio-post .audio {opacity: 0.75;}
- {/block:IfSemitransparentAudioPlayer}
- .post-source {color: {color:Secondary};}
- .post-source a {color: {color:Secondary};}
- .post-source a:hover {color: {color:Text};}
- .post-source .prefix {font-size: 0.9em; text-transform: uppercase;
- letter-spacing: 0.1em; word-spacing: 0.1em;}
- #disqus_thread {margin-top: 54pt;}
- #disqus_thread a {color: {color:Secondary};}
- .notes {color: {color:Minor}; margin-top: 2pt;}
- .notes li {list-style: none; margin-bottom: 2pt;}
- .notes img, .notes .clear {display: none;}
- .notes .photo_container img {display: block !important;}
- .notes a {color: {color:Secondary};}
- .notes a:hover {color: {color:Text};}
- .footnotes a[rev="footnote"] {color: {color:Secondary};}
- .footnotes hr {margin: 34pt 0 18pt;}
- #footer {text-align: center; margin-top:4.5em;}
- #footer a, #spacer a {{color:Secondary}; font-weight:normal;}
- #footer a:hover, #spacer a:hover {font-weight:bold;}
- /* ADDITIONAL */
- #topsection{
- width:100%;
- height:100%;
- position:relative;
- background-color:#000;
- background-position:center bottom;
- text-align:center;
- /* Animation */
- -webkit-transition: all 0.9s ease-in-out;
- -moz-transition: all 0.9s ease-in-out;
- -o-transition: all 0.9s ease-in-out;
- transition: all 0.9s ease-in-out;
- }
- #title{
- margin:0 0 0 0;
- color:#fff;
- font-size:48pt;
- padding-top:12px;
- letter-spacing:2pt;
- font-weight:200;
- text-shadow: none;
- -webkit-transition: 500ms linear 0s;
- -moz-transition: 500ms linear 0s;
- -o-transition: 500ms linear 0s;
- transition: 500ms linear 0s;
- outline: 0 none;
- }
- #title:hover, #title:focus
- {
- color: #fff;
- text-shadow: 0 0 4px #fff;
- }
- #subtitle{
- padding-top:16px;
- letter-spacing:5pt;
- color:#bbbbff;
- margin:0 0 0 0;
- font-weight:400;
- }
- .sublink{
- /* animation */
- text-shadow: none;
- -webkit-transition: 250ms linear 0s;
- -moz-transition: 250ms linear 0s;
- -o-transition: 250ms linear 0s;
- transition: 250ms linear 0s;
- outline: 0 none;
- }
- .sublink:hover{
- text-shadow: -2px -1px 8px #fff;
- text-shadow: 0 0 3px #fff;
- }
- #footsection{
- letter-spacing:4px;
- font-size:8pt;
- margin:0 0 0 0;
- padding-left:4px;
- }
- /*{CustomCSS} /**/
- #leftfoot{
- overflow:hidden;
- opacity:0;
- bottom:0;
- position:fixed;
- }
- .song-holder{
- bottom:50px;
- position:absolute;
- height:100px;
- text-align:left;
- padding-left:50px;
- /* Animation */
- -webkit-transition: all 0.4s ease-in-out 0.5s;
- -moz-transition: all 0.4s ease-in-out 0.5s;
- -o-transition: all 0.4s ease-in-out 0.5s;
- transition: all 0.4s ease-in-out 0.5s;
- }
- #newsfoot{
- bottom:0px;
- position:absolute;
- width:100%;
- text-align:right;
- padding-top:12px;
- background: url('http://static.tumblr.com/ijt06jz/BrHndxv8z/blackshade.png');
- background-repeat:repeat-x;
- /* Animation */
- -webkit-transition: all 0.7s ease-in-out 0.5s;
- -moz-transition: all 0.7s ease-in-out 0.5s;
- -o-transition: all 0.7s ease-in-out 0.5s;
- transition: all 0.7s ease-in-out 0.5s;
- }
- #leftarrow{
- left:0px;
- transform: rotate(180deg);
- }
- #rightarrow{
- right:0px;
- }
- .carousel-controls{
- width:50px;
- height:100%;
- position:absolute;
- background: url('http://static.tumblr.com/ijt06jz/cyTndw1vn/shade-right.png');
- background-repeat:repeat-y;
- top: 0px;
- text-align:right;
- padding-right:4px;
- /*Carousel Cleaning */
- -webkit-user-select: none;
- -khtml-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
- /* Carousel Animation */
- -webkit-transition: all 0.3s ease-in-out;
- -moz-transition: all 0.3s ease-in-out;
- -o-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
- }
- .carousel-controls img{
- position: relative;
- top: 50%;
- transform: translateY(-50%);
- }
- .carousel-controls:hover{
- width:78px;
- padding-right:12px;
- }
- #newsfoot img{
- margin-right:4px;
- }
- #poweredfoot{
- position:fixed;
- width:110%;
- text-align:left;
- height:48px;
- top:0px;
- background-color:rgba(0,0,0,0.76);
- box-shadow: -4px 2px 4px 0px #000;
- /* Animation */
- -webkit-transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- transition: all 0.5s ease-in-out;
- }
- #poweredfoot2{
- position: fixed;
- right: 2px;
- text-align: center;
- height: 48px;
- width: 52px;
- vertical-align: middle;
- opacity:0;
- top: 6px;
- /* Animation */
- -webkit-transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- transition: all 0.5s ease-in-out;
- }
- #poweredfootmid{
- font-family: 'Share Tech', sans-serif;
- position: fixed;
- left: 250px;
- width:650px;
- height: 48px;
- vertical-align:middle;
- top: 16px;
- word-spacing:1em;
- letter-spacing: 0.1em;
- font-size:10pt;
- }
- #poweredfootmid a{
- color:#fff;
- text-shadow: 0 0 6px rgba(100,255,255,0.5);
- -webkit-transition: all 0.2s ease-in-out;
- -moz-transition: all 0.2s ease-in-out;
- -o-transition: all 0.2s ease-in-out;
- transition: all 0.2s ease-in-out;
- }
- #poweredfootmid a:hover{
- color:#fff;
- text-shadow: 0 0 12px #ffffff;
- }
- #content{
- -webkit-transition: all 0.6s ease-in-out;
- -moz-transition: all 0.6s ease-in-out;
- -o-transition: all 0.6s ease-in-out;
- transition: all 0.6s ease-in-out;
- }
- .search::-webkit-input-placeholder
- {
- color:#fff;
- font-style:italic;
- }
- #hiddencontent{
- margin:24px 15% 0 15%;
- text-align:left;
- /*overflow:auto;*/
- }
- .hiddentitle{
- text-align:center;
- font-size:32pt;
- font-weight:200;
- }
- .hiddenheader{
- text-align:center;
- font-size:22pt;
- font-weight:600;
- }
- .hiddenimage{
- text-align:center;
- }
- #description.sticky{
- position: fixed;
- left: calc(50% + 275px);
- top: 15px;
- -webkit-transition: all 0s ease-in-out;
- -moz-transition: all 0s ease-in-out;
- -o-transition: all 0s ease-in-out;
- transition: all 0s ease-in-out;
- }
- /*additrional */
- body {
- top: 0;
- left: 0;
- bottom: 0;
- right: 0px;
- overflow-y: scroll;
- overflow-x: hidden;
- font-weight:300;
- letter-spacing: 0.02em;
- }
- html {
- background-color: #000;
- }
- /*
- ::-webkit-scrollbar {
- width: 8px;
- height: 8px;
- }
- ::-webkit-scrollbar-button:start:decrement,
- ::-webkit-scrollbar-button:end:increment {
- height: 0px;
- display: block;
- background-color: transparent;
- }
- ::-webkit-scrollbar-track-piece {
- background-color: transparent;
- }
- ::-webkit-scrollbar-thumb:vertical {
- height: 40px;
- background-color: #000;
- }
- ::-webkit-scrollbar-thumb:horizontal {
- width: 8px;
- background-color: #000;
- }
- */
- .rightscroller{
- top:0;
- bottom:0;
- display:block;
- position:fixed;
- right:0;
- width:25px;
- background-color:rgba(255,255,255,0);
- }
- #topcarousel{
- opacity:0;
- }
- #topcarousel .item{
- display: block;
- position: relative;
- top: 0px;
- right: 0px;
- bottom: 0px;
- left: 0px;
- height: 100vh;
- background-repeat: no-repeat;
- background-size: cover;
- background-position: bottom right; /* TODO:Nanti diganti jadi berubah2 tiap DIV */
- /* Maintain aspect ratio */
- max-height: 100%;
- max-width: 100%;
- }
- .owl-carousel {
- z-index: 0;
- }
- #carousel-control{
- position: absolute;
- top: 0;
- height: 100%;
- width: 100%;
- }
- .btn{
- cursor:pointer;
- }
- .navigator {
- color:white;
- -webkit-border-radius: 0;
- -moz-border-radius: 0;
- border-radius: 0px;
- -webkit-box-shadow: 0px 3px 1px #666666;
- -moz-box-shadow: 0px 3px 1px #666666;
- box-shadow: 0px 3px 1px #666666;
- background: #3d3d3d;
- padding: 10px 100px 10px 100px;
- border: solid #ffffff 1px;
- text-decoration: none;
- }
- .navigator:hover {
- background: #242424;
- text-decoration: none;
- }
- #spacer{
- position: relative;
- height: 150px;
- text-align: center;
- line-height: 200px;
- }
- #botsection{
- opacity: 1;
- height: 0;
- position: relative;
- overflow: auto;
- -webkit-transition: all 0.9s ease-in-out;
- -moz-transition: all 0.9s ease-in-out;
- -o-transition: all 0.9s ease-in-out;
- transition: all 0.9s ease-in-out;
- }
- #botoverlay{
- position:relative;
- }
- .blogicon{
- -webkit-transition: all 0.9s ease-in-out;
- -moz-transition: all 0.9s ease-in-out;
- -o-transition: all 0.9s ease-in-out;
- transition: all 0.9s ease-in-out;
- }
- .song-art{
- width:100px;
- height:100px;
- float:left;
- opacity:0;
- }
- .song-info{
- height:100px;
- float:right;
- padding-top:12px;
- opacity:0;
- }
- .song-info p{
- color:white;
- font-family: 'Share Tech', sans-serif;
- margin:0;
- padding-left:8px;
- text-shadow: 0 0 8pt black;
- -webkit-transition: all 0.6s ease-in-out;
- -moz-transition: all 0.6s ease-in-out;
- -o-transition: all 0.6s ease-in-out;
- transition: all 0.6s ease-in-out;
- }
- #song_title{
- font-size:34px;
- margin-bottom:4px;
- }
- #song_artist{
- font-size:18px;
- height:18px;
- }
- #song_art{
- width:100px;
- height:100px;
- box-shadow:0 0 8px black;
- }
- #song_album{
- font-size:14px;
- margin-bottom:0px;
- }
- #song_link{
- font-size:14px;
- margin-bottom:0px;
- line-height: 1em;
- }
- #songlink{
- font-size:14px;
- color: #ddefa7;
- margin-bottom:0px;
- }
- #footnote{
- font-size:8pt;
- /*line-height:normal; */
- margin:0;
- word-spacing:0.3em;
- }
- .preloader{
- text-align: center;
- background-color: #666;
- color: white;
- padding: 100px;
- }
- </style>
- <style type="text/css" id="page-css"></style>
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
- <script type="text/javascript" src="http://static.tumblr.com/1ksdjo3/fTnn79ft0/smoothscroll.js"></script>
- <script type="text/javascript" src="http://static.tumblr.com/1ksdjo3/7SKn62mc5/jquery.mousewheel.js"></script>
- <script type="text/javascript" src="http://static.tumblr.com/1ksdjo3/HO7n62mc3/jquery.jscrollpane.min.js"></script>
- <script type="text/javascript" src="http://static.tumblr.com/ijt06jz/TpOndvu26/owl.carousel.min.js"></script>
- <script src="http://static.tumblr.com/ijt06jz/Ei2ndzn4k/mediaelement-and-player.min.js"></script>
- <script src="http://static.tumblr.com/ijt06jz/K1Bne09dp/jquery.lazyload-any.min.js"></script>
- {block:IfInfiniteScroll}
- <script type="text/javascript" src="http://codysherman.tumblr.com/tools/infinite-scrolling/code"></script>
- {/block:IfInfiniteScroll}
- <script type="text/javascript">
- var isTranslating = 0;
- var CONSTANT_SONG_HIT = 4;
- var mediaplayer;
- var inBlog = 0;
- var lazyness;
- // Cache selectors outside callback for performance.
- $(function() {
- //sCROLLPANE
- $('.scroll-pane').jScrollPane();
- var win = $(window);
- // Full body scroll
- var isResizing = false;
- win.bind(
- 'resize',
- function()
- {
- if (!isResizing) {
- isResizing = true;
- var container = $('.full-page-container');
- // Temporarily make the container tiny so it doesn't influence the
- // calculation of the size of the document
- container.css(
- {
- 'width': 1,
- 'height': 1
- }
- );
- // Now make it the size of the window...
- container.css(
- {
- 'width': win.width(),
- 'height': win.height()
- }
- );
- isResizing = false;
- container.jScrollPane(
- {
- 'showArrows': true
- }
- );
- }
- }
- ).trigger('resize');
- // Workaround for known Opera issue which breaks demo (see
- // http://jscrollpane.kelvinluck.com/known_issues.html#opera-scrollbar )
- $('body').css('overflow', /*'hidden'*/'auto');
- // IE calculates the width incorrectly first time round (it
- // doesn't count the space used by the native scrollbar) so
- // we re-trigger if necessary.
- if ($('.full-page-container').width() != win.width()) {
- win.trigger('resize');
- }
- function load(img){
- img.fadeOut(0, function() {
- img.fadeIn(900);
- });
- }
- lazyness = $('.lazyload');
- lazyness.lazyload({
- load: load,
- });
- // Internal scrollpanes
- $('.scroll-pane').jScrollPane({showArrows: false});
- //END of Scrollpane
- $('a[href*=#]').click(function() {
- if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
- var target = $(this.hash);
- //property usage
- //console.log($(this).attr('href'));
- var a = '#toBot';
- var b = '#topsection';
- if ($(this).attr('href').indexOf(a) > -1) {
- toBot();
- return false;
- }
- if ($(this).attr('href').indexOf(b) > -1) {
- inBlog = 0;
- $('#poweredfoot2').css('opacity',0);
- $('#botsection').css('opacity',0);
- $('#botsection').animate({top:'0'}, {queue: false, duration: 900});
- $('#topsection').animate({top:'0'}, {queue: false, duration: 900});
- //Audio Controls
- if(inBlog == 0){
- $('audio').animate({volume: 1}, 1300);
- }
- setTimeout(function(){
- $('topcarousel').animate({opacity: 1.0}, 900);
- },900);
- setTimeout(function(){
- $('#botsection').css('overflow','hidden');
- $('#botsection').css('height','0');
- setTimeout(function(){
- $('.song-art').fadeTo(300,1);
- $('.song-info').fadeTo(300,1);
- $('.blogicon').css('opacity',1);
- },300);
- },1800);
- return false;
- }
- target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
- if (target.length) {
- $('html,body').animate({
- scrollTop: target.offset().top
- }, 1000);
- return false;
- }
- }
- });
- }); //end of ${(function)}
- $(document).ready(function() {
- var owl = $("#topcarousel");
- owl.owlCarousel({
- items:1,
- dots:true,
- navSpeed: 450,
- callbacks: true,
- mouseDrag: false,
- lazyLoad: true,
- touchDrag: false,
- pullDrag: false,
- animateOut: 'fadeOut',
- animateIn: 'fadeIn',
- loop: true,
- smartSpeed:500
- });
- $(".next").click(function(){
- if(isTranslating == 1)return false;
- owl.trigger('next.owl.carousel');
- //console.debug('ahaahahha next');
- });
- $(".prev").click(function(){
- if(isTranslating == 1)return false;
- owl.trigger('prev.owl.carousel');
- //console.debug('ahaahahha prev');
- });
- owl.on('translate.owl.carousel', function(event) {
- //console.log(event.page.index + " change");
- $('.song-art').fadeTo(400,0);
- $('.song-info').fadeTo(400,0);
- $('.prev').fadeTo(400,0);
- $('.next').fadeTo(400,0);
- $('audio').animate({volume: 0.0}, 1000);
- //owl.animate({opacity: 0.0}, 400);
- isTranslating = 1;
- setTimeout(function(){
- //change song
- //console.log(event.page.index);
- changeSong(event.page.index);
- },400);
- });
- owl.on('translated.owl.carousel', function(event) {
- if(inBlog == 0){
- $('audio').animate({volume: 1.0}, 500);
- }
- owl.animate({opacity: 1.0},2000);
- setTimeout(function(){
- $('.song-art').fadeTo(300,1);
- $('.song-info').fadeTo(300,1);
- $('.prev').fadeTo(400,1);
- $('.next').fadeTo(400,1);
- setTimeout(function(){
- isTranslating = 0;
- },300);
- },1000);
- });
- //Set Content Media Player
- mediaplayer = $('audio').mediaelementplayer({
- audioWidth: 100,
- audioHeight: 30,
- startVolume: 1,
- loop: true,
- features: ['playpause','progress','current','duration','tracks','volume'],
- pauseOtherPlayers: true
- });
- var hash = window.location.hash.substr(1);
- //console.log(hash);
- changeSong(CONSTANT_SONG_HIT);
- owl.trigger('to.owl.carousel',[CONSTANT_SONG_HIT]);
- if(hash.indexOf('toBot') > -1 ){
- toBot();
- }else{
- // TODO : Find pause AUDIO first :p
- }
- //console.log($(location).attr('href'));
- if ($(location).attr('href').indexOf('/page/') > -1 || $(location).attr('href').indexOf('/post/') > -1 ) {
- toBot();
- return false;
- }
- //Set play
- setTimeout(function(){
- $('.song-art').fadeTo(300,1);
- $('.song-info').fadeTo(300,1);
- },1000);
- }); //ready function end
- function toBot(){
- inBlog = 1;
- $('#botsection').css('opacity',1);
- $('#botsection').css('overflow','auto');
- $('#botsection').css('height','100%');
- $('#botsection').css('opacity',1);
- //vanishing and stop
- $('.song-art').fadeTo(500,0);
- $('.song-info').fadeTo(300,0);
- $('#poweredfoot2').css('opacity',1);
- $('#topsection').css('overflow','hidden');
- $('.blogicon').css('opacity',0);
- $('#botsection').animate({top:'-100%'}, {queue: false, duration: 900});
- $('#topsection').animate({top:'-100%'}, {queue: false, duration: 900});
- setTimeout(function(){
- $('topcarousel').animate({opacity: 0.0}, 900);
- },900);
- //Audio Controls
- $('audio').animate({volume: 0}, 2000);
- $.lazyload.check();
- $.lazyload.setInterval(500);
- }
- function scrollTo(hash) {
- location.hash = "#" + hash;
- }
- function changeSong(songIndex) {
- // song is integer
- // for now, use constant integer
- var title, artist, album,songurl,links,sq;
- switch(songIndex){
- case 0:
- title = 'Gong Xi! Qin Ling';
- artist = 'SECTION';
- album = 'See the Light';
- //songurl = 'http://k007.kiwi6.com/hotlink/tp8yh83kad/gongxiqinling.mp3';
- songurl = 'http://section.cengek.com/sounds/gongxiqinling.mp3';
- links = 'https://soundcloud.com/section/gong-xi-qin-ling-remaster';
- sq = 'http://section.cengek.com/assets/gongxi-sq.jpg';
- break;
- case 1:
- title = 'Reach for the Higher Skies';
- artist = 'SECTION x KSys';
- album = 'See the Light';
- //songurl = 'http://k007.kiwi6.com/hotlink/74gq7arebq/reachforthehigherskies.mp3';
- songurl = 'http://section.cengek.com/sounds/reachforthehigherskies.mp3';
- links = 'https://soundcloud.com/section/reach-for-the-higher-skies';
- sq = 'http://section.cengek.com/assets/reach-sq.jpg';
- break;
- case 2:
- title = 'Reversive';
- artist = 'SECTION';
- album = 'Termination Section';
- //songurl = 'http://k007.kiwi6.com/hotlink/45gcwzs8hl/reversive.mp3';
- songurl = 'http://section.cengek.com/sounds/reversive.mp3';
- links = 'https://soundcloud.com/section/section-reversive';
- sq = 'http://section.cengek.com/assets/reversive-sq.jpg';
- break;
- case 3:
- title = 'Statical Improvement';
- artist = 'SECTION';
- album = 'See the Light';
- //songurl = 'http://k007.kiwi6.com/hotlink/6404ayhxln/staticalimprovement.mp3';
- songurl = 'http://section.cengek.com/sounds/staticalimprovement.mp3';
- links = 'https://soundcloud.com/section/statical-improvement-2nd-mix';
- sq = 'http://section.cengek.com/assets/statical-sq.jpg';
- break;
- case 4:
- title = 'Yi Sui De';
- artist = 'SECTION';
- album = 'FL\'ASTRONAUT:Heart Zero';
- //songurl = 'http://k007.kiwi6.com/hotlink/o11imiguyg/yisuide.mp3';
- songurl = 'http://section.cengek.com/sounds/yisuide.mp3';
- links = 'https://soundcloud.com/gfl-ambient2014/section-yi-sui-de';
- sq = 'http://section.cengek.com/assets/yisuide-sq.jpg';
- break;
- }
- $('#song_title').text(title);
- $('#song_artist').text(artist);
- $('#song_album').text(album);
- $('#songlink').attr('href',links);
- $('#song_art').attr('src',sq);
- setTimeout(function(){
- $('audio').attr('src',songurl);
- $('audio').attr('volume',1);
- },800);
- }
- function loadPage(page){
- $('#hiddencontent').fadeTo(0,0);
- $('#hiddencontent').html("");
- if(page!='/gallery'){
- $('#hiddencontent').load(page);
- $('#hiddencontent').css('margin','24px 15% 0 15%');
- $('#hiddencontent').css('text-align','left');
- }else{
- $('#hiddencontent').html($('#photosection').html());
- $('#hiddencontent').css('margin','24px 8% 0 8%');
- $('#hiddencontent').css('text-align','center');
- }
- $('#hiddencontent').fadeTo(1300,0);
- $('#hiddencontent').fadeTo(600,1);
- }
- function msieversion() {
- var ua = window.navigator.userAgent;
- var msie = ua.indexOf("MSIE ");
- if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\:11\./)) // If Internet Explorer, return version number
- alert(parseInt(ua.substring(msie + 5, ua.indexOf(".", msie))));
- else // If another browser, return 0
- alert('otherbrowser');
- return false;
- }
- //Tumblr Teaser Denier
- (function (topWindow)
- {
- "use strict";
- if (window.self === topWindow)
- {
- var disableDownloadIframe = function ()
- {
- topWindow.addEventListener("DOMNodeInserted", function (event)
- {
- var sourceElement = event.srcElement;
- //console.log(sourceElement);
- if(sourceElement.nodeName.toLowerCase().indexOf('script') > -1){
- //console.log(sourceElement.src);
- if (sourceElement.src.indexOf('cedexis.com') > -1 )
- {
- if(msieversion == 0){
- sourceElement.remove();
- console.log('REMOVED!');
- }
- //window.open(downloadLink);
- }
- }
- }, false);
- };
- disableDownloadIframe.call(this);
- }
- }(window.top));
- </script>
- </head>
- <!--
- //
- // BODY TIME
- //
- //
- -->
- <body>
- <div id="body">
- <!--
- This is top section.
- This will contains front page
- -->
- <div id="topsection">
- <div id="topcarousel" class="owl-carousel owl-theme">
- <div class="item owl-lazy" data-src="http://section.cengek.com/assets/gongxi.jpg" style="
- background-position:center center;" ></div>
- <div class="item owl-lazy" data-src="http://section.cengek.com/assets/reach.jpg" style="
- background-position:center right;" ></div>
- <div class="item owl-lazy" data-src="http://section.cengek.com/assets/reversive.jpg" style="
- background-position:bottom center;" ></div>
- <div class="item owl-lazy" data-src="http://section.cengek.com/assets/statical.jpg" style="
- background-position:bottom center;" ></div>
- <div class="item owl-lazy" data-src="http://section.cengek.com/assets/yisuide.jpg" style="
- background-position:center center;" ></div>
- </div>
- <!-- FOOTER OF TOP SECTION HERE-->
- <a class="btn prev owl-prev">
- <span id="leftarrow" class="carousel-controls owl-prev">
- <img src="http://static.tumblr.com/ijt06jz/hehndw3cp/arrow.png" width="36px" height="36px" />
- </span>
- </a>
- <a class="btn next owl-next">
- <span id="rightarrow" class="carousel-controls owl-next">
- <img src="http://static.tumblr.com/ijt06jz/hehndw3cp/arrow.png" width="36px" height="36px" />
- </span>
- </a>
- <div id="newsfoot">
- <a class ='blogicon' href="#toBot">
- <img src="http://static.tumblr.com/ijt06jz/x4andvvqp/blog.png" width="72px" height="72px" />
- </a>
- </div>
- <div class="song-holder">
- <div class="song-art">
- <img id="song_art" src="http://placehold.it/100x100&text=Cover%20Art" />
- </div>
- <div class="song-info">
- <p id="song_title"> INSERT_TITLE_HERE</p>
- <p id="song_artist"> insert_artist_here</p>
- <p id="song_album" > insert_album_here</p>
- <p id="song_link"><a id="songlink" href="#" target="_blank"> Song Link </a></p>
- </div>
- </div>
- </div>
- <div id="botsection">
- <div id="botoverlay">
- <div id="spacer">
- {block:PreviousPage}
- <a class="navigator" href="{PreviousPage}#toBot" title="Next Posts">Latest Posts</a>
- {/block:PreviousPage}
- </div>
- <!-- Content -->
- <div id="content">
- <div id="description">
- {block:HasPages}
- <ul class="pages meta">
- {block:Pages}
- <li>
- <a href="{URL}#toBot">{Label}</a>
- </li>
- {/block:Pages}
- </ul>
- {/block:HasPages}
- </div> <!-- end of #description -->
- <script>
- var $window = $(window),
- $stickyEl = $('#description'),
- elTop = $stickyEl.offset().top;
- $window.scroll(function() {
- $stickyEl.toggleClass('sticky', $window.scrollTop() > elTop);
- });
- </script>
- <div class="autopagerize_page_element">
- <ul id="posts">
- {block:Posts}
- <li class="post {TagsAsClasses}">
- {block:Date}
- <h2 class="permalink">
- {block:NewDayDate}
- <a title="{NoteCountWithLabel}" href="{Permalink}#toBot">{DayOfMonthWithZero}-{MonthNumberWithZero}-{Year}</a>
- {/block:NewDayDate}
- {block:IfNotDisqusShortName}
- {block:IfNotShowTheNumberOfPostNotes}
- {block:SameDayDate}
- <a title="{NoteCountWithLabel}" href="{Permalink}#toBot">&rarrt</a>
- {/block:SameDayDate}
- {/block:IfNotShowTheNumberOfPostNotes}
- {/block:IfNotDisqusShortName}
- {block:IfShowTheNumberOfPostNotes}
- <a href="{Permalink}#toBot">{NoteCountWithLabel}</a>
- {/block:IfShowTheNumberOfPostNotes}
- {block:IfDisqusShortname}
- <a title="Disqus comments" class="disqus-permalink" href="{Permalink}#toBot"></a>
- {/block:IfDisqusShortname}
- </h2>
- {/block:Date}
- {block:Regular}
- <div class="post-body text-post">
- {block:Title}
- <h3>{Title}</h3>
- {/block:Title}
- <div class="lazyload">
- <p class="preloader">"Scroll to Load Post"</p>
- <!--
- {Body}
- -->
- </div>
- </div> <!-- post-body text-post -->
- {/block:Regular}
- {block:Link}
- <div class="post-body link-post">
- <h3>
- <a class="link" href="{URL}#toBot">{Name}</a>
- </h3>
- {block:Description}
- {Description}
- {/block:Description}
- </div> <!-- end post-body link-post -->
- {/block:Link}
- {block:Photo}
- <div class="post-body image-post">
- <div class="image lazyload">
- <p class="preloader">"Scroll to Load Post"</p>
- <!--
- {LinkOpenTag}
- <img src="{PhotoURL-500}" alt="{PhotoAlt}"/>
- {LinkCloseTag}
- -->
- </div>
- {block:Caption}
- <div class="caption">
- {Caption}
- </div>
- {/block:Caption}
- </div> <!-- end post-body image-post -->
- {/block:Photo}
- {block:Video}
- <div class="post-body video-post">
- <div class="lazyload">
- <p class="preloader">"Scroll to Load Post"</p>
- <!--
- {Video-500}
- -->
- </div>
- {block:Caption}
- <div class="caption">
- {Caption}
- </div>
- {/block:Caption}
- </div>
- {/block:Video}
- {block:Audio}
- <div class="post-body audio-post">
- <div class="audio lazyload">
- <p class="preloader">"Scroll to Load Post"</p>
- <!--
- {AudioPlayerBlack}
- -->
- </div>
- {block:Caption}
- <div class="caption">
- {Caption}
- </div>
- {/block:Caption}
- </div>
- {/block:Audio}
- {block:Quote}
- <div class="post-body quote-post">
- <blockquote class="quote lazyload">
- <p class="preloader">"Scroll to Load Post"</p>
- <!--
- {Quote}
- -->
- </blockquote>
- {block:Source}
- <p class="cite">— {Source}</p>
- {/block:Source}
- </div>
- {/block:Quote}
- {block:Conversation}
- <div class="post-body chat-post">
- {block:Title}
- <h3>{Title}</h3>
- {/block:Title}
- <ol class="lazyload">
- <p class="preloader">"Scroll to Load Post"</p>
- <!--
- {block:Lines}
- <li>
- {block:Label}
- <b class="label">{Label}</b>
- {/block:Label}
- {Line}
- </li>
- -->
- {/block:Lines}
- </ol>
- </div>
- {/block:Conversation}
- {block:ContentSource}
- <p class="post-source">
- <span class="prefix">{lang:Source}:</span>
- <div class="lazyload">
- <p class="preloader">"Scroll to Load Post"</p>
- <!--
- {SourceLink}
- -->
- </div>
- </p>
- {/block:ContentSource}
- {block:Permalink}
- {block:IfDisqusShortname}
- <div id="disqus_thread"></div>
- <script type="text/javascript" src="http://disqus.com/forums/{text:Disqus Shortname}/embed.js"></script>
- <noscript>
- <a href="http://{text:Disqus Shortname}.disqus.com/?url=ref">{lang:View the discussion thread}</a>
- </noscript>
- {/block:IfDisqusShortname}
- {/block:Permalink}
- {block:IfShowPostNotes}
- {block:PostNotes}
- {PostNotes}
- {/block:PostNotes}
- {/block:IfShowPostNotes}
- </li> <!-- END LI post .TagsAsClasses. -->
- {/block:Posts}
- </ul> <!-- End UL POST -->
- </div> <!-- end authorize post -->
- <div id="footer">
- <!--<p><a id="loadmore"> Click here to load more post </a></p>-->
- {block:NextPage}
- <a class="navigator" href="{NextPage}#toBot" title="Previous Posts">Earlier Posts</a>
- {/block:NextPage}
- <p id="footnote"> <br> </p>
- <p id="footnote">Designed by SECTION | Based on <a href="https://www.tumblr.com/theme/1386" target="_blank">'o' by inky</a> and <a href="https://www.tumblr.com/theme/12051" target="_blank">'Minimalist' by PixelUnion</a></p>
- <p id="footnote">2014 | Creative Commons</p>
- </div>
- </div>
- </div>
- <!-- bot overlay -->
- </div>
- <!-- bot section -->
- <!-- Bottom section -->
- <div id="leftfoot">
- <audio id="audioplayer" width="300" height="24" loop="true" autoplay="true" preload="auto"> </audio>
- </div>
- <div id="poweredfoot">
- <a href="/#topsection">
- <img src="http://static.tumblr.com/ijt06jz/Wrkne14az/section-logo2.png" height="86px" />
- <!-- section logo -->
- </a>
- </div>
- <div id="poweredfootmid">
- <a href="https://www.tumblr.com/register/follow/akasection" target="_blank">Follow </a>
- <a href="http://fb.com/akasection" target="_blank">Facebook </a>
- <a href="http://soundcloud.com/section" target="_blank">SoundCloud </a>
- <a href="http://axection.deviantart.com/" target="_blank">DeviantArt </a>
- <a href="http://steamcommunity.com/id/section" target="_blank">SteamID </a>
- <a style="font-size: 11pt;
- text-shadow: 0 0 20px cyan"
- href="http://about.me/SECTION" target="_blank"> About.SECTION </a>
- </div>
- <div id="poweredfoot2">
- <a href="#topsection">
- <img src="http://static.tumblr.com/ijt06jz/aJendxeic/back-top.png" height="36px" />
- <!-- top logo -->
- </a>
- </div>
- </div>
- {block:IfDisqusShortname}
- <script type="text/javascript">
- //<![CDATA[
- (function() {
- var links = document.getElementsByTagName('a');
- var query = '?';
- for(var i = 0; i < links.length; i++) {
- if(links[i].href.indexOf('#disqus_thread') >= 0) {
- query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
- }
- }
- document.write('<script charset="utf-8" type="text/javascript" src="http://disqus.com/forums/{text:Disqus Shortname}/get_num_replies.js' + query + '"></' + 'script>');
- })();
- //]]>
- </script>
- {/block:IfDisqusShortname}
- {block:IfGoogleAnalyticsID}
- <script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
- ga('create', '{text:Google Analytics ID}', 'tumblr.com');
- ga('send', 'pageview');
- </script>
- {/block:IfGoogleAnalyticsID}
- <!-- Is there any code here?
- -->
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment