Advertisement
Cliffedgeoftheworld

Wild Theme v.1

Apr 13th, 2013
1,115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.77 KB | None | 0 0
  1. <!--
  2.  
  3. Wild Theme v.1
  4. Created by Cliffedgeoftheworld (cliffedgeoftheworld.tumblr.com)
  5. Please leave at least ONE credit link. Do not delete this box.
  6.  
  7. Theme is best viewed on Google Chrome, with a resolution of 1280x800.
  8.  
  9. *~*~HOW TO INSTALL~*~*
  10. 1) Copy this entire code.
  11. 2) Open up the customise.
  12. 3) Click on Edit HTML
  13. 4) Delete the code already in there.
  14. 5) Replace it with this code.
  15. 6) Hit Update Preview, and then Save.
  16. 7) Refresh the page, and press Save again.
  17. 8) If it wont let you paste in the box, or if it still does not work, use classic customize. (http://tumblr.com/customize-classic/)
  18.  
  19.  
  20. -->
  21. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  22. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  23.  
  24. <html xmlns="http://www.w3.org/1999/xhtml">
  25. <head>
  26. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  27. <title>{Title}{block:PostTitle} - {PostTitle}{/block:PostTitle}</title>
  28. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  29. <link rel="shortcut icon" href="{Favicon}">
  30. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  31. <meta name="color:scrollbar" content="#000000"/>
  32. <meta name="color:background" content="#ffffff"/>
  33. <meta name="color:text" content="#000000"/>
  34. <meta name="color:link" content="#000000"/>
  35. <meta name="text:Link 1" content=""/>
  36. <meta name="text:Link 1 URL" content=""/>
  37. <meta name="text:Link 2" content=""/>
  38. <meta name="text:Link 2 URL" content=""/>
  39. <meta name="text:Link 3" content=""/>
  40. <meta name="text:Link 3 URL" content=""/>
  41. <meta name="text:Link 4" content=""/>
  42. <meta name="text:Link 4 URL" content=""/>
  43. <meta name="text:Link 5" content=""/>
  44. <meta name="text:Link 5 URL" content=""/>
  45. <meta name="text:Link 6" content=""/>
  46. <meta name="text:Link 6 URL" content=""/>
  47. <meta name="text:Link 7" content=""/>
  48. <meta name="text:Link 7 URL" content=""/>
  49. <meta name="text:Link 8" content=""/>
  50. <meta name="text:Link 8 URL" content=""/>
  51. <meta name="text:Home Label" content="Home"/>
  52. <meta name="text:Ask Label" content="Ask"/>
  53. <meta name="text:Submit Label" content="Submit"/>
  54. <meta name="text:Archive Label" content="Archive"/>
  55. <meta name="if:Show Archive Link" content="1"/>
  56. <meta name="if:Show Submit Link" content="1"/>
  57. <meta name="if:Show Title" content="1"/>
  58. <meta name="if:Show Tags" content="0"/>
  59. <meta name="if:Animation" content="0"/>
  60. <meta name="if:To Top Button" content="1"/>
  61. <meta name="if:Infinite Scroll" content="1"/>
  62. <meta name="if:Show Captions" content="0"/>
  63. <meta name="if:Show Tags" content="0"/>
  64. <meta name="image:Background" content=""/>
  65. <meta name="image:Sidebar" content=""/>
  66. <script type="text/javascript" src="http://static.tumblr.com/uiqhh9x/jkEm9tb4p/jquery-1.8.1.min.js"></script>
  67. <div id="annoy">
  68. <link rel="stylesheet" type="text/css" href="http://static.tumblr.com/cpaytv3/2V1m9r58l/reset.css">
  69.  
  70. <script type="text/javascript" src="http://static.tumblr.com/tpqedpr/vnzmibpqr/minified.js"></script>
  71. </div>
  72. <style type="text/css">
  73. ::-webkit-scrollbar {width: 9px; height: 3px; background: #FFFFFF;}
  74.  
  75. ::-webkit-scrollbar-thumb {background-color:{color:scrollbar} ; }
  76. * {
  77. font-family: {font:body};
  78. {block:ifanimation}
  79. -webkit-transition: all 0.3s ease;
  80. -moz-transition: all 0.3s ease;
  81. transition: all 0.3s ease;
  82. -o-transition: all 0.3s ease;
  83. {/block:ifanimation}
  84. }
  85. body {
  86. color: {color:text};background: {color:background};
  87. background-image:url('{image:Background}');
  88. background-repeat: repeat;
  89. background-position: top center;
  90. background-attachment: fixed;
  91. font-family: Century Gothic;
  92. font-size: 10px;
  93. line-height: 1.5em;
  94. }
  95. p {margin:0 0 .75em 0} p:last-child {margin:0}
  96. a {
  97. color: {color:link};
  98. text-decoration:none;
  99. {block:IfAnimation}-webkit-transition:all .2s ease;-moz-transition:all .2s ease;transition:all .2s ease;-o-transition:all .2s ease;{/block:IfAnimation}}
  100. a:hover {color: #ffffff; }
  101. blockquote {quotes: "" "" "'" "'"; margin: 0.75em 0 .75em .75em;padding-left: 1.5em;
  102. line-height: 100%;border-left: solid 4px #EDEDED;
  103. }
  104. h1 {
  105. font-family: Lucida Sans;
  106. font-size: 24px;
  107. line-height: 1.5em;font-weight: normal;
  108. }
  109. ul {
  110. margin: 0px 1.5em .75em;}
  111. li {
  112. margin: .75em 0;
  113. list-style-type: square;
  114. }
  115. .box img {
  116. display: block;
  117. max-width: 100%;}.m-i {
  118. display: block;
  119. line-height: 1px!important;
  120. }
  121. .menu-picture {
  122. line-height: 100%;
  123. display: inline-block;
  124. line-height: 0px!important;
  125. }
  126. .post-link{
  127. font-family: Century Gothic;
  128. font-size: 8px;
  129. line-height: 8px;
  130. }p.source{text-align: center;}
  131. .menu-picture {
  132. line-height: 100%;display: inline-block;
  133. }p.source{text-align: center;}
  134. h3 {
  135. font-size: 14px; font-weight: normal;
  136. }.tagged { text-align: center; line-height: 8px;font-size: 8px;}
  137. .text { padding: 5px;}p.question {
  138. margin-bottom: .375em;
  139. }
  140. p.words {
  141. padding: 6px;
  142. line-height: 1.5em;
  143. color: #333333;
  144. background: #ebebeb;
  145. }
  146. .response {
  147. background: #efefef;
  148. padding: 5px;
  149. margin-bottom: .75em;
  150. }.answer {
  151. text-align: center;
  152. }
  153. .post {
  154. position: relative;
  155. {block:IndexPage}
  156. width:250px;
  157. {/block:IndexPage}
  158. {block:PermalinkPage}
  159. width:500px;
  160. {/block:PermalinkPage}
  161. {block:indexpage}float: left;{/block:indexpage}
  162. {block:Permalinkpage}margin:10px auto!imporant;{block:Permalinkpage}
  163. background: #ffffff;
  164. padding:2px;
  165. margin:10px;
  166. -moz-border-radius:5px;
  167. border-radius:5px;
  168. }.box {position: relative;}
  169.  
  170. #side {
  171. text-align: center;
  172. margin: 20px auto 10px;
  173. width:280px;
  174. padding:0px;
  175. background: #ffffff;
  176. }#side img {
  177. max-width: 100%;
  178. }ul {margin-bottom: .75em;}
  179. #contain {
  180. width:548px;
  181. margin: 10px auto 0;
  182. }
  183. #content {
  184. width:548px;
  185. }
  186. #annoy a{
  187. position:fixed; left:1px; top:1000px;
  188. }
  189. #infscr-loading{position:absolute!important;width:16px!important;height:11px!important;margin-bottom:-16px!important;top:auto!important;bottom:0;left:50%!important}.post .perma{position: absolute; border-left: 5px solid undefined; border-right: 5px solid undefined; width: 220px; left: 10px;text-align: center; bottom: 10px;opacity: 0;filter:alpha(opacity=0);z-index: 10000;background: rgba(255, 255, 255, .75);font-size: 10px;height: 21px;line-height: 21px;text-transform: uppercase;{block:ifanimation}-webkit-transition: all 0.3s ease;-moz-transition: all 0.3s ease;transition: all 0.3s ease;-o-transition: all 0.3s ease;{/block:ifanimation}}.post:hover .perma{opacity: 1;filter:alpha(opacity=100);}.perma:hover{background: rgba(255, 255, 255, 100);}.perma a{color: #000000;}.perma-a { text-align: right; text-transform: uppercase; }.perma-a { background: #efefef; padding: 2px 0px;text-align: center; text-transform: uppercase; {block:IfAnimation}-webkit-transition:all .2s ease;-moz-transition:all .2s ease;transition:all .2s ease;-o-transition:all .2s ease;{/block:IfAnimation}}
  190. #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;}.popup_block{display: none;/*--hidden by default--*/background: #fff;padding: 20px;border: 10px solid{color:Borders};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;}iframe#tumblr_controls,.btn.icon.theme{filter:invert(100%);-webkit-filter:invert(100%);-moz-filter:invert(100%);-o-filter:invert(100%);-ms-filter:invert(100%); opacity:.4;position:fixed!important}.box iframe {
  191. max-width: 100%;
  192. }.text img {max-width: 100%;}img {display: block;}.box img {display: block;}
  193. .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}
  194.  
  195. #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);{block:IfAnimation}-webkit-transition:all .2s ease;-moz-transition:all .2s ease;transition:all .2s ease;-o-transition:all .2s ease;{/block:IfAnimation}}#toTopHover{width:21px;height:21px;display:block;overflow:hidden;float:left;opacity:0;-moz-opacity:0;filter:alpha(opacity=0);{block:IfAnimation}-webkit-transition:all .2s ease;-moz-transition:all .2s ease;transition:all .2s ease;-o-transition:all .2s ease;{/block:IfAnimation}}#toTop:hover{opacity:1;filter:alpha(opacity = 100)}#toTop:active,#toTop:focus{outline:0}
  196.  
  197. 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%}
  198. </style></head>
  199. <body>
  200.  
  201. <div id="contain" class="clearfix">
  202. <div id="side">
  203. <div class="text">
  204. {block:IfShowTitle}<h1><a href="/">{Title}</a></h1>{/block:IfShowTitle}<a href="/"><a href="/" class="m-i"><img class="menu-picture" src="{image:sidebar}"/></a><div id="description" >{Description}</div><p><a href="#?w=500" rel="links" class="poplight"><span>- click for links -</span></a></p>{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}
  205. </div>
  206. </div>
  207. <div id="content">
  208. {block:Posts}
  209. <div class="post">
  210.  
  211. {block:Text}
  212. <div class="text">
  213. {block:Title}<h3>{Title}</h3>{/block:Title}
  214. {Body}
  215. <!-- permalink --> {block:IndexPage}
  216. <p class="post-link perma-a"><a href="{Permalink}">Posted {TimeAgo} With {NoteCountWithLabel}</a></p>
  217. <!-- /permalink --> {/block:IndexPage}
  218. </div>
  219. {/block:Text}
  220.  
  221. {block:Quote}
  222. <div class="text quote">
  223. <p class="words">&#8220;{Quote}&#8221;</p>
  224. {block:Source}<p class="source">{Source}</p>{/block:Source}
  225. <!-- permalink --> {block:IndexPage}
  226. <p class="post-link perma-a"><a href="{Permalink}">Posted {TimeAgo} With {NoteCountWithLabel}</a></p>
  227. <!-- /permalink --> {/block:IndexPage}
  228. </div>
  229. {/block:Quote}
  230.  
  231. {block:Link}
  232. <div class="text link">
  233. <h3><a href="{URL}" {Target}>{Name}</a></h3>
  234. {block:Description}{Description}{/block:Description}
  235. <!-- permalink --> {block:IndexPage}
  236. <p class="post-link perma-a"><a href="{Permalink}">Posted {TimeAgo} With {NoteCountWithLabel}</a></p>
  237. <!-- /permalink --> {/block:IndexPage}
  238. </div>
  239. {/block:Link}
  240.  
  241. {block:Chat}
  242. <div class="text chat">
  243. <ul class="conversation">
  244. {block:Lines}
  245. <li class="line {Alt}">
  246. {block:Label}<span class="person">{Label}</span>{/block:Label}
  247. <span class="person-said">{Line}</span>
  248. </li>
  249. {/block:Lines}
  250. </ul>
  251. <!-- permalink --> {block:IndexPage}
  252. <p class="post-link perma-a"><a href="{Permalink}">Posted {TimeAgo} With {NoteCountWithLabel}</a></p>
  253. <!-- /permalink --> {/block:IndexPage}
  254. </div>
  255. {/block:Chat}
  256.  
  257. {block:Audio}
  258. <div class="text audio">
  259. <p>{AudioPlayerBlack}</p>
  260. {block:IndexPage}{block:IfShowCaptions}
  261. {block:Caption}{Caption}{/block:Caption}
  262. {/block:IfShowCaptions}{/block:IndexPage}
  263. <!-- permalink --> {block:IndexPage}
  264. <p class="post-link perma-a"><a href="{Permalink}">Posted {TimeAgo} With {NoteCountWithLabel}</a></p>
  265. <!-- /permalink --> {/block:IndexPage}
  266. </div>
  267. {/block:Audio}
  268.  
  269. {block:Answer}
  270. <div class="text answer">
  271. <div class="response">
  272. <p class="question">{Question}</p>
  273. <p>@{Asker}</p></div>
  274. {Answer}
  275. <!-- permalink --> {block:IndexPage}
  276. <p class="post-link perma-a"><a href="{Permalink}">Posted {TimeAgo} With {NoteCountWithLabel}</a></p>
  277. <!-- /permalink --> {/block:IndexPage}
  278. </div>
  279. {/block:Answer}
  280.  
  281. {block:Photoset}
  282. <div class="photoset">
  283. <div class="box">
  284. <!-- permalink --> {block:IndexPage}
  285. <div class="perma"><a href="{reblogurl}" target="_blank">reblog</a> with <a href="{Permalink}">{NoteCountWithLabel}</a></div>
  286. <!-- /permalink --> {/block:IndexPage}
  287. {block:IndexPage}<center>{Photoset-250}</center>{/block:IndexPage}
  288. {block:PermalinkPage}{Photoset-500}{/block:PermalinkPage}
  289. </div>
  290. {block:IndexPage}{block:IfShowCaptions}
  291. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  292. {/block:IfShowCaptions}{/block:IndexPage}
  293. </div>
  294. {/block:Photoset}
  295.  
  296. {block:Video}
  297. <div class="video">
  298. <div class="box">
  299. <!-- permalink --> {block:IndexPage}
  300. <div class="perma"><a href="{reblogurl}" target="_blank">reblog</a> with <a href="{Permalink}">{NoteCountWithLabel}</a></div>
  301. <!-- /permalink --> {/block:IndexPage}
  302. {block:IndexPage}<center>{Video-250}</center>{/block:IndexPage}
  303. {block:PermalinkPage}{Video-500}{/block:PermalinkPage}
  304. </div>
  305. {block:IndexPage}{block:IfShowCaptions}
  306. {block:Caption}<div class="caption text">{Caption}</div>{/block:Caption}
  307. {/block:IfShowCaptions}{/block:IndexPage}
  308. </div>
  309. {/block:Video}
  310.  
  311. {block:Photo}
  312. <div class="photo">
  313. <div class="box">
  314. <!-- permalink --> {block:IndexPage}
  315. <div class="perma"><a href="{reblogurl}" target="_blank">reblog</a> with <a href="{Permalink}">{NoteCountWithLabel}</a></div>
  316. <!-- /permalink --> {/block:IndexPage}
  317. {block:IndexPage}
  318. <a href="{Permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}" width="100%"/></a>
  319. {/block:IndexPage}
  320. {block:PermalinkPage}
  321. {LinkOpenTag}<img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" width="500"/>{LinkCloseTag}
  322. {/block:PermalinkPage}
  323. </div>
  324. {block:IndexPage}{block:IfShowCaptions}
  325. {block:Caption}<div class="caption text">{Caption}</div>{/block:Caption}
  326. {/block:IfShowCaptions}{/block:IndexPage}
  327. </div>
  328. {/block:Photo}
  329.  
  330. {block:IfShowTags}{block:IndexPage}{block:HasTags}
  331. <div class="tagged"><p>{lang:Tagged}: {block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}</p></div>
  332. {/block:HasTags}{/block:IndexPage}{/block:IfShowTags}
  333.  
  334. {block:PermalinkPage}
  335. <div id="post-info" class="text">
  336. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  337. {block:HasTags}
  338. <p class="tagged">{lang:Tagged}: {block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}</p>
  339. {/block:HasTags}
  340. <p class="post-info-data">
  341. {block:Date}{12Hour}:{Minutes}:{Seconds} @ {MonthNumber}/{DayOfMonth}/{Year}<br/>{/block:Date}
  342. {block:NoteCount}{NoteCountWithLabel}<br />{/block:NoteCount}{block:RebloggedFrom}
  343. Reblogged from <a href="{ReblogParentURL}">{ReblogParentName}</a><br/>Posted by <a href="{ReblogRootURL}">{ReblogRootName}</a>{block:RebloggedFrom}</p>
  344. {block:PostNotes}
  345. {PostNotes}
  346. {/block:PostNotes}
  347. </div>
  348. {/block:PermalinkPage}
  349.  
  350. </div> <!-- end single post -->
  351. {block:ContentSource}
  352. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}" width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" /> {/block:SourceLogo} {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  353. {/block:ContentSource}
  354. <!--{block:NoRebloggedFrom}{block:RebloggedFrom}{ReblogParentName}{/block:RebloggedFrom}{/block:NoRebloggedFrom} -->
  355. {/block:Posts}
  356. </div> <!-- end content -->
  357. <div class="loading"></div>
  358. </div> <!-- end containing div -->
  359. {block:IfInfiniteScroll}
  360. {block:Pagination}<ul id="pagination">
  361. {block:PreviousPage}
  362. <li><a href="{PreviousPage}"></a></li>
  363. {/block:PreviousPage}
  364. {block:JumpPagination length="5"}
  365. {block:CurrentPage}
  366. <li><span class="current_page numbersNav"><strong>{PageNumber}</strong></span></li>
  367. {/block:CurrentPage}
  368. {block:JumpPage}
  369. <li><a class="jump_page numbersNav" href="{URL}">{PageNumber}</a></li>
  370. {/block:JumpPage}
  371. {/block:JumpPagination}
  372. {block:NextPage}
  373. <li><a id="nextPage" href="{NextPage}"></a></li>
  374. {/block:NextPage}
  375. </ul>{/block:Pagination}
  376. {/block:IfInfiniteScroll}
  377. {block:IndexPage}
  378. <script type="text/javascript">
  379. $(window).load(function () {
  380. $('#content').masonry(),
  381. $('.masonryWrap').infinitescroll({
  382. navSelector : '#pagination',
  383. nextSelector : '#pagination a#nextPage',
  384. itemSelector : ".post, .loading",
  385. bufferPx : 40,
  386. loadingImg : "http://static.tumblr.com/uiqhh9x/38Em68qk4/loading.gif",
  387. loadingText : "<em></em>",
  388. },
  389. function() { $('#content').masonry({ appendedContent: $(this) }); }
  390. );
  391. });
  392. </script>
  393. {/block:IndexPage}
  394. {block:IfToTopButton}
  395. <script type="text/javascript">
  396. $(document).ready(function() {
  397. /*
  398. var defaults = {
  399. containerID: 'toTop', // fading element id
  400. containerHoverID: 'toTopHover', // fading element hover id
  401. scrollSpeed: 1200,
  402. easingType: 'linear'
  403. };
  404. */
  405.  
  406. $().UItoTop({ easingType: 'easeOutQuart' });
  407.  
  408. });
  409. </script>
  410. <a href="#" id="toTop" style="display: none; "><span id="toTopHover"></span>To Top</a>
  411. {/block:IfToTopButton}
  412. <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>LINKS</strong></div><div style="max-height:500px;line-height:150%;"><a class="menu-link" href="/">{text:home label}</a><a class="menu-link" href="/ask">{text:ask label}</a>{block:HasPages}<a class="menu-link" href="{URL}">{Label}</a>{/block:Pages}{/block:HasPages}{block:iflink1}<a class="menu-link" href="{text:link 1 url}">{text:link 1}</a>{/block:iflink1}{block:iflink2}<a class="menu-link" href="{text:link 2 url}">{text:link 2}</a>{/block:iflink2}{block:iflink3}<a class="menu-link" href="{text:link 3 url}">{text:link 3}</a>{/block:iflink3}{block:iflink4}<a class="menu-link" href="{text:link 4 url}">{text:link 4}</a>{/block:iflink4}{block:iflink5}<a class="menu-link" href="{text:link 5 url}">{text:link 5}</a>{/block:iflink5}{block:iflink6}<a class="menu-link" href="{text:link 6 url}">{text:link 6}</a>{/block:iflink6}{block:iflink7}<a class="menu-link" href="{text:link 7 url}">{text:link 7}</a>{/block:iflink7}{block:iflink8}<a class="menu-link" href="{text:link 8 url}">{text:link 8}</a>{/block:iflink8}{Block:IfShowArchiveLink}<a class="menu-link" class="menu-link" href="/archive">{text:Archive Label}</a>{/Block:IfShowArchiveLink}{block:SubmissionsEnabled}{block:IfShowSubmitLink}<a class="menu-link" class="menu-link" href="/submit">{text:Submit label}</a>{/block:IfShowSubmitLink}{/block:SubmissionsEnabled}<a href="http://cliffedgeoftheworld.tumblr.com">Theme</a></div></div>
  413.  
  414. <script type="text/javascript">
  415. $(document).ready(function() {
  416. //
  417. $('a.poplight[href^=#]').click(function() {
  418. var popID = $(this).attr('rel'); //Get Popup Name
  419. var popURL = $(this).attr('href'); //Get Popup href to define size
  420. var query= popURL.split('?');
  421. var dim= query[1].split('&');
  422. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  423. $('#' + 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>');
  424. var popMargTop = ($('#' + popID).height() + 80) / 2;
  425. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  426. //Apply Margin to Popup
  427. $('#' + popID).css({
  428. 'margin-top' : -popMargTop,
  429. 'margin-left' : -popMargLeft
  430. });
  431. $('body').append('<div id="fade"></div>');
  432. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
  433. return false;
  434. });
  435. $('a.close, #fade').live('click', function() {
  436. $('#fade , .popup_block').fadeOut(function() {
  437. $('#fade, a.close').remove(); //fade them both out
  438. });
  439. return false;
  440. });
  441. });
  442. </script>
  443. <div style="bottom:5px;right:5px;display:block;position:fixed;font-size:12px;"><a href="http://cliffedgeoftheworld.tumblr.com"><big><big>Credit</big></big></a></div>
  444. </body>
  445.  
  446. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement