Advertisement
0Melancolizava

Theme 26

Mar 10th, 2015
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.23 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <!-----------------------------------------------------------------
  4.  
  5.  
  6. Theme feito por Melancolizava.tumblr.com (Melancolizava) + dtl de Liriadas.tumblr.com , não retire os créditos, não disponibilize, se eu descobrir vou te caçar.
  7.  
  8. <!---- Não RETIRE meus créditos ---->
  9. <a style=" font-size:10px; color:#aaa00;font-family:pf arma five;;position:fixed;bottom:30px;padding:3px;z-index:55554235555;border-bottom:0px dashed #e55ba9 ;left:1280px;" href="http://melancolizava.tumblr.com/" title="Melancolizava">DESIGN <font color="#e55ba9"></font></a></div>
  10. <!---- Não RETIRE meus créditos ---->
  11.  
  12. <html xmlns="http://www.w3.org/1999/xhtml">
  13. <head>
  14. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  15. <title>{Title}{block:PostTitle} - {PostTitle}{/block:PostTitle}</title>
  16. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  17. <link rel="shortcut icon" href="{Favicon}">
  18. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  19.  
  20. <meta name="color:posts" content="#9c9c9c"/>
  21.  
  22. <meta name="text:nome do menu" content="Navegue"/>
  23. <meta name="text:Links" content="Meus Links" />
  24. <meta name="text:Link1" content="URL" />
  25. <meta name="text:Link1 Title" content="Link1" />
  26. <meta name="text:Link2" content="URL" />
  27. <meta name="text:Link2 Title" content="Link2" />
  28. <meta name="text:Link3" content="URL" />
  29. <meta name="text:Link3 Title" content="Link3" />
  30. <meta name="text:Link4" content="URL" />
  31. <meta name="text:Link4 Title" content="Link4" />
  32. <meta name="text:Link5" content="URL" />
  33. <meta name="text:Link5 Title" content="Link5" />
  34. <meta name="if:Show Title" content="1"/>
  35. <meta name="if:Show Tags" content="0"/>
  36. <meta name="if:Animation" content="1"/>
  37. <meta name="if:To Top Button" content="0"/>
  38. <meta name="if:Infinite Scroll" content="1"/>
  39. <meta name="if:Show Captions" content="0"/>
  40. <meta name="if:Show Tags" content="0"/>
  41. <meta name="image:Background" content=""/>
  42. <script src="http://static.tumblr.com/kcrxiw3/LDBlqq9ia/jquerry.js"></script> <script type="text/javascript" src="http://proto.jp/js/tumblrAutoPager.js"></script>
  43. <script type="text/javascript" src="http://static.tumblr.com/q0etgkr/mFbkoqlkr/tumblrautopager.js"></script> <script type="text/javascript" src="http://static.tumblr.com/tiu5k68/xTkm8wqw2/tumblr-title-qtip.js"></script>
  44.  
  45.  
  46. <style type="text/css">
  47. body {
  48. color: {color:posts};background: #ffffff url({image:Background}); background-attachment: fixed; background-repeat: no-repeat;background-size:100% 100%; background-position: fixed;
  49. font-family: Verdana;
  50. font-size: 12px;
  51. line-height: 1.5em;
  52. margin-left:-200px;
  53. text-align: justify;
  54. }
  55. p {margin:0 0 .75em 0} p:last-child {margin:0}
  56. a {
  57. color: {color:posts};
  58. text-decoration:none;
  59. {block:IfAnimation}-webkit-transition:all .2s ease;-moz-transition:all .2s ease;transition:all .2s ease;-o-transition:all .2s ease;{/block:IfAnimation}}
  60. a:hover {color: #ccc; }
  61. blockquote {quotes: "" "" "'" "'"; margin: 0.75em 0 .75em .75em;padding-left: 1.5em;
  62. line-height: 100%;border-left: solid 4px #EDEDED;
  63. }
  64. h1 {
  65. font-family: Verdana;
  66. font-size: 24px;
  67. line-height: 1.5em;font-weight: normal;
  68. }
  69. ul {
  70. margin: 0px 1.5em .75em;}
  71. li {
  72. margin: .75em 0;
  73. list-style-type: square;
  74. }
  75. .box img {
  76. display: block;
  77. max-width: 100%;border-radius:2px;}.m-i {
  78. display: block;
  79. line-height: 1px!important;
  80. }
  81. .menu-picture {
  82. line-height: 100%;
  83. display: inline-block;
  84. line-height: 0px!important;
  85. }
  86. .post-link{
  87. font-family: Verdana;
  88. font-size: 8px;
  89. line-height: 8px;
  90. }p.source{text-align: center;}
  91. .menu-picture {
  92. line-height: 100%;display: inline-block;
  93. }p.source{text-align: center;}
  94. h3 {
  95. font-size: 12px; font-weight: normal;
  96. }.tagged { text-align: center; line-height: 8px;font-size: 8px;}
  97. .text { padding: 5px;}p.question {
  98. margin-bottom: .375em;
  99. }
  100. p.words {
  101. padding: 6px;
  102. line-height: 1.5em;
  103. color: {color:posts};
  104. background: transparent;
  105. }
  106.  
  107. .post {
  108. position: relative;
  109. width:317px;
  110. float:left;
  111.  
  112. background: transparent
  113. padding:0px;
  114. margin:10px;
  115. }.box {position: relative;}
  116.  
  117. #side {
  118. text-align: right;
  119. margin-top: 10px;
  120. width:233px;
  121. padding:0px;position: fixed;
  122. background: transparent;
  123. }#side img {
  124. max-width: 100%;
  125. }ul {margin-bottom: .75em;}
  126. #contain {
  127. width:590px;
  128. margin: 10px auto 0;
  129. }
  130. #content {
  131. width:337px;
  132. float: right;
  133. }
  134. #infscr-loading{position:relative!important;left:49%}
  135. #fade{/*--Transparent background layer--*/display: none;/*--hidden by default--*/background: #000;position: fixed;left: 0;top: 0;width: 100%;height: 100%;opacity: .80;z-index: 9999;}
  136. .popup_block{display: none;/*--hidden by default--*/background: #fff;padding: 20px;border: 5px solid #ccc;float: left;font-size: 11px;position: fixed;top: 30%;left: 50%;z-index: 999999999;/*--CSS3 Box Shadows--*/-webkit-box-shadow: 0px 0px 20px #000;-moz-box-shadow: 0px 0px 20px #000;box-shadow: 0px 0px 20px #000;/*--CSS3 Rounded Corners--*/-webkit-border-radius: 10px;-moz-border-radius: 10px;border-radius: 10px;;}.menu-link{margin: 0px 10px;} img.btn_close{float: right;margin: -20px -20px 0 0;}.shadow-wrap { width: 100%; margin-left: -0px; position: absolute; bottom: -11px; height: 11px;}.box iframe {
  137. max-width: 100%;
  138. }.text img {max-width: 100%;}img {display: block;}.box img {display: block;}
  139. .post-info-data{text-align:center}.notes img{display:block;float:left;margin-right:.75em}ol.notes li{margin:.375em 0;list-style-type:none;line-height:16px; }
  140.  
  141. #toTop{display:none;text-decoration:none;position:fixed;bottom:10px;right:10px;overflow:hidden;width:21px;height:21px;border:0;text-indent:100%;background:url(http://static.tumblr.com/uiqhh9x/372m6hyqw/up.png) no-repeat left top;opacity:.5;filter:alpha(opacity = 50);-webkit-transition:all .2s ease;-moz-transition:all .2s ease;transition:all .2s ease;-o-transition:all .2s ease;}#toTopHover{width:21px;height:21px;display:block;overflow:hidden;float:left;opacity:0;-moz-opacity:0;filter:alpha(opacity=0);-webkit-transition:all .2s ease;-moz-transition:all .2s ease;transition:all .2s ease;-o-transition:all .2s ease;}#toTop:hover{opacity:1;filter:alpha(opacity = 100)}#toTop:active,#toTop:focus{outline:0}
  142.  
  143. a.btn{position:absolute;z-index:999999;top:26px;right:3px;white-space:nowrap;outline:0;text-decoration:none;cursor:pointer;overflow:hidden;text-overflow:ellipsis;font:600 12px/18px "Helvetica Neue","HelveticaNeue",Helvetica,Arial,sans-serif;height:20px;padding:0 5px;-webkit-font-smoothing:antialiased;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;-webkit-transition-property:padding;-moz-transition-property:padding;-ms-transition-property:padding;-o-transition-property:padding;transition-property:padding;-webkit-transition-duration:.1s;-moz-transition-duration:.1s;-ms-transition-duration:.1s;-o-transition-duration:.1s;transition-duration:.1s;-webkit-transition-timing-function:ease;-moz-transition-timing-function:ease;-ms-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease}.btn{color:#fff;border:1px solid rgba(0,0,0,0.18);background:rgba(0,0,0,0.38);text-shadow:1px 1px 0 rgba(0,0,0,0.08)}a.btn,a.btn:hover{color:white!important}.btn{margin-bottom:5px;color:#fff;border:1px solid rgba(0,0,0,0.18);background:rgba(0,0,0,0.38);text-shadow:1px 1px 0 rgba(0,0,0,0.08);-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.btn:hover::after,.btn:focus::after{background:rgba(255,255,255,0.09);color:white}.btn:active::after{background:rgba(255,255,255,0.18) color:white}.btn_label.show{display:block}.btn::after{position:absolute;top:0;right:0;bottom:0;left:0;content:'';-webkit-border-radius:inherit;-moz-border-radius:inherit;border-radius:inherit}.btn.icon::before{display:block;content:'';position:absolute;top:0;left:0;bottom:0;width:20px;border-radius:inherit;background:url('http://static.tumblr.com/tpqedpr/cQ1mbwb60/de.png') 0 0 no-repeat}.btn.theme::before{background-position:0 -0px}.btn img{width:15px}.btn.icon{padding-left:20px}.btn:active::after {background:rgba(255,255,255,0.18)}.clear {clear: both;} #pagination {display: none;} .clearfix:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.clearfix{display:inline-block}html[xmlns] .clearfix{display:block}* html .clearfix{height:1%}
  144.  
  145.  
  146.  
  147.  
  148.  
  149. /*** barra de rolagem ***/
  150.  
  151. iframe#tumblr_controls { position:fixed;white-space:nowrap; -webkit-filter: invert(100%); -moz-filter: invert(100%); -o-filter: invert(100%); -ms-filter: invert(100%); filter: invert(100%); opacity:.3;transition: .8s ease-in-out; -webkit-transition: .8s ease-in-out;-moz-transition: .8s ease-in-out;-o-transition: .8s ease-in-out; }
  152.  
  153. ::-webkit-scrollbar{width:5px;height:5px;}
  154. ::-webkit-scrollbar-button:start:decrement
  155. ::-webkit-scrollbar-button:end:increment{display:block;height:0;background-color:transparent;}
  156. ::-webkit-scrollbar-track-piece{background-color: transparent; -webkit-border-radius:0;-webkit-border-bottom-right-radius:0px;-webkit-border-bottom-left-radius:0px;}
  157. ::-webkit-scrollbar-thumb:vertical{height:50px; background-color:#666666;-webkit-border-radius:px;}
  158. ::-webkit-scrollbar-thumb:horizontal{width:50px; background-color:#666666;-webkit-border-radius:px;}
  159.  
  160. iframe#tumblr_controls{top: 2px !important; position: fixed !important; right: 5px !important; margin: 0 0 0 0;}
  161.  
  162. #titulo { font-size:20px; color:#ccc;line-height: 1.5em;font-weight: normal}
  163.  
  164. .lquestion {padding:5px; border-bottom:1px solid #ccc;}
  165. .lasker {font-family:’Lora’, cursive; font-size:12px; font-style:italic; text-align:left; line-height:2.8em; border-bottom:1px dashed #ccc;}
  166. .lanswer {line-height:1.8em;}
  167.  
  168.  
  169. #lheader {position:absolute; display:block; z-index:3; top:5px; left:5px; opacity:0; transition:all 1s ease;}
  170. .post:hover #lheader {opacity:1;}
  171. #llike {display:inline-block; overflow:hidden; padding:3px 5px 0; height:18px; border-radius:3px; opacity:.8; background:#fff; transition:all 1s ease;}
  172. #llike:hover {opacity:1;}
  173. #lreblog {display:inline-block; overflow:hidden; padding:3px 5px 0; height:18px; border-radius:3px; opacity:.8; background:#fff; transition:all 1s ease;}
  174. #lreblog:hover {opacity:1;}
  175. </style></head>
  176. <body>
  177.  
  178. <div id="contain" class="clearfix">
  179. <div id="side">
  180. <div class="text">
  181. {block:IfShowTitle}<div id="titulo"><a href="/">{Title}</a></div>{/block:IfShowTitle}
  182.  
  183. <p>
  184. <div id="description" >{Description}</div>
  185. <p><a href="#?w=500" rel="links" class="poplight">
  186.  
  187. <span>-{text:nome do menu} -</span></a></p>
  188.  
  189.  
  190.  
  191. {block:IfNotInfiniteScroll}{block:Pagination}<div class="previous-next text">{block:PreviousPage}<a href="{PreviousPage}" class="next"><</a>{/block:PreviousPage}<span id="pages"> {CurrentPage} of {TotalPages} </span>{block:NextPage}<a href="{NextPage}" class="previous">></a>{/block:NextPage}</div>{/block:Pagination}{/block:IfNotInfiniteScroll}
  192. </div>
  193. </div>
  194. <div id="content">
  195. {block:Posts}
  196. <div class="post">
  197. {block:IndexPage}
  198. <div id="lheader">
  199. <div id="llike">{LikeButton size="13"}</div>
  200. <div id="lreblog">{ReblogButton size="13"}</div>
  201. </div>
  202. {/block:IndexPage}
  203.  
  204. {block:Text}
  205. <div class="text">
  206. {block:Title}<h3>{Title}</h3>{/block:Title}
  207. {Body}
  208. <!-- permalink --> {block:IndexPage}
  209.  
  210. <!-- /permalink --> {/block:IndexPage}
  211. </div>
  212. {/block:Text}
  213.  
  214. {block:Quote}
  215. <div class="text quote">
  216. <p class="words">&#8220;{Quote}&#8221;</p>
  217. {block:Source}<p class="source">{Source}</p>{/block:Source}
  218. <!-- permalink --> {block:IndexPage}
  219.  
  220. <!-- /permalink --> {/block:IndexPage}
  221. </div>
  222. {/block:Quote}
  223.  
  224. {block:Link}
  225. <div class="text link">
  226. <h3><a href="{URL}" {Target}>{Name}</a></h3>
  227. {block:Description}{Description}{/block:Description}
  228. <!-- permalink --> {block:IndexPage}
  229.  
  230. <!-- /permalink --> {/block:IndexPage}
  231. </div>
  232. {/block:Link}
  233.  
  234. {block:Chat}
  235. <div class="text chat">
  236. <ul class="conversation">
  237. {block:Lines}
  238. <li class="line {Alt}">
  239. {block:Label}<span class="person">{Label}</span>{/block:Label}
  240. <span class="person-said">{Line}</span>
  241. </li>
  242. {/block:Lines}
  243. </ul>
  244. <!-- permalink --> {block:IndexPage}
  245.  
  246. <!-- /permalink --> {/block:IndexPage}
  247. </div>
  248. {/block:Chat}
  249.  
  250. {block:Audio}
  251. <div class="text audio">
  252. <p>{AudioPlayerBlack}</p>
  253. {block:IndexPage}{block:IfShowCaptions}
  254. {block:Caption}{Caption}{/block:Caption}
  255. {/block:IfShowCaptions}{/block:IndexPage}
  256. <!-- permalink --> {block:IndexPage}
  257.  
  258. <!-- /permalink --> {/block:IndexPage}
  259. </div>
  260. {/block:Audio}
  261.  
  262. {block:Answer}
  263. <div class="lasker"><a href="{Permalink}" target="_blank"><img style="float:left; margin-right:8px; border-radius:100%;" src="{AskerPortraitURL-30}"></a>{Asker} perguntou:</div>
  264. <div class="lquestion">{Question}</div>
  265. <p class="lanswer">{Answer}<p>
  266. <!-- permalink --> {block:IndexPage}
  267.  
  268. <!-- /permalink --> {/block:IndexPage}
  269.  
  270. {/block:Answer}
  271.  
  272. {block:Photoset}
  273. <div class="photoset">
  274. <div class="box">
  275. <!-- permalink --> {block:IndexPage}
  276.  
  277. <!-- /permalink --> {/block:IndexPage}
  278. <center>{Photoset-250}</center>
  279. </div>
  280. {block:IndexPage}{block:IfShowCaptions}
  281. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  282. {/block:IfShowCaptions}{/block:IndexPage}
  283. </div>
  284. {/block:Photoset}
  285.  
  286. {block:Video}
  287. <div class="video">
  288. <div class="box">
  289. <!-- permalink --> {block:IndexPage}
  290.  
  291. <!-- /permalink --> {/block:IndexPage}
  292. <center>{Video-250}</center>
  293. </div>
  294. {block:IndexPage}{block:IfShowCaptions}
  295. {block:Caption}<div class="caption text">{Caption}</div>{/block:Caption}
  296. {/block:IfShowCaptions}{/block:IndexPage}
  297. </div>
  298. {/block:Video}
  299.  
  300. {block:Photo}
  301. <div class="photo">
  302. <div class="box">
  303. <!-- permalink --> {block:IndexPage}
  304.  
  305. <!-- /permalink --> {/block:IndexPage}
  306. {block:IndexPage}
  307. <a href="{Permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}" width="100%"/></a>
  308. {/block:IndexPage}
  309. {block:PermalinkPage}
  310. {LinkOpenTag}<img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" width="500"/>{LinkCloseTag}
  311. {/block:PermalinkPage}
  312. </div>
  313. {block:IndexPage}{block:IfShowCaptions}
  314. {block:Caption}<div class="caption text">{Caption}</div>{/block:Caption}
  315. {/block:IfShowCaptions}{/block:IndexPage}
  316. </div>
  317. {/block:Photo}
  318.  
  319. {block:IfShowTags}{block:IndexPage}{block:HasTags}
  320. <div class="tagged"><p>{lang:Tagged}: {block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}</p></div>
  321. {/block:HasTags}{/block:IndexPage}{/block:IfShowTags}
  322.  
  323. {block:PermalinkPage}
  324. <div id="post-info" class="text">
  325. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  326. {block:HasTags}
  327. <p class="tagged">{lang:Tagged}: {block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}</p>
  328. {/block:HasTags}
  329. <p class="post-info-data">
  330. {block:Date}{12Hour}:{Minutes}:{Seconds} @ {MonthNumber}/{DayOfMonth}/{Year}<br/>{/block:Date}
  331. {block:NoteCount}{NoteCountWithLabel}<br />{/block:NoteCount}{block:RebloggedFrom}
  332. Reblogged from <a href="{ReblogParentURL}">{ReblogParentName}</a><br/>Posted by <a href="{ReblogRootURL}">{ReblogRootName}</a>{block:RebloggedFrom}</p>
  333. {block:PostNotes}
  334. {PostNotes}
  335. {/block:PostNotes}
  336. </div>
  337. {/block:PermalinkPage}
  338. <div class="shadow-wrap"><img style="width:100%;" src="http://static.tumblr.com/tpqedpr/qoYmd7gyc/1.png"></div>
  339. </div> <!-- end single post -->
  340. {block:ContentSource}
  341. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}" width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" /> {/block:SourceLogo} {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  342. {/block:ContentSource}
  343. <!--{block:NoRebloggedFrom}{block:RebloggedFrom}{ReblogParentName}{/block:RebloggedFrom}{/block:NoRebloggedFrom} -->
  344. {/block:Posts}
  345. </div> <!-- end content -->
  346. <div class="loading"></div>
  347. </div> <!-- end containing div -->
  348. {block:IndexPage}{block:IfInfiniteScroll}
  349. {block:Pagination}<ul id="pagination">
  350. {block:PreviousPage}
  351. <li><a href="{PreviousPage}"></a></li>
  352. {/block:PreviousPage}
  353. {block:JumpPagination length="5"}
  354. {block:CurrentPage}
  355. <li><span class="current_page numbersNav"><strong>{PageNumber}</strong></span></li>
  356. {/block:CurrentPage}
  357. {block:JumpPage}
  358. <li><a class="jump_page numbersNav" href="{URL}">{PageNumber}</a></li>
  359. {/block:JumpPage}
  360. {/block:JumpPagination}
  361. {block:NextPage}
  362. <li><a id="nextPage" href="{NextPage}"></a></li>
  363. {/block:NextPage}
  364. </ul>{/block:Pagination}
  365. <script type="text/javascript">
  366. $(window).load(function () {
  367. var $content = $('#content');
  368. $content.infinitescroll({
  369. navSelector : '#pagination',
  370. nextSelector : '#pagination a#nextPage',
  371. itemSelector : '.post, .loading',
  372. loading: {
  373. finishedMsg: '',
  374. img: 'http://static.tumblr.com/uiqhh9x/amsm48v4p/add.gif'
  375. },
  376. bufferPx : 200,
  377. debug : false,
  378. });
  379. });
  380. </script>
  381. {/block:IfInfiniteScroll}
  382. {/block:IndexPage}
  383. {block:IfToTopButton}
  384. <script type="text/javascript">
  385. $(document).ready(function() {
  386. /*
  387. var defaults = {
  388. containerID: 'toTop', // fading element id
  389. containerHoverID: 'toTopHover', // fading element hover id
  390. scrollSpeed: 1200,
  391. easingType: 'linear'
  392. };
  393. */
  394.  
  395. $().UItoTop({ easingType: 'easeOutQuart' });
  396.  
  397. });
  398. </script>
  399. <a href="#" id="toTop" style="display: none; "><span id="toTopHover"></span>To Top</a>
  400. {/block:IfToTopButton}
  401. <div id="links" class="popup_block" style="line-height:100%;text-align:center;"><div style="font-size:16px;line-height:100%;margin-bottom: 0.75em;"><strong>{text:links}</strong></div><div style="max-height:500px;line-height:150%; color: #778899">
  402. <a href="{text:link1}">{text:link1 title} - </a>
  403. <a href="{text:link2}">{text:link2 title} - </a>
  404. <a href="{text:link3}">{text:link3 title} - </a>
  405. <a href="{text:link4}">{text:link4 title} - </a>
  406. <a href="{text:link5}">{text:link5 title} </a>
  407. </div></div>
  408.  
  409. <script type="text/javascript">
  410. $(document).ready(function() {
  411. //
  412. $('a.poplight[href^=#]').click(function() {
  413. var popID = $(this).attr('rel'); //Get Popup Name
  414. var popURL = $(this).attr('href'); //Get Popup href to define size
  415. var query= popURL.split('?');
  416. var dim= query[1].split('&');
  417. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  418. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"><img src="http://static.tumblr.com/iddq6cw/Atplvofrt/tooltip-closebutton.png" class="btn_close" title="Close" alt="Close" /></a>');
  419. var popMargTop = ($('#' + popID).height() + 80) / 2;
  420. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  421. //Apply Margin to Popup
  422. $('#' + popID).css({
  423. 'margin-top' : -popMargTop,
  424. 'margin-left' : -popMargLeft
  425. });
  426. $('body').append('<div id="fade"></div>');
  427. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
  428. return false;
  429. });
  430. $('a.close, #fade').live('click', function() {
  431. $('#fade , .popup_block').fadeOut(function() {
  432. $('#fade, a.close').remove(); //fade them both out
  433. });
  434. return false;
  435. });
  436. });
  437. </script>
  438. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement