Advertisement
Guest User

Untitled

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