elisewhite

Theme Code w/ Popup for desirabledean

Dec 28th, 2013
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.59 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. <!-- Theme 10; live long and prosper by ~winchestheart.
  5. // http://winchestheart.tumblr.com © //
  6.  
  7. This work is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License.
  8. > http://creativecommons.org/licenses/by-nc/3.0/
  9.  
  10. Read the rules before using any of my themes:
  11. > http://winchestheart.tumblr.com/rules
  12.  
  13. Do not remove the credit or use as your own work.
  14. Thank you.
  15.  
  16. -->
  17.  
  18.  
  19. <html><head>
  20.  
  21. <script type="text/javascript">function tb8_makeArray(n){this.length = n;return this.length;}tb8_messages = new
  22. tb8_makeArray(3);tb8_messages[0] = "listen to me,";
  23. tb8_messages[1] = "you are beautiful";
  24. tb8_messages[2] = "and i love you.";
  25. tb8_rptType = 'infinite';tb8_rptNbr = 5;tb8_speed = 100;tb8_delay = 2000;var tb8_counter=1;var tb8_currMsg=0;var tb8_tekst ="";var tb8_i=0;var tb8_TID = null;function tb8_pisi(){tb8_tekst = tb8_tekst + tb8_messages[tb8_currMsg].substring(tb8_i, tb8_i+1);document.title = tb8_tekst;tb8_sp=tb8_speed;tb8_i++;if (tb8_i==tb8_messages[tb8_currMsg].length){tb8_currMsg++; tb8_i=0; tb8_tekst="";tb8_sp=tb8_delay;}if (tb8_currMsg == tb8_messages.length){if ((tb8_rptType == 'finite') && (tb8_counter==tb8_rptNbr)){clearTimeout(tb8_TID);return;}tb8_counter++;tb8_currMsg = 0;}tb8_TID = setTimeout("tb8_pisi()", tb8_sp);}tb8_pisi()</script>
  26.  
  27.  
  28. <!--BEGIN POPUP JAVASCRIPT CODE-->
  29.  
  30. <script type="text/javascript"
  31. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  32. <script>
  33. $(document).ready(function() {
  34. //
  35. $('a.poplight[href^=#]').click(function() {
  36. var popID = $(this).attr('rel'); //Get Popup Name
  37. var popURL = $(this).attr('href'); //Get Popup href to define size
  38. var query= popURL.split('?');
  39. var dim= query[1].split('&');
  40. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  41. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"><img src="http://media.tumblr.com/b28c104906c576285505ca134600853a/tumblr_inline_mfp5cwdybL1qh7cpd.gif" class="btn_close" title="Close" alt="Close" /></a>');
  42. var popMargTop = ($('#' + popID).height() + 80) / 2;
  43. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  44. //Apply Margin to Popup
  45. $('#' + popID).css({
  46. 'margin-top' : -popMargTop,
  47. 'margin-left' : -popMargLeft
  48. });
  49. $('body').append('<div id="fade"></div>');
  50. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
  51. return false;
  52. });
  53. $('a.close, #fade').live('click', function() {
  54. $('#fade , .popup_block').fadeOut(function() {
  55. $('#fade, a.close').remove(); //fade them both out
  56. });
  57. return false;
  58. });
  59. });
  60. </script>
  61.  
  62. <!--END POPUP JAVASCRIPT CODE-->
  63.  
  64.  
  65. <title>{Title}</title>
  66. <link rel="shortcut icon" href="{Favicon}">
  67.  
  68. <meta name="image:Sidebar" content="" />
  69.  
  70. <meta name="color:Links" content="#c6c6c6" />
  71. <meta name="color:Main Color" content="#bdcbcc" />
  72. <meta name="color:Text" content="#a7a7a7" />
  73. <meta name="color:Background" content="#ffffff" />
  74. <meta name="color:Post" content="#ffffff" />
  75. <meta name="color:Border" content="#f1f1f1" />
  76. <meta name="color:Navi Background" content="#f9f9f9" />
  77.  
  78. <meta name="text:Link 01" content="home" />
  79. <meta name="text:Link 02" content="ask" />
  80. <meta name="text:Link 03" content="link" />
  81. <meta name="text:Link 04" content="link" />
  82. <meta name="text:Link 01 URL" content="/" />
  83. <meta name="text:Link 02 URL" content="/ask" />
  84. <meta name="text:Link 03 URL" content="/" />
  85. <meta name="text:Link 04 URL" content="/" />
  86.  
  87. <meta name="if:Lazy Load" content="" />
  88. <meta name="if:Custom Scrollbar" content="">
  89.  
  90. <style>@font-face { font-family: Quicksand; src: url('http://static.tumblr.com/sdulnxj/Hhsmrwo3y/quicksand-bold.otf'); }</style>
  91.  
  92. <style>@font-face{ font-family:Just Realize; src: url(http://static.tumblr.com/sghs9ih/2tFlu5il8/justrealize.ttf); }</style>
  93.  
  94.  
  95. <!-- lazy load by Mika Tuupola | http://www.appelsiini.net -------------->
  96.  
  97. {block:IfLazyLoad}
  98. <script type="text/javascript" src="http://static.tumblr.com/bmdsqsc/8mXm7q8vn/jquery.js"></script>
  99. <script type="text/javascript" src="http://static.tumblr.com/bmdsqsc/ogWm7q8w1/lazyload.js"></script>
  100. <script type="text/javascript" charset="utf-8">
  101. var $j = jQuery.noConflict();
  102. $j(function() {
  103. if (navigator.platform == "iPad" || navigator.platform == "iPhone") return;
  104. $j("img").lazyload({
  105. placeholder : "http://static.tumblr.com/twte3d7/RSvlio0k5/grey.gif",
  106. effect: "fadeIn",
  107. });
  108. });
  109. </script>
  110. {/block:IfLazyLoad}
  111.  
  112.  
  113. <style type="text/css">
  114.  
  115. /*BEGIN POPUP CSS CODE*/
  116.  
  117. #fade { /*--Transparent background layer--*/
  118. display: none; /*--hidden by default--*/
  119. background: #000;
  120. position: fixed; left: 0; top: 0;
  121. width: 100%; height: 100%;
  122. opacity: .80;
  123. z-index: 9999;
  124. }
  125. .popup_block{
  126.  
  127. display: none; /*--hidden by default--*/
  128. background: #fff;
  129. height:auto;
  130.  
  131. padding: 5px;
  132. border: 3px solid #ddd;
  133. text-align:center;
  134. float: left;
  135. font-size: 12px;
  136. position: fixed;
  137. top: 55%; left: 55%;
  138. z-index: 99999;
  139. /*--CSS3 Box Shadows--*/
  140. -webkit-box-shadow: 0px 0px 20px #000;
  141. -moz-box-shadow: 0px 0px 20px #000;
  142. box-shadow: 0px 0px 20px #000;
  143. /*--CSS3 Rounded Corners--*/
  144. -webkit-border-radius: 2px;
  145. -moz-border-radius: 2px;
  146. border-radius: 2px;
  147. }
  148. img.btn_close {
  149. float: right;
  150. margin: -2px -2px 0 0;
  151. }
  152. /*--Making IE6 Understand Fixed Positioning--*/
  153. *html #fade {
  154. position: absolute;
  155. }
  156. *html .popup_block {
  157. position: absolute;
  158. }
  159.  
  160. /*END POPUP CSS CODE*/
  161.  
  162. #bite
  163. #bite a{
  164. display:block
  165. }
  166. #bite .death {
  167. margin-top:0px;filter: alpha(opacity = 0);
  168. opacity:0;-webkit-transition: all 0.5s ease-out;
  169. -moz-transition: all 0.5s ease-out;transition: all 0.5s ease-out;
  170. }
  171.  
  172. #bite:hover .death {
  173. margin-top:0px;
  174. -webkit-transition: all 0.8s ease-out;
  175. -moz-transition: all 0.8s ease-out;
  176. transition: all 0.8s ease-out;
  177. filter: alpha(opacity = 100);
  178. filter: alpha(opacity = 100);
  179. opacity:100;
  180. }
  181.  
  182. #actualnews {
  183. font-family:calibri;
  184. font-size:10px;
  185. color: #000000;
  186. width:140px;
  187. height:auto;
  188. padding-top:3px;
  189. border:0px dashed #b8b8b8;
  190. margin-left:0px;
  191. margin-top:80px;
  192. text-align:center;
  193. position:fixed;
  194. line-height:110%;
  195. }
  196.  
  197. #thekey img{
  198. width:150px;
  199. margin-top:-10px;
  200. margin-left:-10px;
  201. position:fixed;
  202. }
  203.  
  204. {block:IfCustomScrollbar}
  205. ::-webkit-scrollbar {width:5px;height:5px;background:{color:sidebar background};}
  206. ::-webkit-scrollbar-thumb:vertical {height:5px;background:{color:main color};}
  207. ::-webkit-scrollbar-thumb:horizontal {height:5px;background:{color:main color};}
  208. {/block:IfCustomScrollbar}
  209.  
  210. iframe#tumblr_controls {top:0px!important;right:3px!important;position: fixed!important;}
  211.  
  212. body {font-family:calibri;font-size:10px;background-color:{color:background};color:{color:text};line-height:11px;letter-spacing:0px;}
  213.  
  214. a {text-decoration:none;-webkit-transition: all .3s linear;-moz-transition: all .3s linear;-ms-transition: all .3s linear;-o-transition: all .3s linear;transition: all .3s linear;color:{color:links};}
  215. a:hover {color:{color:main color};}
  216.  
  217. strong, bold, b {font-weight:normal;color:{color:links};}
  218.  
  219. small {font-size:10px;}
  220. sub {font-size:10px;}
  221. code {font-size:10px;font-family:calibri;}
  222. pre {word-wrap:break-word;font-size:10px;font-family:calibri;}
  223.  
  224. blockquote {padding-left:8px;margin-left:10px;border-left:3px solid {color:border};}
  225.  
  226. blockquote img {max-width:300px;}
  227.  
  228. h1 {font-size:10px;font-weight:normal;}
  229.  
  230. .label {font-weight:bold;color:{color:main color};}
  231. .chat {line-height:12px;margin:8px;}
  232.  
  233. #credit {position:fixed;bottom:5px;right:5px;text-transform:uppercase;font-size:8px;font-weight:bold;font-family:calibri;padding:3px;border:1px solid {color:border};}
  234.  
  235.  
  236. /* SIDEBAR */
  237.  
  238. #sidebar {position:fixed;width:180px;margin-left:180px;margin-top:200px;}
  239.  
  240. .navigation {text-align:center;margin:8px 0px;line-height:15px;background-color:{color:Navi Background};padding:2px;letter-spacing:1px;font-size:9px;font-family:cambria;}
  241. .navigation a {padding:2px 3px;margin:0px 1px;color:{color:text};}
  242. .navigation a:hover {text-decoration:underline;}
  243.  
  244. .description {margin-top:5px;text-align:center;padding:0px 10px;}
  245.  
  246. .pagination {text-align:center;margin-top:5px;color:{color:links};}
  247.  
  248. /* POST */
  249.  
  250.  
  251. #post {width:500px;margin-left:450px;padding:1px;padding-bottom:8px;text-align:justify;background-color:{color:background};}
  252.  
  253. .line {width:500px;margin-left:450px;margin-top:6px;height:1px;background-color:{color:border};}
  254.  
  255. .permalink {margin-left:448px;margin-top:-7px;text-transform:uppercase;font-size:7px;text-align:left;letter-spacing:1px;font-family:trebuchet ms;}
  256.  
  257. .tags {font-style:italic;width:500px;margin-left:452px;margin-top:5px;color:{color:links};}
  258. .tags a:hover {text-decoration:underline;color:{color:links};}
  259.  
  260.  
  261. /* QUOTE */
  262.  
  263. .quote {font-size:12px;font-family:cambria;line-height:15px;}
  264. .source {font-size:8px;text-transform:uppercase;font-family:calibri;font-weight:bold;padding-top:10px;text-align:center;margin-bottom:10px;}
  265.  
  266.  
  267. /* QUESTION */
  268.  
  269. .question {padding:10px;text-align:justify;font-style:italic;background-color:{color:border};}
  270. .asker {font-size:8px;font-weight:bold;text-transform:uppercase;text-align:right;margin-right:10px;margin-top:-2px;font-family:calibri;}
  271.  
  272.  
  273. /* NOTES */
  274.  
  275. .notes {margin-left:210px;margin-top:30px;width:480px;}
  276. .notes a:hover {background-color:transparent;color:{color:links};}
  277. ol.notes {list-style-type:none;}
  278. ol.notes li.note {padding-bottom:7px;margin-bottom:12px;border-bottom:1px solid {color:border};}
  279. ol.notes li.note img.avatar {vertical-align:-8px;}
  280. ol.notes li.note img {padding:2px;border:1px solid {color:border};}
  281. ol.notes li.note blockquote {padding-left:5px;margin-left:30px;}
  282.  
  283. </style>
  284. </head>
  285.  
  286. <body>
  287.  
  288. <script type="text/javascript" src="http://i0.poll.fm/survey.js" charset="UTF-8"></script>
  289. <script type="text/javascript" charset="utf-8">
  290. polldaddy.add( {
  291. type: 'slider',
  292. embed: 'poll',
  293. delay: 100,
  294. visit: 'single',
  295. id: 7668490
  296. } );
  297. </script>
  298. <noscript><a href="http://polldaddy.com/poll/7668490/">when i hit 1k, what should i do to celebrate?</a></noscript>
  299.  
  300.  
  301.  
  302.  
  303. <div id="bite">
  304. <div id="thekey"><img src="http://media.tumblr.com/b7a07158acbf9801d6eaf52eab0d434a/tumblr_inline_mnmlirdA361rikao3.jpg"></div>
  305. <div class="death">
  306. <div id="actualnews">
  307.  
  308. <div style="color:#fff; background-color:#C887E4; padding:3px;"><font face="quicksand">ABOUT</font></font></div><br>
  309. <font face="just realize" font size="4.7">multi-fandom</font>
  310. <p>
  311. <font color="6cb9c6">my current time: </font color><p>
  312. <iframe src="http://free.timeanddate.com/clock/i3yb2nhn/n70/fs9/fcc887e4" frameborder="0" width="63" height="15"></iframe>
  313. <p>
  314. QUEUE RUNS 1AM - 8PM <p>
  315. + previously: claraclause<br>
  316. + tracking: desirabledean <p>
  317.  
  318. <script language="JavaScript">
  319. var ref = (''+document.referrer+'');
  320. var w_h = window.screen.width + " x " + window.screen.height;
  321. document.write('<script src="http://s1.freehostedscripts.net/ocounter.php?site=ID3737255&&r=' + ref + '&wh=' + w_h + '"><\/script>');
  322. </script>
  323. |
  324. <script language="JavaScript" src="http://s1.freehostedscripts.net/ocount.php?site=ID2360679&name=fallen claras"></script>
  325.  
  326. <div style="color:#fff; background-color:#C887E4; padding:3px;"><font face="quicksand">UPDATES</font></font></div><br>
  327. <b>→Reading:</b> allegiant
  328. <p>
  329. <b>→Watching:</b> supernatural (S6), ahs (S3)
  330. <p>
  331. <b>→Waiting On:</b> doctor who (s8)
  332.  
  333. <div style="color:#fff; background-color:#C887E4; padding:3px;"><font face="quicksand">NETWORKS</font></div>
  334. <a href="http://whouffle.co.vu/whoufflenetwork" title="whouffle network">✰</a>
  335. <a href="http://odairlucifer.tumblr.com/kazzacrew" title="the kazza crew">✰</a>
  336. <a href="http://thecamelotnetwork.tumblr.com/" title="the merlin network">✰</a>
  337. <a href="http://charliebradburie.co.vu/ninesnetwork" title="nine's network">✰</a>
  338. <a href="http://perfectlyjennanetwork.tumblr.com/" title="the perfectly jenna network">✰</a>
  339. <a href="http://shadowclara.tumblr.com/" title="the shadow clara network">✰</a>
  340. <a href="http://amyjpond.co.vu/twentyone" title="the twentyone network">✰</a>
  341. <a href="/hellonwheelsnetwork" title="the hell on wheels network">✰</a>
  342. <a href="http://claraspumpkin.tumblr.com/theyowzahnetwork" title="the yowzah network">✰</a>
  343. <a href="http://thetimesoldier.tumblr.com/doctorwhynetwork" title="the doctor why network">✰</a>
  344. <p>
  345. <div style="color:#fff; background-color:#C887E4; padding:3px;"><font face="quicksand">FRIENDS</font></div>
  346. <a href="http://bowtiesgoodbye.tumblr.com/"title="Ginny, the genius">♡</a>
  347. <a href="http://ellyblatz.tumblr.com/"title="Elyse, my Doctor Who Bitch">♡</a>
  348. <a href="http://queen-jlaw-forever.tumblr.com/"title="Jadea, my best friend since 3rd grade">♡</a>
  349. <a href="http://whouffle.co.vu/"title="Ariel, whouffle jesus">♡</a>
  350. <a href="http://onthehuntforshadows.tumblr.com/"title="Charlotte, my beauty">♡</a>
  351. <a href="http://oswinbosswin.tumblr.com/"title="Ivana, my friend who i can count on">♡</a>
  352. <a href="http://novaknoel.tumblr.com/"title="Elizabeth, my inspiration">♡</a>
  353. <a href="http://dontflymetotrenzalore.tumblr.com/"title="Olivia, the coolest">♡</a>
  354. <p>
  355. <div style="color:#fff; background-color:#C887E4; padding:3px;"><font face="quicksand">GOODBYE, RAGGEDY MAN</font></div>
  356. <img height="55" src="http://fc08.deviantart.net/fs70/f/2011/302/3/2/doctor_who_chibi__s_by_silly_peach-d4ebi0f.png" width="115"/>
  357.  
  358.  
  359.  
  360.  
  361.  
  362. </div>
  363. </div></div>
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373. <div id="credit"><a href="http://winchestheart.tumblr.com" target="_blank" title="theme by winchestheart">THEME</a></div>
  374.  
  375. <!-- sidebar -->
  376.  
  377. <div id="sidebar">
  378.  
  379. <center><img src="{image:Sidebar}" width="180"></center>
  380.  
  381. <div class="navigation">
  382. <a href="{text:Link 01 URL}">{text:Link 01}</a> <a href="{text:Link 02 URL}">{text:Link 02}</a> <a href="{text:Link 03 URL}">{text:Link 03}</a> <a href=#?w=400" rel="popup" class="poplight">{text:Link 04}</a></div>
  383.  
  384. <div class="description">{Description}</div>
  385.  
  386. <div class="pagination">{block:PreviousPage}<a href="{PreviousPage}"><i>prev</i></a> {/block:PreviousPage}{block:NextPage} — <a href="{NextPage}"><i>next</i></a>{/block:NextPage}</div>
  387.  
  388. </div> <!-- sidebar -->
  389.  
  390. <!-- posts -->
  391.  
  392. {block:Posts}
  393.  
  394. <br><br><br>
  395.  
  396. <div id="post">
  397.  
  398. {block:Text}{block:Title}<h1><a href="{Permalink}">{Title}</a></h1>{/block:Title}{Body}{/block:Text}
  399.  
  400. {block:Photo}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:Photo}
  401.  
  402. {block:Photoset}{Photoset-500}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:Photoset}
  403.  
  404. {block:Quote}<div class="quote">"{Quote}"</div>{block:Source}<div class="source">- {Source}</div>{/block:Source}{/block:Quote}
  405.  
  406. {block:Link}<h1><a href="{URL}" class="link" {Target}>{Name}</a></h1>{block:Description}{Description}{/block:Description}{/block:Link}
  407.  
  408. {block:Chat}<div id="chat">{block:Title}<a href="{Permalink}">{Title}</a>{/block:Title}<div class="chat">{block:Lines}<div class="{Alt} user_{UserNumber}">{block:Label}<span class="label">{Label} </span>{/block:Label}{Line}</div>{/block:Lines}</div></div>{/block:Chat}
  409.  
  410. {block:Video}{Video-500}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:Video}
  411.  
  412. {block:Audio}{AudioPlayerWhite}{block:Caption}{Caption}{/block:Caption}{/block:Audio}
  413.  
  414. {block:Answer}<div class="question">{Question}</div><div class="asker"><span style="font-size:20px;color:{color:border};">◥</span> {Asker}</div>{Answer}{/block:Answer}
  415.  
  416. {block:ContentSource}<!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  417. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />{/block:SourceLogo}{block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->{/block:ContentSource}
  418.  
  419. <!-- {block:NoRebloggedFrom}
  420. {block:RebloggedFrom}{ReblogParentName}{/block:RebloggedFrom}
  421. {/block:NoRebloggedFrom} -->
  422.  
  423. </div><!-- post -->
  424.  
  425. <div class="line"></div>
  426.  
  427. <center><div class="permalink">
  428. {block:Date}<span style="background-color:{color:background};padding:3px;"><a href="{Permalink}" style="letter-spacing:1px;font-weight:normal;background-color:{color:main color};padding:2px;padding-left:3px;color:{color:post};">{DayOfMonthWithZero} {Month}</a>{/block:Date}{block:NoteCount}&nbsp;&nbsp;<span style="color:{color:main color};opacity:.8;font-family:arial;"><big> ♥ </big></span><a href="{Permalink}">{NoteCountWithLabel}</a>{/block:NoteCount} {block:RebloggedFrom}&nbsp;&nbsp;<span style="color:{color:main color};opacity:.8;"><big>▲</big> </span><a href="{ReblogRootURL}" title="posted by {ReblogRootName}" target="_blank">{ReblogRootName}</a>{/block:RebloggedFrom}</span></div></center>
  429. <div class="tags">{block:HasTags}{block:Tags}<a href="{TagURL}">{Tag}</a>&nbsp;&nbsp;&nbsp;{/block:Tags}{/block:HasTags}</div>
  430.  
  431.  
  432.  
  433. {block:PostNotes}<div class="notes">{PostNotes}</div>{/block:PostNotes}
  434.  
  435. </div><!-- post -->
  436.  
  437. {/block:Posts}
  438.  
  439.  
  440. <br><br><br>
  441.  
  442. <!--START POPUP HTML-->
  443.  
  444. <div id="popup" class="popup_block"><center>
  445.  
  446. all of your text, links, whatever you want to show up in the pop up will go here
  447.  
  448. </div>
  449.  
  450. <!--END POPUP HTML-->
  451.  
  452. </body>
  453.  
  454. </html>
Advertisement
Add Comment
Please, Sign In to add comment