Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- Ⓒfourleggedsandwich
- designed and coded by @fourleggedsandwich
- do not steal parts of my code, please credit me if used!
- -->
- <!DOCTYPE html>
- <html>
- <head>
- <meta name="color:Background" content="#f6f6f6"/>
- <meta name="color:Text" content="#909090"/>
- <meta name="color:Link" content="#550209"/>
- <meta name="color:Post BG" content="#ffffff"/>
- <meta name="color:Buttons" content="#ffffff"/>
- <meta name="color:Active Buttons" content="#ffffff"/>
- <meta name="color:Border" content="#e9e9e9"/>
- <meta name="color:Accent" content="#B49594">
- <meta name="color:Highlight" content="#B49594">
- <meta name="color:Text Shadow" content="#878787">
- <meta name="color:Chum One Color" content="#e9e9e9">
- <meta name="color:Chum Two Color" content="#e9e9e9">
- <meta name="color:Chum Three Color" content="#e9e9e9">
- <meta name="color:Chum Four Color" content="#e9e9e9">
- <meta name="color:Chum Five Color" content="#e9e9e9">
- <meta name="color:Chum Six Color" content="#e9e9e9">
- <meta name="image:Sidebar" content=""/>
- <meta name="image:Background" content=""/>
- <meta name="image:Favicon" content=""/>
- <meta name="image:Custom Cursor" content=""/>
- <meta name="image:Mood" content=""/>
- <meta name="if:Show Blog Title" content="1"/>
- <meta name="if:Show Description" content="1"/>
- <meta name="if:Show Links" content="1"/>
- <meta name="if:Show Tags" content="1"/>
- <meta name="if:Background Repeat" content="1"/>
- <meta name="if:Custom Link 1" content="1"/>
- <meta name="if:Custom Link 2" content="1"/>
- <meta name="if:Custom Link 3" content="1"/>
- <meta name="if:Music Player" content="1"/>
- <meta name="if:Toggle Bold" content="1"/>
- <meta name="text:Title Font Size" content="14px"/>
- <meta name="text:Font Size" content="10px"/>
- <meta name="text:About" content=""/>
- <meta name="text:Link 1 Title" content="one"/>
- <meta name="text:Link 1 url" content="/"/>
- <meta name="text:Link 2 Title" content="two"/>
- <meta name="text:Link 2 url" content="/"/>
- <meta name="text:Link 3 Title" content="three"/>
- <meta name="text:Link 3 url" content="/"/>
- <meta name="text:Chum One" content="CHUM ONE"/>
- <meta name="text:Chum Two" content="CHUM TWO"/>
- <meta name="text:Chum Three" content="CHUM THREE"/>
- <meta name="text:Chum Four" content="CHUM FOUR"/>
- <meta name="text:Chum Five" content="CHUM FIVE"/>
- <meta name="text:Chum Six" content="CHUM SIX"/>
- <meta name="text:Mood and Cursor Links" content=""/>
- <meta name="select:Font" content="trebuchet ms">
- <meta name="select:Font" content="lucida console">
- <meta name="select:Font" content="times new roman">
- <meta name="select:Font" content="georgia">
- <meta name="select:Font" content="verdana">
- <meta name="select:Font" content="courier new">
- <meta name="select:Font" content="arial">
- <meta name="select:Font" content="calibri">
- <meta name="select:Font" content="consolas">
- <meta name="select:Font" content="ms gothic">
- <meta name="if:Custom Cursor" content="1"/>
- <meta name="select:Title Font" content="trebuchet ms">
- <meta name="select:Title Font" content="lucida console">
- <meta name="select:Title Font" content="times new roman">
- <meta name="select:Title Font" content="georgia">
- <meta name="select:Title Font" content="verdana">
- <meta name="select:Title Font" content="courier new">
- <meta name="select:Title Font" content="arial">
- <meta name="select:Title Font" content="calibri">
- <meta name="select:Title Font" content="consolas">
- <meta name="select:Title Font" content="ms gothic">
- <meta name="select:Description Text Align" content="justify">
- <meta name="select:Description Text Align" content="center">
- <meta name="select:Description Text Align" content="left">
- <meta name="select:Description Text Align" content="right">
- <title>{Title}</title>
- <link rel="shortcut icon" href="{image:Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- <link href="https://static.tumblr.com/wgijwsy/k1Hm9ei8b/normalize.css" rel="stylesheet" type="text/css" />
- <style type="text/css">
- /* TUMBLR CONTROLS */
- iframe.tmblr-iframe {
- z-index:99999999999999!important;
- top:0!important;
- right:0!important;
- opacity:0.4;
- /* delete invert(1) from here */
- filter:invert(1) contrast(150%);
- -webkit-filter:invert(1) contrast(150%);
- -o-filter:invert(1) contrast(150%);
- -moz-filter:invert(1) contrast(150%);
- -ms-filter:invert(1) contrast(150%);
- /* to here if your blog has a dark background */
- transform:scale(0.65);
- transform-origin:100% 0;
- -webkit-transform:scale(0.65);
- -webkit-transform-origin:100% 0;
- -o-transform:scale(0.65);
- -o-transform-origin:100% 0;
- -moz-transform:scale(0.65);
- -moz-transform-origin:100% 0;
- -ms-transform:scale(0.65);
- -ms-transform-origin:100% 0;}
- iframe.tmblr-iframe:hover {
- opacity:0.6!important;}
- /* TOOLTIPS */
- #s-m-t-tooltip{
- font-size:8px;
- color:#000;
- background-color:#fff;
- letter-spacing:2px;
- min-width:50px;
- max-width:200px;
- overflow:auto;
- text-transform:uppercase;
- font-style:italic;
- display: none;
- position: absolute;
- z-index: 999999999999;
- padding:5px;
- margin:30px 0 15px 10px;
- -webkit-transition: all 0.2s ease-in-out;
- -moz-transition: all 0.2s ease-in-out;
- transition: all 0.2s ease-in-out;}
- /* SCROLLBAR */
- /* SELECTION */
- ::selection {
- color: {color:Accent};
- background: {color:Background};
- }
- ::-moz-selection {
- color: {color:Accent};
- background: {color:Background};
- }
- #content {
- width: 500px!important;
- padding: 5px;
- z-index: 300;
- margin: auto;
- }
- body {
- background-color: {color:background};
- background-image: url({image:background});
- background-attachment:fixed;
- {block:ifBackgroundRepeat}
- background-repeat:repeat;
- {/block:ifBackgroundRepeat}
- {block:ifnotBackgroundRepeat}
- background-repeat:no-repeat;
- background-size: 100% 100%;
- {/block:ifnotBackgroundRepeat}
- background-position:left;
- font-family: {select:Font};
- font-size: {text:Font Size};
- color: {color:text};
- }
- a {
- color: {color:link};
- text-decoration:none;
- }
- blockquote {
- padding-left:5px;
- border-left:1px dotted;
- color: {color:text};
- margin-left:3px;
- margin-bottom:5px;
- }
- iframe, img, embed, object, video {
- max-width: 100%;
- }
- img {
- height: auto;
- width: auto;
- }
- #sidebar {
- height:auto;
- width:250px;
- margin-top:230px;
- margin-left:56px;
- position:fixed;
- background: {color:post bg};
- color:{color:text};
- border: 1px solid {color:border};
- font-size: 10px;
- font-family:arial;
- text-align:center;
- {block:IfToggleBold} font-weight: bold; {/block:IfToggleBold}
- border-top: 20px solid;
- border-left: 3px solid;
- border-right: 3px solid;
- border-bottom: 3px solid;
- border-radius:10px;
- border-image:url('https://pipe.miroware.io/5c830280f93a5e60805a89a6/trollcontainer.png') 21 4 4 4 stretch;
- }
- #blogtitle {
- font-size:2em;
- font-weight:bold;
- padding-top:10px;
- font-family: {select:Title Font};
- text-shadow: 3px 3px 3px {color:Text Shadow};
- }
- .description {
- text-align:{select:description text align};
- font-family: {select:Font};
- font-size: {text:Font Size};
- color: {color:text};
- padding:16px;
- }
- #navlinks {
- margin:4px;
- }
- article {
- background: {color:post bg};
- border: 1px dotted {color:border};
- width: 500!important;
- height: auto;
- padding-left:5px;
- padding-right:5px;
- padding-bottom: 10px;
- padding-top: 5px;
- overflow:auto;
- }
- .btn {
- border: 1px solid;
- border-radius:2px;
- background-color: {color:buttons};
- padding: 2px 2px;
- display: inline-block;
- }
- /* On mouse-over */
- .btn:hover {background: #eee;}
- .navbtns {color: {color:link};
- box-shadow: 2px 2px {color:Text Shadow};
- margin-bottom: 3px;
- }
- .header {
- height:100px;
- width: 100%;
- }
- article img {
- }
- .container {
- max-height:384px;
- max-width:550px;
- padding: 4px;
- width: 550px;
- margin-left: 32%;
- margin-top: 7%;
- position:fixed;
- overflow-y: scroll; overflow-x:hidden;
- border-top: 20px solid;
- border-left: 3px solid;
- border-right: 3px solid;
- border-bottom: 3px solid;
- border-image:url('https://pipe.miroware.io/5c830280f93a5e60805a89a6/trollcontainer.png') 21 4 4 4 stretch;
- border-radius:5px;
- background: #c6c3c6;
- z-index: 300;
- cursor: move;
- }
- #chumproll{
- width:200px;
- height:500px;
- position: fixed;
- right: -30px;
- margin-top: 5%;
- }
- #chumps {
- width:200px;
- height:500px;
- position: fixed;
- right: -30px;
- margin-top: 5%;
- }
- #about {
- font-family: {select:Title Font};
- color: {color:link};
- font-size: 14px;
- {block:IfToggleBold} font-weight: bold; {/block:IfToggleBold}
- }
- #abouttext {
- font-family: {select:Font};
- color: {color:text};
- font-size: {select:Font Size};
- padding-left: 14px;
- padding-right: 14px;
- text-align: center;
- {block:IfToggleBold} font-weight: bold; {/block:IfToggleBold}
- }
- .title {
- width: 430px;
- text-align:center;
- text-transform:none;
- font-family: "Courier New", Courier, monospace;
- font-size: {text:Title Font Size};
- padding: 3px;
- text-shadow: 3px 3px 3px {color:Text Shadow};
- }
- .text {
- font-family: {select:Font};
- font-size: {text:Font Size};
- color: {color:text};
- width:480px;
- {block:IfToggleBold} font-weight: bold; {/block:IfToggleBold}
- }
- .photo {
- }
- .photoset {
- overflow:auto;
- width:490px;
- }
- .quote {
- text-align:center;
- }
- .link {
- }
- .audio {
- height:100%;
- padding: 4px;
- }
- .video{
- }
- .video-player {
- }
- .answer {
- }
- .ques {
- font-weight:bolder;
- }
- .ans {
- font-style:italic;
- }
- .chat{
- margin-left:-30px;
- }
- .chat span {
- float: left;
- margin-right: 10px;
- }
- .chat:nth-child(even) {
- background:#f9f9f9;
- }
- .odd{
- background:#f6f6f6;
- }
- .headerimg{
- position:fixed;
- top: 0px;
- width: 100%;
- z-index:20;
- }
- }
- #perma {
- text-align: center;
- position: relative;
- text-transform:uppercase;
- margin-top:2px;
- padding:4px;
- font-size: 8px;
- {block:PermalinkPage}
- display:none;
- {/block:PermalinkPage}
- {block:IfToggleBold} font-weight: bold; {/block:IfToggleBold}
- }
- #mydiv {
- position: absolute;
- z-index: 9;
- text-align: left;
- }
- #mydivheader {
- cursor: move;
- z-index: 10;
- }
- .image {
- height: 130px;
- width: 130px;
- position: absolute;
- margin-top: 75px;
- margin-left: 115px;
- border-width: 5px;
- border-style: solid;
- background-color: #a30410;
- border-radius:10px;
- border-image:url('https://pipe.miroware.io/5c830280f93a5e60805a89a6/trollcontainer.png') 21 4 4 4 stretch;
- }
- }
- .container {
- cursor: move;
- z-index: 10;
- }
- .timeline {
- overflow: scroll;
- }
- .tumblr_audio_player {
- width: 100%;
- height: 100px;
- overflow: hidden;
- position: relative;
- z-index: 1000;
- }
- .pagination {
- }
- {block:ifnotinfinitescroll}
- .pagi {
- }
- {/block:ifnotinfinitescroll}
- hr {
- width:75%;
- border-top:1px solid {color:Borders};
- }
- caption {
- margin:12px;
- }
- .text-block {
- position: absolute;
- top: -4px;
- right: 105px;
- color: white;
- padding-left: 20px;
- padding-right: 20px;
- z-index:40;
- font-weight: bold;
- }
- .text-block2 {
- position: absolute;
- top: 110px;
- right: 0px;
- width: 160px;
- color: black;
- z-index:4;
- font-weight: bold;
- }
- .mood-block {
- text-align: left;
- margin-left: 60px;
- }
- .moodimage{
- position:absolute;
- margin-left: 140px;
- margin-top: -11px;
- }
- .moodcontainer {
- position: absolute;
- background-color: black;
- color: white;
- padding-left: 20px;
- padding-right: 20px;
- padding-top: 5px;
- width: 180px;
- border: 1px solid red;
- height: 20px;
- }
- .text-chum-1 {
- position: absolute;
- top: -5px;
- left: 0px;
- color: {color:Chum One Color};
- z-index:4;
- font-weight: bold;
- }
- .text-chum-2 {
- position: absolute;
- top: 15px;
- left: 0px;
- color: {color:Chum Two Color};
- z-index:40;
- font-weight: bold;
- }
- .text-chum-3 {
- position: absolute;
- top: 35px;
- left: 0px;
- color: {color:Chum Three Color};
- z-index:4;
- font-weight: bold;
- }
- .text-chum-4 {
- position: absolute;
- top: 55px;
- left: 0px;
- color: {color:Chum Four Color};
- z-index:40;
- font-weight: bold;
- }
- .text-chum-5 {
- position: absolute;
- top: 75px;
- left: 0px;
- color: {color:Chum Five Color};
- z-index:4;
- font-weight: bold;
- }
- .text-chum-6 {
- position: absolute;
- top: 95px;
- left: 0px;
- color: {color:Chum Six Color};
- z-index:40;
- font-weight: bold;
- }
- /* Style the tab */
- .tab {
- overflow: hidden;
- border: 1px solid #ccc;
- background-color: #c6c3c6;
- }
- /* Style the buttons that are used to open the tab content */
- .tab button {
- background-color: {color:buttons};
- float: center;
- border: none;
- outline: none;
- cursor: pointer;
- padding: 4px 6px;
- transition: 0.3s;
- color: {color:link};
- }
- /* Change background color of buttons on hover */
- .tab button:hover {
- background-color: {color:active buttons};
- }
- /* Create an active/current tablink class */
- .tab button.active {
- background-color: {color:buttons};
- }
- /* Style the tab content */
- .tabcontent {
- display: none;
- }
- *, body, a{cursor: url({select:""}), auto}
- </style>
- </head>
- <body>
- {block:IfMusicPlayer}
- <!-- Wikplayer https://www.wikplayer.com -->
- <script type="text/javascript" src="https://www.wikplayer.com/code.js"
- data-config="{'skin':'skins/wikmini/funkyMiniOrange/skin.css','volume':36,'autoplay':false,'shuffle':false,'repeat':0,'showcomment':false,'marqueetexton':true,'placement':'mini','showplaylist':false,'playlist':[{'title':'Elevatorstuck','url':'https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DV0RJPFOpBlg'},{'title':'Sburban%20Jungle','url':'https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DgOSnen64a7M'},{'title':'Black','url':'https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D5NACWZBDtN8'},{'title':'Collide','url':'https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DIdrTc-6wS-k'},{'title':'Clockstopper','url':'https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DCO5IN60Nt9E'},{'title':'Megalovania','url':'https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DZcoqR9Bwx1Y'}]}" ></script>
- <!-- Wikplayer code end -->
- {/block:IfMusicPlayer}
- <!--------------------------------- CURSOR --------------------------------->
- {block:IfCustomCursor}
- <style type="text/css"> body {cursor: url({image:Custom Cursor}), auto;} a, a:hover{cursor:url({image:Custom Cursor Links}), auto;}
- </style>
- <div style="position:fixed; background:rgba(0,0,0,0); top:0px; left:0px; width:100%; height:100%; z-index: -99999999999999;"></div>{/block:IfCustomCursor}
- <!--------------------------------- CURSOR --------------------------------->
- <div id="image"><img src="{image:Sidebar}" class= "image"/></div>
- <div class ="headerimg"><img src="https://pipe.miroware.io/5c830280f93a5e60805a89a6/ttrollianheader.png"></div>
- <div id="chumproll"><img src="https://pipe.miroware.io/5c830280f93a5e60805a89a6/chumproll.png"><div class="text-block"><p>Chumproll</p></div></div>
- <div class="text-block2"><p><div class="text-chum-1"><font size="+1">⬤</font> {text:Chum One}</div><div class="text-chum-2"><font size="+1">⬤</font> {text:Chum Two}</div><div class="text-chum-3"><font size="+1">⬤</font> {text:Chum Three}</div><div class="text-chum-4"><font size="+1">⬤</font> {text:Chum Four}</div><div class="text-chum-5"><font size="+1">⬤</font> {text:Chum Five}</div><div class="text-chum-6"><font size="+1">⬤</font> {text:Chum Six}</div></p></div>
- </div>
- <div class="mydiv2">
- <div id="sidebar">
- <!-- Tab links -->
- <div class="tab">
- <button class="tablinks" onclick="openCity(event, 'Trollian')" id="defaultOpen">Trollian</button>
- <button class="tablinks" onclick="openCity(event, 'View')">View</button>
- <button class="tablinks" onclick="openCity(event, 'Window')">Window</button>
- <button class="tablinks" onclick="openCity(event, 'Help')">Help</button>
- </div>
- <div id="Trollian" class="tabcontent">
- {block:ifshowblogtitle}
- <div id="blogtitle"><a href="/">{Title}</a></div><hr>
- {/block:ifshowblogtitle}
- {block:ifshowdescription}
- <div class="description">{Description}
- {/block:ifshowdescription}
- <p><div class="moodcontainer">
- <div class="mood-block">
- Mood:
- </div>
- </div></div>
- <div class="moodimage"><img src={image:Mood}></div>
- <br><div id="blogtitle">{block:PreviousPage}<a href="{PreviousPage}"> <== </a>{/block:PreviousPage}
- {block:NextPage}<a href="{NextPage}"> ==></a>{/block:NextPage}
- </div></div>
- <div id="View" class="tabcontent">
- <p><img src="https://pipe.miroware.io/5c830280f93a5e60805a89a6/timelines.png"></p>
- </div>
- <div id="Window" class="tabcontent">
- <p><div id="about">About</div><hr></p>
- <p><div id="abouttext">{text:About}</div></p>
- </div>
- <div id="Help" class="tabcontent">
- <p><div id="about">Help</div><hr></p>
- <p><form action="/search" method="get" class="sfm">
- <input type="text" name="q" value="{SearchQuery}" id="sf"/>
- <input type="submit" value="Search" id="sb"/>
- </form></p>
- </div>
- <br>{block:ifshowlinks}
- <div id="navlinks">
- <button class="btn navbtns"><a href="/ask">ask</button></a>
- <button class="btn navbtns"><a href="/archive">archive</a></button>
- <button class="btn navbtns">{block:ifcustomlink1}<a href="{text:link 1 url}">{text:link 1 title}</a>{/block:ifcustomlink1}</button>
- <button class="btn navbtns">{block:ifcustomlink2}<a href="{text:link 2 url}">{text:link 2 title}</a>{/block:ifcustomlink2} </button>
- <button class="btn navbtns">{block:ifcustomlink3}<a href="{text:link 3 url}">{text:link 3 title}</a>{/block:ifcustomlink3}</button>
- <button class="btn navbtns"><a href="https://fourleggedsandwich.tumblr.com" title="theme by fourleggedsandwich">theme</a></button>
- </div>
- {/block:ifshowlinks}
- </div>
- </div>
- <nav>
- <ul>
- {block:HasPages}
- {block:Pages}
- <li> <a href="{URL}">{Label}</a></li>
- {/block:Pages}
- {/block:HasPages}
- </ul>
- </nav>
- </div>
- <div id="mydiv">
- <div class="container">
- <div id="content">
- {block:Posts}
- <article>
- {block:Text}
- <div class="text">
- {block:Title}<h1 class="title">
- <a href="{Permalink}">{Title}</a>
- </h1><hr>{/block:Title}
- {Body}
- {/block:Text}
- {block:Photo}
- <div class="photo">
- {LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}" />{LinkCloseTag}
- {block:Caption}{Caption}{/block:Caption}
- {/block:Photo}
- {block:Photoset}
- <div class="photoset">
- {block:IndexPage}
- {Photoset-500}
- {/block:IndexPage}
- {block:PermalinkPage}
- {Photoset-500}
- {/block:PermalinkPage}
- {block:Caption}{Caption}{/block:Caption}
- {/block:Photoset}
- {block:Quote}
- <div class="quote">
- ❝ {Quote} ❞
- <br><br>{block:Source}<cite>— {Source}</cite>{/block:Source}
- {/block:Quote}
- {block:Link}
- <div class="link">
- <h1 class="title"><a href="{URL}">{Name}</a><hr></h1>
- {block:Description}{Description}{/block:Description}
- {/block:Link}
- {block:Chat}
- <div class="chat">
- <ul>
- {block:Lines}
- <div class="{Alt} user_{UserNumber}">
- {block:Label}
- <b>{Label}</b>{/block:Label}
- {Line}
- </div>
- {/block:Lines}
- </ul>
- {/block:Chat}
- {block:Audio}
- <div class="audio">
- {block:AlbumArt}
- <img src="{AlbumArtURL}" width="100px" height="100px"/>
- {/block:AlbumArt}
- {block:AudioEmbed}
- {AudioEmbed}
- {/block:AudioEmbed}<br>
- {block:TrackName}
- <b>track:</b> {TrackName}
- {/block:TrackName}</span><br>
- {block:Artist}
- <b>artist:</b> {Artist}
- {/block:Artist}
- {block:Caption}
- {Caption}
- {/block:Caption}
- {/block:Audio}
- {block:Video}
- <div class="video">
- <div class="video-player">{Video-500}</div>
- {block:Caption}{Caption}{/block:Caption}
- {/block:Video}
- {block:Answer}
- <div class="answer">
- {Asker} asked: <b><div class="ques">{Question}</div></b>
- <div class="ans">{Answer}</div>
- {/block:Answer}
- </div>
- <div id="perma">
- <hr><a href="{Permalink}" title="this post has {NoteCount} notes">{NoteCount} <i class="fas fa-heart"></i></a> <a href="{reblogURL}" title="reblog this post">reblog</a> <a href="{Permalink}" title="posted — {ShortMonth} {DayOfMonth} {Year} {12Hour}:{Minutes}{AmPm}">{TimeAgo}</a> {block:ifShowTags}{block:HasTags} <a style="font-size:9px;" title="{block:Tags}#{Tag} {/block:Tags}"><i class="fas fa-hashtag"></i></a>{block:HasTags} {block:ifShowTags}
- </div>
- {block:PermalinkPage}
- {block:Date}{Month} {DayOfMonth}{DayOfMonthSuffix}, {Year}{/block:Date}
- {block:NoteCount} - {NoteCountWithLabel}{/block:NoteCount}
- {block:HasTags}</br>tagged as: {block:Tags}#<a href="{TagURL}">{Tag}</a> {/block:Tags}{/block:HasTags}
- {block:RebloggedFrom}</br>source: <a href="{ReblogRootURL}">{ReblogRootName}</a> - via: <a href="{ReblogParentURL}">{ReblogParentName}</a><br>{/block:RebloggedFrom}
- {block:PostNotes}{PostNotes-16}{/block:PostNotes}
- </div></div>
- {/block:PermalinkPage}
- </footer>
- </article>
- {/block:Posts}
- </div>
- </div>
- </div>
- <!-- SCRIPTS -->
- <script>
- function openCity(evt, cityName) {
- var i, tabcontent, tablinks;
- tabcontent = document.getElementsByClassName("tabcontent");
- for (i = 0; i < tabcontent.length; i++) {
- tabcontent[i].style.display = "none";
- }
- tablinks = document.getElementsByClassName("tablinks");
- for (i = 0; i < tablinks.length; i++) {
- tablinks[i].className = tablinks[i].className.replace(" active", "");
- }
- document.getElementById(cityName).style.display = "block";
- evt.currentTarget.className += " active";
- }
- </script>
- <script>
- // Get the element with id="defaultOpen" and click on it
- document.getElementById("defaultOpen").click();
- </script>
- <script>
- // Make the DIV element draggable:
- dragElement(document.getElementById("mydiv"));
- function dragElement(elmnt) {
- var pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0;
- if (document.getElementById(elmnt.id + "header")) {
- // if present, the header is where you move the DIV from:
- document.getElementById(elmnt.id + "header").onmousedown = dragMouseDown;
- } else {
- // otherwise, move the DIV from anywhere inside the DIV:
- elmnt.onmousedown = dragMouseDown;
- }
- function dragMouseDown(e) {
- e = e || window.event;
- e.preventDefault();
- // get the mouse cursor position at startup:
- pos3 = e.clientX;
- pos4 = e.clientY;
- document.onmouseup = closeDragElement;
- // call a function whenever the cursor moves:
- document.onmousemove = elementDrag;
- }
- function elementDrag(e) {
- e = e || window.event;
- e.preventDefault();
- // calculate the new cursor position:
- pos1 = pos3 - e.clientX;
- pos2 = pos4 - e.clientY;
- pos3 = e.clientX;
- pos4 = e.clientY;
- // set the element's new position:
- elmnt.style.top = (elmnt.offsetTop - pos2) + "px";
- elmnt.style.left = (elmnt.offsetLeft - pos1) + "px";
- }
- function closeDragElement() {
- // stop moving when mouse button is released:
- document.onmouseup = null;
- document.onmousemove = null;
- }
- }
- </script>
- <script>
- // Make the DIV element draggable:
- dragElement(document.getElementById("mydiv2"));
- function dragElement(elmnt) {
- var pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0;
- if (document.getElementById(elmnt.id + "header")) {
- // if present, the header is where you move the DIV from:
- document.getElementById(elmnt.id + "header").onmousedown = dragMouseDown;
- } else {
- // otherwise, move the DIV from anywhere inside the DIV:
- elmnt.onmousedown = dragMouseDown;
- }
- function dragMouseDown(e) {
- e = e || window.event;
- e.preventDefault();
- // get the mouse cursor position at startup:
- pos3 = e.clientX;
- pos4 = e.clientY;
- document.onmouseup = closeDragElement;
- // call a function whenever the cursor moves:
- document.onmousemove = elementDrag;
- }
- function elementDrag(e) {
- e = e || window.event;
- e.preventDefault();
- // calculate the new cursor position:
- pos1 = pos3 - e.clientX;
- pos2 = pos4 - e.clientY;
- pos3 = e.clientX;
- pos4 = e.clientY;
- // set the element's new position:
- elmnt.style.top = (elmnt.offsetTop - pos2) + "px";
- elmnt.style.left = (elmnt.offsetLeft - pos1) + "px";
- }
- function closeDragElement() {
- // stop moving when mouse button is released:
- document.onmouseup = null;
- document.onmousemove = null;
- }
- }
- </script>
- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
- <script src="https://static.tumblr.com/wgijwsy/Ebfm2v4gy/jquery.masonry.min.js"></script>
- {block:IfInfiniteScroll}
- <script src="https://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
- <script src="https://static.tumblr.com/iwtk77u/Yhym2yygt/jquery.imagesloaded.min.js"></script>
- {/block:IfInfiniteScroll}
- <script src="https://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
- <script>
- (function($){
- $(document).ready(function(){
- $("[title]").style_my_tooltips({
- tip_follows_cursor:true,
- tip_delay_time:0,
- tip_fade_speed:0
- }
- );
- });
- })(jQuery);
- </script>
- <script>
- (function() {
- var $tumblelog = $('#content');
- {block:IfInfiniteScroll}
- $tumblelog.infinitescroll({
- navSelector : ".pagination",
- nextSelector : ".pagination a:first",
- itemSelector : "article",
- bufferPx : 50,
- done : "",
- loading: {
- img : "",
- msgText: ""
- },
- },
- function( newElements ) {
- var $newElems = $( newElements ).css({ opacity: 0 });
- $newElems.imagesLoaded(function(){
- $newElems.animate({ opacity: 1 });
- $tumblelog.masonry( 'appended', $newElems);
- });
- }
- );
- {/block:IfInfiniteScroll}
- $tumblelog.imagesLoaded( function(){
- $tumblelog.masonry({
- columnWidth: function( containerWidth ) {
- return containerWidth / 100;
- }
- });
- });
- })();
- </script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.6/SmoothScroll.js"></script>
- <script>
- SmoothScroll({
- // Scrolling Core
- animationTime : 700, // [ms]
- stepSize : 100, // [px]
- // Acceleration
- accelerationDelta : 50, // 50
- accelerationMax : 3, // 3
- // Keyboard Settings
- keyboardSupport : true, // option
- arrowScroll : 100, // [px]
- // Pulse (less tweakable)
- // ratio of "tail" to "acceleration"
- pulseAlgorithm : true,
- pulseScale : 4,
- pulseNormalize : 1,
- // Other
- touchpadSupport : false, // ignore touchpad by default
- fixedBackground : true,
- excluded : ''
- });
- </script>
- <a href="https://fourleggedsandwich.tumblr.com" title="theme by fourleggedsandwich." style="position:fixed;font-size:18px;bottom:3px;left:5px;">
- <img src="https://pipe.miroware.io/5c830280f93a5e60805a89a6/reader.png">
- </a>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement