Advertisement
helpdesigns

About Moderados Juh #2

Feb 7th, 2015
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.21 KB | None | 0 0
  1.  
  2. <meta http-equiv="x-dns-prefetch-control" content="off"/><link rel="stylesheet" type="text/css" href="http://assets.tumblr.com/fonts/gibson/stylesheet.css?v=3"><html>
  3.  
  4.  
  5. <script type="text/javascript"
  6. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  7. <script>
  8. $(document).ready(function() {
  9. //
  10. //When you click on a link with class of poplight and the href starts with a #
  11.  
  12. $('a.poplight[href^=#]').click(function() {
  13.  
  14. var popID = $(this).attr('rel'); //Get Popup Name
  15.  
  16. var popURL = $(this).attr('href'); //Get Popup href to define size
  17.  
  18. //Pull Query & Variables from href URL
  19.  
  20. var query= popURL.split('?');
  21.  
  22. var dim= query[1].split('&');
  23.  
  24. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  25.  
  26. //Fade in the Popup and add close button
  27.  
  28. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"><img src="http://static.tumblr.com/l3gbi5c/b99msgru4/sem_t__tulo-1.png" class="btn_close" title="To Close? here please." alt="Close" /></a>');
  29.  
  30.  
  31. //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
  32.  
  33. var popMargTop = ($('#' + popID).height() + 80) / 2;
  34.  
  35. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  36.  
  37.  
  38.  
  39. //Apply Margin to Popup
  40.  
  41. $('#' + popID).css({
  42.  
  43. 'margin-top' : -popMargTop,
  44.  
  45. 'margin-left' : -popMargLeft
  46.  
  47. });
  48.  
  49.  
  50.  
  51. //Fade in Background
  52.  
  53. $('body').append('<div id="fade"></div>'); //Add the fade layer to bottom of the body tag.
  54.  
  55. $('#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
  56.  
  57.  
  58.  
  59. return false;
  60.  
  61. });
  62.  
  63.  
  64.  
  65. //Close Popups and Fade Layer
  66.  
  67. $('a.close, #fade').live('click', function() { //When clicking on the close or fade layer...
  68.  
  69. $('#fade , .popup_block').fadeOut(function() {
  70.  
  71. $('#fade, a.close').remove(); //fade them both out
  72.  
  73. });
  74.  
  75. return false;
  76.  
  77. });
  78.  
  79.  
  80.  
  81.  
  82.  
  83. });
  84.  
  85. </script>
  86.  
  87. <div style="position: fixed; font-size:11px;font-family:Calibri; padding: 2px; left: 2px; top: 6px;">
  88. <a href="http://helpdesigns.tumblr.com/" target="_blank" title="Theme por Helpdesigns"><b>@</b></a></div>
  89.  
  90. <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# blog: http://ogp.me/ns/blog#">
  91. <style type="text/css">
  92.  
  93. body {background-color:#eee; font-family: verdana; color: ; text-align: center; font-size: 11px; background-image:url('http://static.tumblr.com/fyc2dbo/lEWnjf900/fundo.png'); background-attachment: fixed; overflow-y:hidden;5.overflow-x:hidden;}
  94.  
  95. a {color: #aaa; text-decoration: none; text-transform: none;}
  96. a:hover {color: #aaa; background-color: transparent; text-decoration: none;}
  97.  
  98. #header {background: url('http://static.tumblr.com/fyc2dbo/iVanjfdu9/final.png'); background-repeat: repeat-x; width:843px; margin-top:50px; height:519px; margin-left:250px;}
  99.  
  100. .imagem1 {width:217px;height:246px;margin-left:359px;margin-top:-389px;position:fixed; overflow:hidden;-webkit-transition: all 0.5s ease-in-out;}
  101. .imagem1 img {position:fixed; display: block;width:205px;height:312px; -webkit-transition: all 0.5s ease-in-out;}
  102.  
  103. .imagem2 {width:242px;height:246px;margin-left:573px;margin-top:-389px;position:fixed; overflow:hidden;-webkit-transition: all 0.5s ease-in-out;}
  104. .imagem2 img {position:fixed; display: block;width:202px;height:312px; -webkit-transition: all 0.5s ease-in-out;}
  105.  
  106. .imagem3 {width:242px;height:246px;margin-left:785px;margin-top:-389px;position:fixed; overflow:hidden;-webkit-transition: all 0.5s ease-in-out;}
  107. .imagem3 img {position:fixed; display: block;width:202px;height:312px; -webkit-transition: all 0.5s ease-in-out;}
  108.  
  109. .linkall {position:fixed;color:#9291a4;padding:3px;text-align:center;margin-top:0px;margin-left:200px;}
  110. .linkall a {font-family:'Baumans'; font-size:11px; color:#aaa;padding:3px; }
  111. .linkall a:hover {color:#97023c;background-color:;}
  112.  
  113. #fade { /*--Transparent background layer--*/
  114. display: none; /*--hidden by default--*/
  115. background-color:#1c1c1c;
  116. position: fixed; left: 0; top: 0;
  117. width: 100%; height: 100%;
  118. opacity: .80;
  119. z-index: 9999;
  120. }
  121. .popup_block{
  122. display: none; /*--hidden by default--*/
  123. background: #ffffff;
  124. padding: 20px;
  125. float: left;
  126. font-size: 1.2em;
  127. position: fixed;
  128. top: 50%; left: 50%;
  129. z-index:10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000;background-color:#f1f1f1;
  130. /*--CSS3 Box Shadows--*/
  131. -webkit-box-shadow: 0px 0px 20px #000;
  132. -moz-box-shadow: 0px 0px 20px #000;
  133. box-shadow: 0px 0px 20px #000;
  134. /*--CSS3 Rounded Corners--*/
  135. -webkit-border-radius: 10px;
  136. -moz-border-radius: 10px;
  137. border-radius: 10px;
  138. }
  139. img.btn_close {
  140. float: right;
  141. margin: -22px -22px 0 0;
  142. }
  143. /*--Making IE6 Understand Fixed Positioning--*/
  144. *html #fade {
  145. position: absolute;
  146. }
  147. *html .popup_block {
  148. position: absolute;
  149. }
  150.  
  151. .juju { font-family:'Rouge Script'; font-size: 45px;; opacity:0.8; padding:1px;padding-bottom:2px; color:#97023c;text-align:center;}
  152.  
  153. @font-face {font-family: 'Rouge Script';src: local('Rouge Script'), local('RougeScript-Regular'), url(http://fonts.gstatic.com/s/rougescript/v4/AgXDSqZJmy12qS0ixjs6V-gdm0LZdjqr5-oayXSOefg.woff2) format('woff2'), url(http://fonts.gstatic.com/s/rougescript/v4/AgXDSqZJmy12qS0ixjs6V3hCUOGz7vYGh680lGh-uXM.woff) format('woff');}
  154.  
  155. .vish {display : block; font-family:'Baumans'; font-size: 11px; line-height: 15px; margin-bottom : 1px; vertical-align : middle; text-indent : 0px; padding: 2px 2px 2px 6px; background:#fff; color: #aaa; -webkit-transition: all 0.4s ease-out; -moz-transition: all 0.4s ease-out; text-align: left; padding:5px 5px 5px 5px;}
  156.  
  157. .vish a{color: #aaa;}
  158.  
  159.  
  160. @font-face {
  161. font-family: 'Baumans';
  162. font-style: normal;
  163. font-weight: 400;
  164. src: local('Baumans'), local('Baumans-Regular'), url(http://themes.googleusercontent.com/static/fonts/baumans/v3/3DEdKAl82M5rDSLBVcU5jA.woff) format('woff');
  165. }
  166.  
  167. </style>
  168. <body>
  169. <div id="header">
  170. </div>
  171.  
  172.  
  173. <div class="imagem1"><a href="#?w=500" rel="PrimeiraMode" class="poplight" title=""><img src="http://static.tumblr.com/fyc2dbo/JXdnjffbc/tumblr_nimqrill271s9sx29o1_500.jpg"></a></div></div>
  174.  
  175. <div class="imagem2"><a href="#?w=500" rel="SegundaMode" class="poplight" title=""><img src="http://static.tumblr.com/fyc2dbo/F0unjffcq/tumblr_nilzbmpkjg1s9sx29o1_500.jpg"></a></div></div>
  176.  
  177. <div class="imagem3"><a href="#?w=500" rel="TerceiraMode" class="poplight" title=""><img src="http://static.tumblr.com/fyc2dbo/bGanjffc0/tumblr_nimqok0fxq1s9sx29o1_500.jpg"></a></div></div>
  178.  
  179. </div></div>
  180.  
  181. <!-------------primeira moderadora-------------->
  182.  
  183. <div id="PrimeiraMode" class="popup_block">
  184. <div class="juju">Nome da Moderadora</div>
  185.  
  186. <div class="vish"> <img src="http://api.tumblr.com/v2/blog/URLDAMODERADORA.tumblr.com/avatar/96/" style="float:left;width:96px;height:96px;margin-right:5px; border:2 px solid #97023c; ">Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora<br></div>
  187.  
  188. <div class="linkall">
  189. <a href="">link1</a>
  190. <a href="">link2</a>
  191. <a href="">link3</a>
  192. </div></div></div>
  193.  
  194.  
  195. <!-------------segunda moderadora-------------->
  196.  
  197. <div id="SegundaMode" class="popup_block">
  198. <div class="juju">Nome da Moderadora</div>
  199.  
  200. <div class="vish"> <img src="http://api.tumblr.com/v2/blog/URLDAMODERADORA.tumblr.com/avatar/96/" style="float:left;width:96px;height:96px;margin-right:5px; border:2 px solid #97023c; ">Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora<br></div>
  201.  
  202. <div class="linkall">
  203. <a href="">link1</a>
  204. <a href="">link2</a>
  205. <a href="">link3</a>
  206. </div></div></div>
  207.  
  208. <!-------------terceira moderadora-------------->
  209.  
  210. <div id="TerceiraMode" class="popup_block">
  211. <div class="juju">Nome da Moderadora</div>
  212.  
  213. <div class="vish"> <img src="http://api.tumblr.com/v2/blog/URLDAMODERADORA.tumblr.com/avatar/96/" style="float:left;width:96px;height:96px;margin-right:5px; border:2 px solid #97023c; ">Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora Descrição sobre a moderadora<br></div>
  214.  
  215. <div class="linkall">
  216. <a href="">link1</a>
  217. <a href="">link2</a>
  218. <a href="">link3</a>
  219. </div></div></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement