Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <title>Your Page Title</title>
- <head>
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script><script type="text/javascript" src="http://static.tumblr.com/7qjmkr5/IUmmdsy41/jquery.style-my-tooltips.js"></script><script>(function($){$(document).ready(function(){$("[title]").style_my_tooltips();});})(jQuery);</script>
- <style>
- body {
- background: url("http://www.desktopwallpaperhd.net/wallpapers/2/f/sunset-widescreen-red-background-wallpaper-sunsets-26911.jpg");
- background-size: cover;
- background-repeat: no-repeat;
- }
- /* Style the tab */
- div.tab {
- left: 15px;
- border: 1px solid #000; /* border color */
- background-color: #EC7063;
- width: 100px;
- border-radius: 20px 10px 10px 10px;
- z-index: 99999;
- position: absolute;
- background: url("https://scontent.cdninstagram.com/hphotos-xpf1/t51.2885-15/e15/11055923_396237250556283_1469732585_n.jpg");
- background-size: cover;
- }
- /* Style the buttons inside the tab */
- div.tab button {
- display: block;
- background-color: inherit;
- color: black; /* text color */
- margin: 15px 0px 15px 0px;
- padding: 5px 0px 5px 0px;
- text-align: center;
- width: 100%;
- border: none;
- outline: none;
- cursor: pointer;
- transition: 0.3s;
- font-size: 17px;
- }
- /* Change background color of buttons on hover */
- div.tab button:hover {
- background-color: #ddd; /* buttons color on hover */
- }
- /* Create an active/current "tab button" class */
- div.tab button.active {
- background-color: #ccc; /* button color while active */
- }
- iframe {display:none !important;}
- /* THIS IS THE BOX THAT HOLDS YOUR INFO */
- .info {
- text-align: center;
- margin: 0 auto;
- padding: 0px 12px;
- background: rgba(206, 136, 51, 0.8); /* background color */
- border: 1px solid #ccc; /* border color */
- width: 50%;
- color: black; /* text color */
- overflow: auto;
- height: 300px;
- border-radius: 10px;
- box-shadow: 10px 10px 10px #888888; /* box shadow color */
- margin-top: 5px;
- }
- /* Style the tab */
- div.links {
- right: 15px;
- border: 1px solid #000; /* border color */
- background-color: #EC7063;
- width: 100px;
- border-radius: 10px 20px 10px 10px;
- z-index: 99999;
- position: absolute;
- background: url("https://scontent.cdninstagram.com/hphotos-xpf1/t51.2885-15/e15/11055923_396237250556283_1469732585_n.jpg");
- background-size: cover;
- }
- /* Style the buttons inside the tab */
- div.links a {
- display: block;
- background-color: inherit;
- color: black; /* text color */
- margin: 15px 0px 15px 0px;
- padding: 5px 0px 5px 0px;
- text-align: center;
- width: 100%;
- border: none;
- outline: none;
- cursor: pointer;
- transition: 0.3s;
- font-size: 17px;
- text-decoration: none;
- }
- /* Change background color of buttons on hover */
- div.links a:hover {
- background-color: #ddd; /* buttons color on hover */
- }
- /* Let's get this party started */
- .info::-webkit-scrollbar {
- width: 5px;
- }
- /* Track */
- .info::-webkit-scrollbar-track {
- -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0);
- -webkit-border-radius: 10px;
- border-radius: 10px;
- }
- /* Handle */
- .info::-webkit-scrollbar-thumb {
- -webkit-border-radius: 10px;
- height:auto;
- border-radius: 10px;
- background: rgba(206, 136, 51, 0.8); /* scrollbar color */
- -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
- }
- /* headshot at top */
- .himg {
- border: 1px solid black; /* headshot image border */
- border-radius: 100px;
- padding: 5px;
- margin-top: 10px;
- background-color: white; /* headshot image background color */
- }
- #s-m-t-tooltip {
- position: relative;
- overflow: hidden;
- z-index: 99999;
- max-width: 200px;
- margin: 10px 0 0 10px;
- padding: 6px 6px 6px 6px;
- font-family: 'Raleway', sans-serif;
- background: #CE8833; /* link title background color */
- border: 0px solid black;
- border-radius: 5px;
- line-height: 100%;
- letter-spacing: 1px;
- color: #fff;
- font-size: 10px;
- font-weight: lighter;
- }
- /* this is for the credit please dont touch */
- .credit {
- position:fixed;
- background-color:
- #ffffff;
- right:10px;
- bottom:10px;
- padding:4px;
- color:#ffffff;
- border:1px solid #000000;
- font-size:10px;
- }
- .credit a {
- color: black;
- text-decoration: none;
- -webkit-transition: all 0.3s ease-in-out;
- -moz-transition: all 0.3s ease-in-out;
- -ms-transition: all 0.3s ease-in-out;
- -o-transition: all 0.3s ease-in-out;
- }
- .credit a:hover {
- text-shadow: 2px 0 .2px #FF0000, -2px 0 .2px #00F1F5;
- -webkit-transition: all 0.3s ease-in-out;
- -moz-transition: all 0.3s ease-in-out;
- -ms-transition: all 0.3s ease-in-out;
- -o-transition: all 0.3s ease-in-out;
- }
- /* end of credit */
- </style>
- </head>
- <body onload="window.resizeTo(1000,600)">
- <center><img src="http://orig13.deviantart.net/53fa/f/2017/137/5/e/serendipitxus_by_fiorak-db9j7si.png" class="himg"></center>
- <div class="tab">
- <button class="tablinks" onclick="openTab(event, 'One')" id="defaultOpen">1</button>
- <button class="tablinks" onclick="openTab(event, 'Two')">2</button>
- <button class="tablinks" onclick="openTab(event, 'Three')">3</button>
- <button class="tablinks" onclick="openTab(event, 'Four')">4</button>
- <button class="tablinks" onclick="openTab(event, 'Five')">5</button>
- </div>
- <div class="links">
- <a href="URL" title="title">link 1</a>
- <a href="URL" title="title">link 2</a>
- <a href="URL" title="title">link 3</a>
- <a href="URL" title="title">link 4</a>
- <a href="URL" title="title">link 5</a>
- </div>
- <div class="info">
- <div id="One" class="tabcontent">
- <h3>Title</h3>
- <p>Info
- </p>
- </div>
- <div id="Two" class="tabcontent">
- <h3>Title</h3>
- <p>Info</p>
- </div>
- <div id="Three" class="tabcontent">
- <h3>Title</h3>
- <p>Info</p>
- </div>
- <div id="Four" class="tabcontent">
- <h3>Title</h3>
- <p>Info</p>
- </div>
- <div id="Five" class="tabcontent">
- <h3>Title</h3>
- <p>Info</p>
- </div>
- </div>
- <div class="credit"><a title="made by latvia" href="http://latvia.co.vu/">credit</font></a></div>
- <script>
- function openTab(evt, tabName) {
- 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(tabName).style.display = "block";
- evt.currentTarget.className += " active";
- }
- // Get the element with id="defaultOpen" and click on it
- document.getElementById("defaultOpen").click();
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment