Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script defer>
- window.onload = function() {
- var isCtrl = false;
- document.onkeyup=function(e)
- {
- if(e.which == 17)
- isCtrl=false;
- }
- document.onkeydown=function(e)
- {
- if(e.which == 17)
- isCtrl=true;
- if((e.which == 85) || (e.which == 67) && (isCtrl == true))
- {
- return false;
- }
- }
- var isNS = (navigator.appName == "Netscape") ? 1 : 0;
- if(navigator.appName == "Netscape") document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);
- function mischandler(){
- return false;
- }
- function mousehandler(e){
- var myevent = (isNS) ? e : event;
- var eventbutton = (isNS) ? myevent.which : myevent.button;
- if((eventbutton==2)||(eventbutton==3)) return false;
- }
- document.oncontextmenu = mischandler;
- document.onmousedown = mousehandler;
- document.onmouseup = mousehandler;
- if (document.addEventListener) { // IE >= 9; other browsers
- document.addEventListener('contextmenu', function(e) {
- alert(" Try asking for the code instead."); //here you draw your own menu
- e.preventDefault();
- }, false);
- } else { // IE < 9
- document.attachEvent('oncontextmenu', function() {
- alert("");
- window.event.returnValue = false;
- });
- }
- };
- </script>
- <style>
- @import url('https://fonts.googleapis.com/css?family=Caveat&display=swap');
- body {
- background-color: #e6e4d8;
- background-image: url('https://cdn.discordapp.com/attachments/679048815910584440/713996774313820160/ed5a900af46d0b3c374ab2bc8051e89f.png') ;
- background-position: fixed;
- background-size: 25%;
- background-repeat:no-repeat;
- background-position: right center;
- font-family: ;
- color: #7c7c7c;
- text-shadow:0px 0px 3px #000;
- }
- div.fixed {
- position: fixed;
- top: 30%;
- left: 50%;
- width: 500px;
- border: ;
- color: #000;
- font-size: 20px;
- font-family: 'Caveat', cursive;
- opacity: 0
- }
- #navi1 {position: absolute;
- left: 25vw;
- top: 5vw;}
- #navi1 a {background-color: #600;
- background:url('http://i.picpar.com/uF3e.png')
- center center no-repeat;;
- background-size: 100%;
- display: inline-block;
- height: 50px;
- width: 50px;
- border: 0px solid #fff;
- }
- #navi2 {position: absolute;
- left: 25vw;
- top: 10vw;}
- #navi2 a {background-color: #600;
- background:url('http://i.picpar.com/vF3e.png')
- center center no-repeat;;
- background-size: 100%;
- display: inline-block;
- height: 50px;
- width: 48px;
- border: 0px solid #fff;}
- #navi3 {position: absolute;
- left: 25vw;
- top: 15vw;}
- #navi3 a {background-color: #600;
- background:url('http://i.picpar.com/wF3e.png')
- center center no-repeat;;
- background-size: 100%;
- display: inline-block;
- height: 50px;
- width: 48px;
- border: 0px solid #fff;}
- #navi4 {position: absolute;
- left: 25vw;
- top: 20vw;}
- #navi4 a {background-color: #fff;
- background:url('http://i.picpar.com/yF3e.png')
- center center no-repeat;;
- background-size: 100%;
- display: inline-block;
- height: 50px;
- width: 48px;
- border: 0px solid #fff;}
- </style>
- <body>
- <div class="fixed">
- <center>Ryuko Tatsuma<br>
- Dragoon Hero: Ryukyu<br>
- <s>9th</s> 10th Ranked Pro Hero In Japan<br><br>
- PM Friendly<br>
- MHA Canon<br>
- <br>
- Temp profile till another time
- </div>
- </div>
- <div id="navi4"><a href="#four"></a></div>
- <div id="navi3"><a href="#three"></a></div>
- <div id="navi2"><a href="#two"></a></div>
- <div id="navi1"><a href="#one"></a></div>
- </div>
- </body>
- </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement