Advertisement
Guest User

Untitled

a guest
May 20th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.58 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title></title>
  6. <link rel="shortcut icon" href="">
  7.  
  8. <meta name="credit" content="popup coding taken from ary@ij - general style by tentacool@ij">
  9.  
  10. <link rel="stylesheet" href="https://fontcity.neocities.org/candyheart.css?family=candy+heart">
  11. <link rel="stylesheet" href="https://fontcity.neocities.org/austiebostwibbly.css?family=austie+bost+wibbly">
  12. <link rel="stylesheet" href="https://fontcity.neocities.org/study.css?family=study">
  13. <link rel="stylesheet" href="https://fontcity.neocities.org/heyalicemono.css?family=hey+alice+mono">
  14. <link href='https://fonts.googleapis.com/css?family=Monoton|Leckerli+One|Sarina|Sonsie+One|Ribeye+Marrow|Warnes|Baloo+Bhai' rel='stylesheet' type='text/css'>
  15. <link href="http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300" rel="stylesheet" type="text/css">
  16. <link href="http://fonts.googleapis.com/css?family=Allura" rel="stylesheet" type="text/css">
  17.  
  18. <title></title>
  19.  
  20. <style>
  21. a, a:visited, a:active {
  22. text-decoration: none;
  23. }
  24.  
  25. body {
  26. background-color:#E8E8E8;
  27. background-image:URL();
  28.  
  29. }
  30.  
  31. td {
  32. font-family: 'open sans condensed';
  33. font-size: 10px;
  34. line-height: 16px;
  35. letter-spacing: 1px;
  36. font-weight: none;
  37. color: #000;
  38. text-shadow: 0px 0px 1px #000;
  39. text-transform: uppercase;
  40. }
  41.  
  42.  
  43. .title {
  44. font-family: study;
  45. font-size: 45px;
  46. line-height: 45px;
  47. letter-spacing: -1.5px;
  48. color: #C12622 ;
  49. text-shadow: 0px 0px 2px #C12622 ;
  50. font-weight: lighter;
  51. text-transform:lowercase;
  52. }
  53.  
  54. .otherstuff {
  55. font-family: study;
  56. font-size: 15px;
  57. line-height: 45px;
  58. letter-spacing: -1.5px;
  59. color: #C12622 ;
  60. text-shadow: 0px 0px 2px #C12622 ;
  61. font-weight: lighter;
  62. text-transform:lowercase;
  63. }
  64.  
  65. .etc {
  66. font-family: 'hey alice mono';
  67. font-size: 15px;
  68. line-height: 14px;
  69. letter-spacing: 1px;
  70. font-weight: none;
  71. color: #fff;
  72. text-shadow: 0px 0px 1px #fff;
  73. text-transform: ;
  74. }
  75.  
  76. .yo {
  77. font-family: 'hey alice mono';
  78. font-size: 15px;
  79. line-height: 14px;
  80. letter-spacing: 1px;
  81. font-weight: none;
  82. color: #red;
  83. text-shadow: 0px 0px 1px #red;
  84. text-transform: ;
  85. }
  86.  
  87. #fade {
  88. display: none;
  89. background: #000;
  90. position: fixed;
  91. left: 0;
  92. top: 0;
  93. width: 100%;
  94. height: 100%;
  95. opacity: .8;
  96. z-index: 9999;
  97. }
  98.  
  99. .popup_block{
  100. display: none;
  101. background: #FFFFFF;
  102. padding: 20px;
  103. float: left;
  104. position: fixed;
  105. top: 53%;
  106. left: 51%;
  107. z-index: 99999;
  108. opacity: 1;
  109. }
  110.  
  111. ::-webkit-scrollbar {width: 5px;}
  112.  
  113. ::-webkit-scrollbar-thumb {border-radius: 0px; -webkit-box-shadow: inset 0px 0px 15px rgba(241, 215, 254, 1);}
  114.  
  115. ::-webkit-scrollbar-track {border-radius: 0px; -webkit-box-shadow: inset 0px 0px 0px transparent;}
  116.  
  117.  
  118. </style>
  119.  
  120. <!-- Scripts -->
  121. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  122. <script>
  123. $(document).ready(function() {
  124. //
  125. //When you click on a link with class of poplight and the href starts with a #
  126. $('a.poplight[href^=#]').click(function() {
  127. var popID = $(this).attr('rel'); //Get Popup Name
  128. var popURL = $(this).attr('href'); //Get Popup href to define size
  129. //Pull Query & Variables from href URL
  130. var query= popURL.split('?');
  131. var dim= query[1].split('&');
  132. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  133. //Fade in the Popup and add close button
  134. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend();
  135. //Define margin for center alignment (vertical horizontal) - we add 80px to the height/width to accomodate for the padding and border width defined in the css
  136. var popMargTop = ($('#' + popID).height() + 80) / 2;
  137. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  138. //Apply Margin to Popup
  139. $('#' + popID).css({
  140. 'margin-top' : -popMargTop,
  141. 'margin-left' : -popMargLeft
  142. });
  143. //Fade in Background
  144. $('body').append('<div id="fade"></div>'); //Add the fade layer to bottom of the body tag.
  145. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'}) is used to fix the IE Bug on fading transparencies
  146. return false;
  147. });
  148. //Close Popups and Fade Layer
  149. $('a.close, #fade').live('click', function() { //When clicking on the close or fade layer...
  150. $('#fade , .popup_block').fadeOut(function() {
  151. $('#fade, a.close').remove(); //fade them both out
  152. });
  153. return false;
  154. });
  155. });
  156. </script>
  157. </head>
  158.  
  159.  
  160. <body>
  161. <table width="750" cellpadding="0" cellspacing="0" align="center">
  162. <tr><td>
  163.  
  164. <center><font class="title">blah blah<br><i></i></font><br><br>
  165. <font class="etc">blah blah</font>
  166.  
  167. <br><br><center>
  168.  
  169. <!--YOU CAN CHANGE THE GREY CIRCLES AROUND PICTRES TO PATTERNS BY PUTTING AN IMAGE LINK IN THE BACKGROUND-IMAGE: URL PARENTHESES-->
  170.  
  171. <!--GIFT ONE - CHANGE #?w=300 TO REFLECT THE WIDTH YOU'D LIKE YOUR POPUP BOX TO BE-->
  172.  
  173.  
  174. <!--GIFT THREE - CHANGE #?w=300 TO REFLECT THE WIDTH YOU'D LIKE YOUR POPUP BOX TO BE-->
  175. <a href="#?w=500" class="poplight" rel="03"><img src="https://i.imgur.com/wxtv9NC.gif" class="bw" style="width: 200px; padding: 5px; background-color:#C12622; border-radius: 100px; border: 1px solid #C12622; background-image: url( ); margin-right: 20px;"></a>
  176.  
  177.  
  178.  
  179. <br><br>
  180. <font class="title"></font>
  181.  
  182. <font class="etc"><br></center>
  183.  
  184. <br><br>
  185.  
  186.  
  187. </font>
  188.  
  189. </center></center></td></tr></table>
  190.  
  191.  
  192. <!--GIFT ONE POPUP - THESE DO NOT HAVE TO BE THE SAME IMAGE BUT CAN BE IF YOU CHOOSE-->
  193.  
  194.  
  195. <div id="03" class="popup_block">
  196. <font class="otherstuff">blah blah</font></center><br>
  197. <font class="yo">blah blah blah</font>
  198. </font>
  199. </div>
  200. </div>
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208. </body>
  209. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement