Advertisement
poeta-inepta

TEMA 66

Jan 11th, 2015
535
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.21 KB | None | 0 0
  1. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  2. <head>
  3.  
  4.  
  5. <!-------------------------------------------------------
  6. | THEME POR MARYGLEICE (EMENDAREI) |
  7. | PLAGIO É CRIME, SE FOR USAR DETALHE CREDITE! |
  8. -------------------------------------------------------->
  9.  
  10.  
  11. <meta name="if:one columns" content="0"/>
  12. <meta name="image:detalhe" content="/" />
  13. <meta name="image:background" content="" />
  14. <meta name="text:frase" content="Because, I love u" />
  15. <meta name="color:frase" content="#e0bac0" />
  16. <meta name="color:text" content="#9c9c9c" />
  17. <meta name="color:bgnotes" content="#fff"/>
  18. <meta name="color:rolagem" content="#eee" />
  19. <meta name="color:background" content="/" />
  20. <meta name="color:askbg" content="#b8c3d8"/>
  21. <meta name="color:askcolor" content="#fff"/>
  22. <meta name="text:Link1" content="/" />
  23. <meta name="text:Link1 Title" content="link" />
  24. <meta name="text:Link2" content="/" />
  25. <meta name="text:Link2 Title" content="link" />
  26. <meta name="text:Link3" content="/" />
  27. <meta name="text:Link3 Title" content="link" />
  28. <meta name="text:Link4" content="/" />
  29. <meta name="text:Link4 Title" content="link" />
  30. <meta name="text:Link5" content="/" />
  31. <meta name="text:Link5 Title" content="link" />
  32. <meta name="color:lifa" content="#f36c6c"/>
  33. <meta name="image:sidebar" content=""/>
  34.  
  35.  
  36. <title>{Title}</title>
  37. <link rel="shortcut icon" href="{Favicon}">
  38. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  39. {block:Description}
  40. <meta name="description" content="{MetaDescription}" />
  41. {/block:Description}
  42.  
  43.  
  44. <script language="javascript">
  45. function clickIE() {if (document.all) {(mensagem);return false;}}
  46. function clickNS(e) {if
  47. (document.layers||(document.getElementById&&!document.all)) {
  48. if (e.which==2||e.which==3) {alert(mensagem);return false;}}}
  49. if (document.layers)
  50. {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
  51. else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
  52. document.oncontextmenu=new Function("return false")
  53. </script>
  54.  
  55.  
  56. <link href='http://fonts.googleapis.com/css?family=Cookie' rel='stylesheet' type='text/css'>
  57.  
  58. <link href='http://fonts.googleapis.com/css?family=Baumans' rel='stylesheet' type='text/css'>
  59.  
  60. <style type="text/css">
  61.  
  62.  
  63. body {background:{color:background};opacity:1.0;text-align:justify;color: {color:text};font-family:cambria; font-size:12px; background-image:url('{image:background}'); background-attachment:fixed;background-repeat: no-repeat;background-size:100% 100%;line-height: 16px; }}
  64.  
  65. a {color: {color:link}; text-decoration: none; text-transform: none;}
  66. a:hover {color: {color:lhover}; background-color: transparent; text-decoration: none;}
  67. p {margin: 6px 0 0 0}
  68.  
  69.  
  70. b, strong{color:;}
  71. i, em{color: #aca9a9;}
  72. s{color: #aca9a9;}
  73. u{border-bottom: #aca9a9; color: #aca9a9;}
  74. a:link,a:active,a:visited {color: {color:text}; text-decoration: none;
  75. -webkit-transition-duration: .90s;} a:hover { color: {color:text};}
  76.  
  77.  
  78. .tudo { margin-left: auto; margin-right: auto; {block:IndexPage} width: 850px; position: relative; {/block:IndexPage} {block:PermalinkPage} width: 850px; {/block:PermalinkPage} }
  79.  
  80. #entry {width: 600px;margin-left:490px; margin-top: 10px;}
  81.  
  82. .posts { top:4px; border:0px solid {color:bordas};overflow: hidden; margin: 3px; float: left; width: 250px; padding: 6px;{block:IndexPage} width: 250px; position: relative; {/block:IndexPage} {block:PermalinkPage} width: 400px; {/block:PermalinkPage};{block:IfOneColumns}width: 310px;{/block:IfOneColumns};{block:PermalinkPage}width:500px; {/block:PermalinkPage};} }
  83.  
  84.  
  85.  
  86. h1 {font-family:georgia; font-size: 10px; color: {color:text}; font-weight: normal; line-height: 10px;}
  87. h1 a {text-align:left; font-size: 10px; color: {color:text}; font-weight: normal; line-height: 12px;}
  88. h1 a:hover {text-align: left; font-size: 10px; color: {color:text}; font-weight: normal; line-height:12px;}
  89.  
  90.  
  91. .source {display: none;}
  92.  
  93. .but {border-radius:5px; padding:0px; overflow: hidden; float:left; position:relative; margin:1px;{block:indexpage} width: 250px;{/block:indexpage}{block:PermalinkPage}width:480px;{/block:PermalinkPage};}
  94. .extra1 {text-indent: 5px; margin-bottom: 2px; padding-left: 7px; padding-top: 5px; padding-bottom: 4px; padding-right: 5px; margin-left:-4px; margin-right:-2px; border-bottom:1px #f3f3f3 solid;line-height:30px;}
  95. ol.notes {list-style: none; width:400px; margin-left:-50px;}
  96. ol.notes li.note {margin-bottom: 2px; padding-left: 7px; padding-top: 5px; padding-bottom: 4px; padding-right: 5px;text-transform: lowercase; line-height: 25px; border-bottom:1px #eee solid; width:500px;}
  97. ol.notes li.note img.avatar {display:inline; width:16px; height:16px; border-radius:30px;}
  98. ol.notes li.note .answer_content {font-weight: normal;}
  99. ol.notes li.note blockquote {display: none;}
  100.  
  101.  
  102.  
  103. .chat {background:transparent; margin: 0; font-size: Tamanho da fontepx; font-family: cambria;}
  104. .chat .lines {margin-left: 0; background: transparent; color:
  105. {color:text}; margin-bottom: 1px; padding: 4px 5px 4px 5px;}
  106. .chat .lines span{font-weight: bold;}
  107. .person1 {color: {color:text}; padding: 2px; }
  108. .person1 .label {font-weight: bold; color:{color:text}}
  109. .person2 {color: {color:text}; padding: 2px; }
  110. .person2 .label {font-weight: bold; color:{color:text}}
  111.  
  112. .player {background-color:{color:bgask}; text-align: left; display:block;}
  113.  
  114. .vsanna {display:none;}
  115.  
  116. .posts .pupu{ width:240px; height: 16px; font-family:calibri; font-size: 9px; text-transform:uppercase; position: absolute; line-height: 15px; text-align:right; opacity: 0; background-color:#ffffff;padding:5px;{block:IfOneColumns}width: 490px;{/block:IfOneColumns}}
  117. .posts:hover .pupu {bottom:-2px; opacity:1;-webkit-transition: all 0.5s linear;-webkit-transition: all 0.5s linear;-moz-transition: all 0.1s linear;}
  118. .rebutton{opacity: 0;position: absolute;-webkit-transition-duration: .50s;}
  119. .posts:hover .rebutton{opacity: 1.0;position: absolute;left:40px; bottom: 15px;-webkit-transition-duration: .50s;}
  120. .heart{ opacity: 0;position: absolute;-webkit-transition-duration: .50s;}
  121. .posts:hover .heart {opacity: 1.0;position: absolute;left:15px; bottom: 15px;-webkit-transition-duration: .50s;}
  122.  
  123. .pquote {text-indent:15px; text-align:justify; }
  124.  
  125. .quotesource{text-indent:0px;color:{color:quotesource};;margin-top:5px;
  126. text-align:left;}
  127.  
  128. .quote {
  129. text-align:justify;
  130. font-family:calibri;
  131. line-height: 18px;
  132. text-indent:2px;
  133. margin-left: 2px; }
  134.  
  135. .quotesource {
  136. font-family:consolas;
  137. text-align: right; color:{color:lifa} ;
  138. margin-bottom: 10px;
  139. margin-top: -10px;
  140. margin-left:5px;
  141. font-size:11px;}
  142.  
  143. .caixola { opacity:0; position: absolute; height:15px; line-height:0px;
  144. text-transform:uppercase; bottom:-5px; right:0%; -webkit-transition-duration: 0.9s; z-index:99; -webkit-transition: opacity 0.5s linear; opacity: 0.0;; -webkit-transition:All 1s ease; -moz-transition:All 1s ease; -webkit-transition: all 0.6s ease-out; -o-transition:All 1s ease; font-family:'open sans', serif; font-size:9px; background:transparent; width:220px;letter-spacing:1px;}
  145.  
  146. .posts:hover .caixola { opacity:1; bottom:-4px;}
  147. .caixola a {font-family:calibri;font-size:9px;text-transform:uppercase;}
  148.  
  149.  
  150. .caixinha {opacity:0;position: absolute;text-align: center; height:20px;line-height:20px;text-transform:uppercase;bottom:0px;right:0%;-webkit-transition-duration: 0.9s;z-index:99;-webkit-transition: opacity 0.5s linear; opacity: 0.0;;-webkit-transition:All 1s ease;-moz-transition:All 1s ease;-webkit-transition: all 0.6s ease-out;-o-transition:All 1s ease; font-family:arial;font-size:9px;background:{color:background};width:320px;}
  151. .posts:hover .caixinha {opacity:1;bottom:4px;}
  152. .caixinha a{font-family:Baumans;font-size:9px;text-transform:uppercase;}
  153.  
  154.  
  155. ::-webkit-scrollbar-thumb:horizontal {background:{color:Rolagem}; height: 5px;}
  156. ::-webkit-scrollbar {background:{color:Background} Url('{image:Background}'); width:5px; height: 1px}
  157. ::-webkit-scrollbar-thumb:vertical {background:{color:Rolagem}; height: 15px;}
  158.  
  159. .askerft {border-radius:100px;height:24px;width:24px;margin-top:-40px;margin-left:-15px;margin-right:-10px;z-index:100px;}
  160. .asker { background: {color:askbg}; font-weight:normal; padding:6px; margin-bottom: 1px; color:{color:askcolor}; font-size: 10px;text-align:left;font-family: arial;border-radius:4px;margin-top:10px; margin-left:10px;z-index:-100}
  161. #tri{border-top: 8px solid {color:askbg};;border-right:5px solid transparent;border-bottom: 8px solid transparent;
  162. border-left: 5px solid transparent;width: 0px;height: 0px;margin-top:-1px;margin-left:100px; margin-left:17px; }
  163. .asker a{background:#;color:{color:askcolor};font-family:trebuchet ms;font-size:9px;text-transform:uppercase;margin-left:10px;}
  164.  
  165. .resposta { font-weight:normal; padding:10px; margin-bottom: 1px; text-shadow:0 0px 0px #fff;; font-size: 11px; margin-top:-20px; }
  166.  
  167.  
  168.  
  169. #s-m-t-tooltip{
  170. font-size:9px;
  171. color:#fff;
  172. font-family:times;
  173. letter-spacing:1px;
  174. text-transform:uppercase;
  175. max-width:300px;
  176. padding:2px 4px;
  177. margin:0px 0px 0px 15px;
  178. z-index:9999999;
  179. background:#454545;
  180. border:1px solid #eee;
  181. z-index:99998887789999;
  182. }
  183.  
  184.  
  185. #sidebar{background-color: transparent; width: 275px;height:400px;padding: 5px; position: fixed;margin-top: 250px;text-align: center;margin-left: 240px; font-family:calibri;}
  186.  
  187. #frufru {height:auto; margin-top:-30px; position:fixed; text-align:left;margin-left:80px;}
  188.  
  189. #frufru img { width:160px; height:35px; opacity:1; -webkit-filter: grayscale(40%)}
  190.  
  191. #desc {z-index:9;background:transparent;padding:2px; margin-top:0px; margin-left:65px; padding:2px; text-align:justify; position:fixed; font-family:garamond; font-size:14px; color:{color:text}; width:160px;}
  192.  
  193. #links {margin-top:104px; margin-left:50px; width:193px; opacity: 1;}
  194. #links a {font-size:12px; text-decoration:bold; font-style:;margin-right:2px; background:transparent;letter-spacing:1px; color:{color:lifa}; margin-right:3px;}
  195. #links a:hover {text-decoration:line-through;}
  196.  
  197. /** CRED **/
  198. #credit {color:{color:text};padding:5px;position:fixed;bottom:35px;right:21px;font-family:cambria;font-size:10px; width: 140px; overflow: hidden; height: 9px; -webkit-transition: all 0.9s ease-out; -moz-transition: all 0.9s ease-out; opacity:0.90;-moz-opacity: 0.90; filter: alpha(opacity=90);}
  199. #credit span {color:{color:text links descri};}
  200. #credit a{text-transform:lowercase;}
  201.  
  202.  
  203.  
  204. h1 {font-family: 'Garamond', serif; font-style: italic; font-size: 19px!important; font-weight: normal; margin: 0 0 0px 0;}
  205.  
  206. .frase1 { padding:2px ; letter-spacing:1px; font-size:19; line-height:0px; font-family:'Garamond' ; font-style:none; margin-bottom:0px; margin-top: -53px; margin-left:20px; color:{color:lifa} ; opacity: 1;; width:240;height: 015; }
  207.  
  208.  
  209. </style>
  210.  
  211.  
  212.  
  213. <link href='http://fonts.googleapis.com/css?family=Cookie' rel='stylesheet' type='text/css'>
  214.  
  215. <link href='http://fonts.googleapis.com/css?family=Baumans' rel='stylesheet' type='text/css'>
  216.  
  217. <link href='http://fonts.googleapis.com/css?family=Rouge+Script|Dancing+Script' rel='stylesheet' type='text/css'>
  218.  
  219.  
  220. <body>
  221.  
  222. <div id="sidebar">
  223. <h1><span>{frase}</span></h1>
  224. <div class="frase1"><b>{text:frase}</b></div>
  225. <div id="desc">{description}</div>
  226. <div id="links">
  227. <a href="{text:Link1}">{text:Link1 Title} </a>
  228. <a href="{text:Link2}">{text:Link2 Title} </a>
  229. <a href="{text:Link3}">{text:Link3 Title} </a>
  230. <a href="{text:Link4}">{text:Link4 Title} </a>
  231. <a href="{text:Link5}">{text:Link5 Title} </a>
  232.  
  233. </div></div></div></div>
  234.  
  235. <div id="entry">
  236. {block:Posts}
  237. <div class="posts">
  238.  
  239.  
  240. {block:Text}{block:IndexPage}
  241. <div class="caixinha">
  242. <a href="{permalink}"> {Month} {DayofMonthWithSuffix}</a> /
  243. <a href="{Permalink}">{NoteCount}</a> /
  244. <a href="{ReblogURL}">Reblog</a>
  245. </div> {/block:IndexPage}
  246. {block:Title}<p><b>{Title}</b></p>{/block:Title}
  247. <p>{Body}</p>
  248.  
  249. {/block:Text}
  250. <div id="cap">
  251.  
  252.  
  253.  
  254. {block:Photo}
  255. <div class="parol">
  256. {block:IndexPage}{LinkOpenTag}<a href="{permalink}"><div class="photo"><a><a href="{permalink}"><img class="photo"
  257. src="{PhotoURL-HighRes}" alt="{PhotoAlt}"
  258. width="100%"/></a></div>{LinkCloseTag}{/block:IndexPage}
  259. {block:PermalinkPage}{LinkOpenTag}<a href="{permalink}"><img
  260. class="photo" src="{PhotoURL-HighRes}" alt="{PhotoAlt}"
  261. width="495"/></a>{LinkCloseTag}
  262. {/block:PermalinkPage}
  263. {block:IndexPage}
  264. <div class="heart">{LikeButton color="white" size="15"}</div>
  265. <div class="rebutton">{ReblogButton color="white" size="15"}
  266. </div>
  267. {/block:indexpage}
  268. </div>
  269. {/block:Photo}
  270.  
  271.  
  272.  
  273. {block:Photoset}
  274. {block:IfNotOneColumns}{block:IndexPage}{LinkOpenTag}{Photoset-250}{LinkCloseTag}{/block:IndexPage}{block:IfNotOneColumns}
  275. {block:IfOneColumns}{block:IndexPage}{LinkOpenTag}{Photoset-400}{LinkCloseTag}{/block:IndexPage}{block:IfOneColumns}
  276. {block:PermalinkPage}{LinkOpenTag}{Photoset-500}{LinkCloseTag}{/block:PermalinkPage}
  277. {block:Caption}{Caption}{/block:Caption}
  278. {block:IndexPage}
  279. <div class="heart">{LikeButton color="white" size="15"}</div>
  280. <div class="rebutton">{ReblogButton color="white" size="15"}
  281. </div>
  282. {/block:indexpage}
  283. {/block:Photoset}
  284.  
  285. {block:Quote}
  286. <div class="caixola">
  287. <a href="{Permalink}">{NoteCount}</a> /
  288. <a href="{ReblogURL}">Compartilhe</a>
  289. </div>
  290. <div class="quote">❝ {Quote}</div>
  291. {block:Source}<div class="quotesource"></br> —&nbsp;&nbsp;{Source}</div>{/block:Source}
  292. {/block:Quote}
  293.  
  294. {block:Link}
  295. <div class="caixinha">
  296. <a href="{permalink}"> {Month} {DayofMonthWithSuffix}</a> /
  297. <a href="{Permalink}">{NoteCount}</a> /
  298. <a href="{ReblogURL}">Reblog</a>
  299. </div>
  300. <h1><a href="{URL}" {Target}>{Name}</a></h1>
  301. {block:Description}{Description}{/block:Description}
  302. {/block:Link}
  303.  
  304. {Block:chat}
  305. <div class="caixinha">
  306. <a href="{permalink}"> {Month} {DayofMonthWithSuffix}</a> /
  307. <a href="{Permalink}">{NoteCount}</a> /
  308. <a href="{ReblogURL}">Reblog</a>
  309. </div>
  310. {block:lines}
  311. <div class="chat"><div class="lines">{block:Label}<span>{Label}</span>
  312. {/block:Label} {Line}</div></div>{/block:lines}{/block:chat}
  313.  
  314. {block:Audio}<div class="caixinha">
  315. <a href="{permalink}"> {Month} {DayofMonthWithSuffix}</a> /
  316. <a href="{Permalink}">{NoteCount}</a> /
  317. <a href="{ReblogURL}">Reblog</a>
  318. </div>
  319. <div class="player">{AudioPlayerBlack}</div>{block:Caption}{Caption}{/block:Caption}{/block:Audio}
  320.  
  321. {block:Video}{block:IndexPage}
  322. <div class="caixinha">
  323. <a href="{permalink}"> {Month} {DayofMonthWithSuffix}</a> /
  324. <a href="{Permalink}">{NoteCount}</a> /
  325. <a href="{ReblogURL}">Reblog</a>
  326. </div>
  327. {/block:IndexPage}
  328. {Video-250}{/block:Video}
  329.  
  330. {block:Answer}{block:IndexPage}
  331. <div class="asker"><img src="{AskerPortraitURL-24}" class="askerft">{Asker}: {Question}</div><div id="tri"></div>
  332. <div class="resposta">{Answer}</div>
  333. {/block:IndexPage}{block:PermalinkPage}<div class="posts2">
  334. <div class="asker"><img src="{AskerPortraitURL-24}" class="askerft">{Asker}: {Question}</div><div id="tri"></div>
  335. <div class="resposta">{Answer}</div>
  336. {/block:PermalinkPage}
  337.  
  338. <div class="caixinha">
  339. <a href="{Permalink}">{NoteCount}</a>
  340. </div>
  341. {/block:Answer}
  342.  
  343.  
  344. </div>
  345. <div class="vsanna">{block:RebloggedFrom}<a href="{ReblogParentURL}">via</a>{/block:RebloggedFrom}
  346. {block:ContentSource}<a href="{SourceURL}">source</a>{/block:ContentSource}</div>
  347. {/block:RebloggedFrom}
  348. </div>
  349.  
  350. <!------ PERMALINKPAGE - CONJUNTAR ------>
  351. {block:PostNotes}
  352. {block:PermalinkPage}
  353. <div class="posts">
  354. <div class="but">{block:Date}
  355. <div class="extra1">
  356. <img src="http://static.tumblr.com/cdfpv33/5oymjxo65/cal.png"> Postado no dia {DayOfMonth},<b> de {Month}</b> de {Year}.</div>{/block:Date}{block:RebloggedFrom}
  357. <div class="extra1">
  358. <img src="http://static.tumblr.com/cdfpv33/XOomjxo5e/perman.png"> Compartilhado de: <a href="{ReblogParentURL}" target="_blank">{ReblogParentName}</a>.</div>
  359. <div class="extra1">
  360. <img src="http://static.tumblr.com/wa79tuo/LApm1iuqc/user.png"> Autoria de: {block:ContentSource}<a href="{SourceURL}" target=blank>{SourceTitle}</a>{/block:ContentSource}.</div>
  361. <div class="extra1">
  362. <img src="http://static.tumblr.com/cdfpv33/2L0mjxo4l/coracao.png"> Com {NoteCountWithLabel}.</div>
  363.  
  364.  
  365.  
  366. {/block:RebloggedFrom}{/block:PermalinkPage}{PostNotes}</div></div>{/block:PostNotes}{/block:Posts}
  367.  
  368.  
  369.  
  370.  
  371. </div></div>
  372.  
  373.  
  374.  
  375. {block:IndexPage}
  376. <div class="column navigation" id="navigation">
  377. {block:Pagination}
  378. {block:PreviousPage}<a href="{PreviousPage}" class="navigate">{/block:PreviousPage}{block:PreviousPage}</a>{/block:PreviousPage}
  379. {block:NextPage}<a href="{NextPage}" class="navigate" id="nextPage">{/block:NextPage}{block:NextPage}</a>{/block:NextPage}{/block:Pagination}
  380. </div>
  381. {/block:IndexPage}
  382.  
  383. </div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
  384.  
  385.  
  386.  
  387. </body>
  388.  
  389.  
  390. <script language="javascript">
  391. function clickIE() {if (document.all) {(mensagem);return false;}}
  392. function clickNS(e) {if
  393. (document.layers||(document.getElementById&&!document.all)) {
  394. if (e.which==2||e.which==3) {alert(mensagem);return false;}}}
  395. if (document.layers)
  396. {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
  397. else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
  398. document.oncontextmenu=new Function("return false")
  399. </script>
  400. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
  401. <script src="http://static.tumblr.com/6hsqxdt/vmwm2rb4g/infinitescrolling.js"></script>
  402. <script src="http://static.tumblr.com/6hsqxdt/QBym35odk/jquery.masonry.js"></script>
  403. <script>
  404. $(function(){
  405. var $container = $('#entry');
  406. $container.imagesLoaded(function(){
  407. $container.masonry({
  408. itemSelector: '.posts',
  409. columnWidth: 270
  410. });
  411. });
  412. $container.infinitescroll({
  413. navSelector : "div#navigation",
  414. nextSelector : "div#navigation a#nextPage",
  415. itemSelector : '.posts',
  416. loading: {
  417. finishedMsg: ' ',
  418. img: ' '
  419. }
  420. },
  421. function( newElements ) {
  422. var $newElems = $( newElements ).css({ opacity: 0 });
  423. $newElems.imagesLoaded(function(){
  424. $newElems.animate({ opacity: 1 });
  425. $container.masonry( 'appended', $newElems, true );
  426. });
  427. }
  428. );
  429.  
  430. });
  431. </script>
  432.  
  433.  
  434.  
  435. <script>
  436.  
  437. $(document).ready(function() {
  438.  
  439. //
  440.  
  441. //When you click on a link with class of poplight and the href starts with a #
  442.  
  443.  
  444.  
  445. $('a.poplight[href^=#]').click(function() {
  446.  
  447.  
  448.  
  449. var popID = $(this).attr('rel'); //Get Popup Name
  450.  
  451.  
  452.  
  453. var popURL = $(this).attr('href'); //Get Popup href to define size
  454.  
  455.  
  456.  
  457. //Pull Query & Variables from href URL
  458.  
  459.  
  460.  
  461. var query= popURL.split('?');
  462.  
  463.  
  464.  
  465. var dim= query[1].split('&');
  466.  
  467.  
  468.  
  469. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  470.  
  471.  
  472.  
  473. //Fade in the Popup and add close button
  474.  
  475.  
  476.  
  477. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="" class="close" title="Close" alt="Close"><img src="http://cdn1.iconfinder.com/data/icons/bwpx/icons/symbol_multiplication.gif" class="btn_close" /></a>');
  478.  
  479.  
  480.  
  481. //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
  482.  
  483.  
  484.  
  485. var popMargTop = ($('#' + popID).height() + 80) / 2;
  486.  
  487.  
  488.  
  489. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  490.  
  491.  
  492.  
  493. //Apply Margin to Popup
  494.  
  495.  
  496.  
  497. $('#' + popID).css({
  498.  
  499.  
  500.  
  501. 'margin-top' : -popMargTop,
  502.  
  503.  
  504.  
  505. 'margin-left' : -popMargLeft
  506.  
  507.  
  508.  
  509. });
  510.  
  511.  
  512.  
  513. //Fade in Background
  514.  
  515.  
  516.  
  517. $('body').append('<div id="fade"></div>'); //Add the fade layer to bottom of the body tag.
  518.  
  519.  
  520.  
  521. $('#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
  522.  
  523.  
  524.  
  525. return false;
  526.  
  527.  
  528.  
  529. });
  530.  
  531.  
  532.  
  533.  
  534.  
  535. //Close Popups and Fade Layer
  536.  
  537.  
  538.  
  539. $('a.close, #fade').live('click', function() { //When clicking on the close or fade layer...
  540.  
  541.  
  542.  
  543. $('#fade , .popup_block').fadeOut(function() {
  544.  
  545.  
  546.  
  547. $('#fade, a.close').remove(); //fade them both out
  548.  
  549. });
  550.  
  551. return false;
  552.  
  553. });
  554.  
  555.  
  556.  
  557. });
  558.  
  559.  
  560. </script>
  561.  
  562. <div id="credit"> <a href="http://emendarei.tumblr.com/" title="dtl poesificada"> tema por <b>emendarei</a></b></div>
  563.  
  564. <!-- THEME MARYGLEICE (POETA-INEPTA) -->
  565. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement