Advertisement
themesbyjames

Times Square

Jun 2nd, 2012
115,802
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.22 KB | None | 0 0
  1. <!-------------------------------------------------------------------------
  2.  
  3. THEME: TIMES SQUARE
  4. ~ THANK YOU AND CONGRATULATIONS FOR CHOOSING THEMESBYJAMES ~
  5. UPDATED JANUARY 2013 HTTP://THEMESBYJAMES.TUMBLR.COM
  6.  
  7. --------------------------------------------------------------------------->
  8.  
  9. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  10.  
  11. <head><html>
  12.  
  13. <title>{Title}</title>
  14. <!-- DEFAULT VARIABLES -->
  15. <meta name="color:Text" content="#000"/>
  16. <meta name="color:Link" content="#000"/>
  17. <meta name="color:Hover" content="#000"/>
  18. <meta name="color:Background" content="#FFF"/>
  19. <meta name="color:Content color" content="#FFF"/>
  20. <meta name="color:Scrollbar" content="#000"/>
  21. <meta name="if:Two or Three Columns" content="1"/>
  22. <meta name="if:Show Sidebar Image" content="0"/>
  23. <meta name="if:Show Recent Tweets" content="0"/>
  24. <meta name="if:Underline Link Hover" content="0"/>
  25. <meta name="image:Background Image" content=""/>
  26. <meta name="image:Sidebar" content=""/>
  27. <meta name="font:Body" content="Verdana"/>
  28. <meta name="text:Font Size" content="12"/>
  29. <meta name="text:Twitter Username" content="jamestumblr"/>
  30. <meta name="text:Users Online Code" content="Enter Online User Code"/>
  31. <meta name="text:Page Views Code" content="Enter page view code here"/>
  32. <meta name="text:Link One" content="" />
  33. <meta name="text:Link One Title" content="" />
  34. <meta name="text:Link Two" content="" />
  35. <meta name="text:Link Two Title" content="" />
  36. <meta name="text:Link Three" content="" />
  37. <meta name="text:Link Three Title" content="" />
  38. <meta name="text:Link Four" content="" />
  39. <meta name="text:link Four Title" content="" />
  40. <meta name="text:link Five" content="" />
  41. <meta name="text:link Five Title" content="" />
  42. <meta name="text:link Six" content="" />
  43. <meta name="text:link Six Title" content="" />
  44. <meta name="text:link Seven" content="" />
  45. <meta name="text:link Seven Title" content="" />
  46. <meta name="text:link Eight" content="" />
  47. <meta name="text:link Eight Title" content="" />
  48. <meta name="text:FAQ Question One" content="" />
  49. <meta name="text:FAQ Answer One" content="" />
  50. <meta name="text:FAQ Question Two" content="" />
  51. <meta name="text:FAQ Answer Two" content="" />
  52. <meta name="text:FAQ Question Three" content="" />
  53. <meta name="text:FAQ Answer Three" content="" />
  54. <meta name="text:FAQ Question Four" content="" />
  55. <meta name="text:FAQ Answer Four" content="" />
  56.  
  57. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  58. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script>
  59. <link rel="shortcut icon" href="{Favicon}">
  60. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  61. {block:Description}
  62. <meta name="description" content="{MetaDescription}" />
  63. {/block:Description}
  64. <link href='http://fonts.googleapis.com/css?family=Happy+Monkey' rel='stylesheet' type='text/css'>
  65.  
  66. <link rel="stylesheet" type="text/css" href="http://static.tumblr.com/cpaytv3/nKOlyumhg/reset.css">
  67.  
  68. <style type="text/css">
  69.  
  70. body {
  71. color: {color:Text};
  72. background:{color:background} url({image:background image});
  73. font-family:{font:Body};
  74. font-size: {text:Font Size}px;
  75. line-height; 133%;
  76. margin:auto;
  77. margin-left:20px;
  78. height:100%;}
  79.  
  80. #infscr-loading {
  81. position: absolute;
  82. bottom: 0;
  83. left: 25%;}
  84.  
  85. a:link, a:active, a:visited{
  86. color:{color:Link};
  87. text-decoration: none;}
  88.  
  89. a:hover {
  90. color:{color:Hover};
  91. {block:ifUnderlineLinkHover}
  92. text-decoration:underline;{/block:ifUnderlineLinkHover}
  93. -webkit-transition: opacity 0.2s linear;
  94. -webkit-transition: all 0.2s ease-in-out;
  95. -moz-transition: all 0.2s ease-in-out;
  96. -o-transition: all 0.2s ease-in-out}
  97.  
  98. #cubehome a:link,
  99. #cubehome a:visited,
  100. #cubehome a:hover {
  101. color:{color:text};}
  102.  
  103. #cubecredit a:link,
  104. #cubecredit a:visited,
  105. #cubecredit a:hover {
  106. color:{color:text};}
  107.  
  108. #content {
  109. margin-left:90px;
  110. float: left;
  111. {Block:ifTwoorThreecolumns}
  112. width:804px;
  113. {/Block:ifTwoorThreecolumns}
  114. {Block:ifnotTwoorThreecolumns}
  115. width: 1206px;
  116. {/Block:ifnotTwoorThreecolumns}
  117. padding: 1px;
  118. background: {color:content color};
  119. position:inherit;}
  120.  
  121. #sidebar{
  122. opacity:0.6;
  123. margin-top: 15px;
  124. margin-bottom:15px;
  125. margin-left: 19px;
  126. overflow:hidden;
  127. font-family:happy monkey;
  128. font-size: 13px;
  129. padding-top:0px;
  130. width: 100px;
  131. padding: 4px;
  132. height:623px;
  133. z-index:9999999;
  134. position:fixed;
  135. margin-right:15px;}
  136.  
  137. #navigationn{
  138. position:fixed;
  139. margin-top:20px;
  140. width:100%;
  141. text-align:center;
  142. margin-left:10px;
  143. font-family:happy monkey;}
  144.  
  145. #contain {
  146. width: 1000px;
  147. margin: 0px auto;
  148. position:fixed;
  149. position:absolute; }
  150.  
  151. ol.notes img {
  152. width: 10px;
  153. position: relative;
  154. display: inline;
  155. top: 3px;}
  156.  
  157. .entry {
  158. {Block:ifTwoorThreecolumns}width:400px;{/Block:ifTwoorThreecolumns}
  159. {Block:ifnotTwoorThreecolumns}width:300px;{/Block:ifnotTwoorThreecolumns}
  160. display: block;
  161. overflow: hidden;
  162. background: #fff;
  163. margin: 1px;
  164. float: left;
  165. positoin: relative;}
  166.  
  167. .entry img {
  168. display: block;
  169. max-width: 100%;}
  170.  
  171. blockquote, q {
  172. quotes: "«" "»" "'" "'";
  173. padding-left: 5px;}
  174.  
  175. .details {
  176. opacity: 0.0;
  177. filter: alpha(opacity = 0);
  178. {Block:ifTwoorThreecolumns}width:400px;{/Block:ifTwoorThreecolumns}
  179. {Block:ifnotTwoorThreecolumns}width:300px;{/Block:ifnotTwoorThreecolumns}
  180. height: 100%;
  181. text-align: center;
  182. z-index:10;
  183. font-size: 14px;
  184. font-weight: bold;
  185. position: absolute;
  186. background-color:rgba(0,0,0,0.4);
  187. box-shadow: 0 0 40px rgba(0, 0, 0, 0.9) inset;
  188. background: url(http://static.tumblr.com/6jwx45k/Q7Im4o4bw/coverthenight.png);}
  189.  
  190. .entry:hover .details {
  191. -webkit-transition: opacity 0.4s linear;
  192. opacity: 1.0;
  193. -moz-transition: all 0.4s linear;
  194. transition: all 0.4s linear;
  195. filter: alpha(opacity = 100);}
  196.  
  197. .b {
  198. font-family: {font:Body};
  199. font-size: {text:Font Size}px;
  200. text-align: right;
  201. text-transform:uppercase;
  202. margin-bottom: 1px;
  203. padding-top: 5px;
  204. padding-right:2px;
  205. -webkit-transition: opacity 0.7s linear;
  206. -webkit-transition: all 0.7s ease-in-out;
  207. -moz-transition: all 0.7s ease-in-out;
  208. -o-transition: all 0.7s ease-in-out;}
  209.  
  210. .b:hover{margin-right:30px;
  211. -webkit-transition: opacity 0.7s linear;
  212. -webkit-transition: all 0.7s ease-in-out;
  213. -moz-transition: all 0.7s ease-in-out;
  214. -o-transition: all 0.7s ease-in-out;}
  215.  
  216. .details a{
  217. color: #FFF;
  218. padding: 5px;
  219. font-size: 32px;}
  220.  
  221. {Block:ifnotTwoorThreecolumns}
  222. .details p{
  223. top:-40px;
  224. position: absolute;
  225. text-align: center;
  226. width: 100%;
  227. line-height: 20px;
  228. margin-top: 40%;
  229. text-transform:uppercase;}
  230. {/Block:ifnotTwoorThreecolumns}
  231.  
  232. {Block:ifTwoorThreecolumns}
  233. .details p{
  234. top: 50%;
  235. position: absolute;
  236. text-align: center;
  237. width: 100%;
  238. line-height: 20px;
  239. margin-top: -25px;
  240. text-transform:uppercase;}
  241. {/Block:ifTwoorThreecolumns}
  242.  
  243. #pagination{
  244. display:none;}
  245.  
  246. #permalinkpage{text-transform:capitalize;margin-top:10px;font-family:line-height:120%;}
  247.  
  248. .clear {
  249. clear: both;}
  250.  
  251. #des {position: relative;}
  252.  
  253. a.notep { font-weight: bold; font-size: 43px; line-height: 43px;color:#FFF;text-transform:uppercase;}
  254.  
  255. a.reblogp { font-weight: bold; font-size: 14px; line-height: 14px;ext-transform:uppercase;}
  256. .details p {color: #FFF;}
  257.  
  258. .quotestyle{font-family:Arial, Helvetica, sans-serif;letter-spacing:-1px;padding-top:3px;}
  259.  
  260. .quotesymbols{line-height:-5px}
  261.  
  262. #box{
  263. height:auto;
  264. opacity:1.0;
  265. text-align:center;
  266. z-index:99999999999999999999;
  267. background:transparent;}
  268.  
  269. #cubehome{
  270. border-radius: 5px;
  271. border:1px dashed #000;
  272. position:fixed !important;
  273. left:15px; padding-top:12px;
  274. top:20px;
  275. padding-bottom:12px;
  276. text-align:center;
  277. height:10px;
  278. width:68px;
  279. background-color:#ffff;
  280. overflow:hidden;
  281. -webkit-transition: opacity 0.7s linear;
  282. -webkit-transition: all 0.7s ease-in-out;
  283. -moz-transition: all 0.7s ease-in-out;
  284. -o-transition: all 0.7s ease-in-out;
  285. background:transparent;
  286. z-index:9999999999999999999999999999999;}
  287.  
  288. #cubehome a:link {
  289. color:{color:text};}
  290.  
  291. #cube1{
  292. border-radius: 5px;
  293. border:1px dashed #000;
  294. position:fixed !important;
  295. left:15px; padding-top:12px;
  296. top:80px;
  297. padding-bottom:12px;
  298. text-align:center;
  299. height:10px;
  300. width:68px;
  301. overflow:hidden;
  302. -webkit-transition: opacity 0.7s linear;
  303. -webkit-transition: all 0.7s ease-in-out;
  304. -moz-transition: all 0.7s ease-in-out;
  305. -o-transition: all 0.7s ease-in-out;
  306. background:transparent;
  307. z-index:9999999999999999999999999999999;}
  308.  
  309. #cube1:hover{
  310. border-radius: 5px;
  311. border:1px dashed #000;
  312. padding:5px;
  313. {block:ifshowsidebarimage}height:205px;{/block:ifshowsidebarimage}
  314. {block:ifnotshowsidebarimage}height:145px;{/block:ifnotshowsidebarimage}
  315. width:200px;
  316. z-index:99999999999999999999999999999999999;
  317. background:#fff;}
  318.  
  319. #cube2{
  320. border:1px dashed #000;
  321. position:fixed;
  322. left:15px; padding-top:12px;
  323. top:140px;
  324. padding-bottom:12px;
  325. text-align:center;
  326. height:10px;
  327. width:68px;
  328. overflow:hidden;
  329. -webkit-transition: opacity 0.7s linear;
  330. -webkit-transition: all 0.7s ease-in-out;
  331. -moz-transition: all 0.7s ease-in-out;
  332. -o-transition: all 0.7s ease-in-out;
  333. background:transparent;
  334. z-index:999999999;
  335. border-radius:5px;}
  336.  
  337. #cube2:hover{
  338. border-radius: 5px;
  339. border:1px dashed #000;
  340. padding:5px;
  341. height:205px;
  342. overflow:hidden;
  343. width:390px;
  344. opacity:1.0;
  345. background:white;
  346. z-index:999999999;}
  347.  
  348. #cube3{
  349. border-radius: 5px;
  350. border:1px dashed #000;
  351. position:fixed !important;
  352. left:15px; padding-top:12px;
  353. top:200px;
  354. padding-bottom:12px;
  355. text-align:center;
  356. height:10px;
  357. width:68px;
  358. overflow:hidden;
  359. -webkit-transition: opacity 0.7s linear;
  360. -webkit-transition: all 0.7s ease-in-out;
  361. -moz-transition: all 0.7s ease-in-out;
  362. -o-transition: all 0.7s ease-in-out;
  363. background:transparent;
  364. z-index:9999;}
  365.  
  366. #cube3:hover{
  367. border-radius: 5px;
  368. border:1px dashed #000;
  369. padding:5px;
  370. height:145px;
  371. width:200px;
  372. z-index:999999999;
  373. background:white;}
  374.  
  375. #cube4{
  376. border:1px dashed #000;
  377. position:fixed !important;
  378. left:15px; padding-top:12px;
  379. top:320px;
  380. border-radius: 5px;
  381. padding-bottom:12px;
  382. text-align:center;
  383. height:10px;
  384. width:68px;
  385. overflow:hidden;
  386. -webkit-transition: opacity 0.7s linear;
  387. -webkit-transition: all 0.7s ease-in-out;
  388. -moz-transition: all 0.7s ease-in-out;
  389. -o-transition: all 0.7s ease-in-out;
  390. background:transparent;
  391. z-index:9999;}
  392.  
  393. #cube4:hover{
  394. border-radius: 5px;
  395. border:1px dashed #000;
  396. padding:5px;
  397. height:85px;
  398. width:200px;
  399. z-index:999999999;
  400. background:white;}
  401.  
  402. #cube5{
  403. border-radius: 5px;
  404. border:1px dashed #000;
  405. position:fixed !important;
  406. left:15px; padding-top:12px;
  407. top:260px;
  408. padding-bottom:12px;
  409. text-align:center;
  410. height:10px;
  411. width:68px;
  412. overflow:hidden;
  413. -webkit-transition: opacity 0.7s linear;
  414. -webkit-transition: all 0.7s ease-in-out;
  415. -moz-transition: all 0.7s ease-in-out;
  416. -o-transition: all 0.7s ease-in-out;
  417. background:transparent;
  418. z-index:9999;}
  419.  
  420. #cube5:hover{
  421. border-radius: 5px;
  422. border:1px dashed #000;
  423. padding:5px;
  424. height:145px;
  425. width:200px;
  426. z-index:999999999;
  427. background:white;}
  428.  
  429. #cubeblogroll{
  430. border-radius: 5px;
  431. border:1px dashed #000;
  432. position:fixed !important;
  433. left:15px; padding-top:12px;
  434. top:260px;
  435. padding-bottom:12px;
  436. text-align:center;
  437. height:10px;
  438. width:68px;
  439. overflow:hidden;
  440. -webkit-transition: opacity 0.7s linear;
  441. -webkit-transition: all 0.7s ease-in-out;
  442. -moz-transition: all 0.7s ease-in-out;
  443. -o-transition: all 0.7s ease-in-out;
  444. background:transparent;
  445. z-index:9999;}
  446.  
  447. #cubeblogroll:hover{
  448. border-radius: 5px;
  449. border:1px dashed #000;
  450. padding:5px;
  451. height:145px;
  452. width:200px;
  453. z-index:999999999;
  454. background:white;}
  455.  
  456. #cubetwitter{
  457. border-radius: 5px;
  458. border:1px dashed #000;
  459. position:fixed !important;
  460. left:15px; padding-top:12px;
  461. top:380px;
  462. padding-bottom:12px;
  463. text-align:center;
  464. height:10px;
  465. width:68px;
  466. overflow:hidden;
  467. -webkit-transition: opacity 0.7s linear;
  468. -webkit-transition: all 0.7s ease-in-out;
  469. -moz-transition: all 0.7s ease-in-out;
  470. -o-transition: all 0.7s ease-in-out;
  471. background:transparent;
  472. z-index:9999;}
  473.  
  474. #cubetwitter:hover{
  475. border-radius: 5px;
  476. border:1px dashed #000;
  477. padding:5px;
  478. height:150px;
  479. width:200px;
  480. z-index:999999999;
  481. background:white;}
  482.  
  483. #cubecredit{
  484. border-radius: 5px;
  485. border:1px dashed #000;
  486. position:fixed !important;
  487. left:15px; padding-top:12px;
  488. {block:ifnotShowRecentTweets}top:380px;{/block:ifnotShowRecentTweets}
  489. {block:ifShowRecentTweets}top:440px;{/block:ifShowRecentTweets}
  490. padding-bottom:12px;
  491. text-align:center;
  492. height:10px;
  493. width:68px;
  494. overflow:hidden;
  495. -webkit-transition: opacity 0.7s linear;
  496. -webkit-transition: all 0.7s ease-in-out;
  497. -moz-transition: all 0.7s ease-in-out;
  498. -o-transition: all 0.7s ease-in-out;
  499. background:transparent;
  500. z-index:9999;}
  501.  
  502. #cubecredit a:link {
  503. color:{color:text};}
  504.  
  505. #notes {
  506. float: left;
  507. margin-top:15px;
  508. width: 100%;}
  509.  
  510. .notes_button{
  511. color:{color:Link}
  512. cursor:help;}
  513. ol.notes {
  514. padding: 0;
  515. margin: 0;
  516. list-style-type: none;
  517. display:none;}
  518. ol.notes li.note {
  519. padding: 1px;
  520. float:left;}
  521. ol.notes li.note img.avatar {
  522. vertical-align: -4px;
  523. width: 20px;
  524. height: 20px;}
  525. ol.notes li.note span.action {
  526. font-weight:normal;
  527. display:none;}
  528. ol.notes li.note .answer_content {
  529. font-weight: normal;
  530. display:none;}
  531. ol.notes li.note blockquote {
  532. padding: 4px 10px;
  533. margin: 10px 0px 0px 0px;
  534. display:none;}
  535. ol.notes li.note blockquote a {
  536. text-decoration: none;
  537. display:none;}
  538. ol.notes more_notes_link_container{
  539. text-align:center;
  540. height:14px;
  541. padding:3px;
  542. width:104px;
  543. margin:1px;
  544. background-color:rgba(0,0,0,0.1);}
  545. ol.notes more_notes_link_container:hover{
  546. background-color:rgba(0,0,0,0);}
  547.  
  548. ::-webkit-scrollbar {width: 6px; height: 4px; background: {color:Background}; }
  549. ::-webkit-scrollbar-thumb { background-color: {color:scrollbar};}
  550.  
  551. </style></head><body>
  552.  
  553. <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
  554. </script>
  555.  
  556. <div id="sidebar"><div id="navigationn">
  557.  
  558. <div id="cubehome">
  559. <a href="/">HOME</a></div>
  560.  
  561. <div id="cube1">
  562. ABOUT<br>
  563. <div id="box">
  564. <br>
  565. {block:ifShowsidebarimage}
  566. <div style="padding-bottom:3px;">
  567. <div align="center"><a href="/">
  568. <span style="position: relative;"> <img src="{image:sidebar}" width=190 height=150 style="border:0px"/>
  569. </span></div></div></a>{/block:ifShowsidebarimage}
  570. {description}
  571. <br>
  572. </div></div>
  573.  
  574. <div id="cube2">
  575. MESSAGE<Br><p><br>
  576. <div id="box">
  577. <iframe frameborder="0" scrolling="no" width="100%" height="150" src="http://www.tumblr.com/ask_form/{Name}.tumblr.com" style="background-color:transparent; overflow:hidden;"></iframe>
  578. </div></div>
  579.  
  580. <div id="cube3">
  581. LINKS<br><p><br>
  582. <div id="box">
  583. {block:ifLinkOneTitle}
  584. <a href="{text:Link One}" class="link">{text:Link One Title}</a><br>
  585. {/block:ifLinkOneTitle}
  586. {block:ifLinkTwoTitle}
  587. <a href="{text:Link Two}" class="link">{text:Link Two Title}</a><br>
  588. {/block:ifLinkTwoTitle}
  589. {block:ifLinkThreeTitle}
  590. <a href="{text:Link Three}" class="link">{text:Link Three Title}</a><br>
  591. {/block:ifLinkThreeTitle}
  592. {block:ifLinkFourTitle}
  593. <a href="{text:Link Four}" class="link">{text:Link Four Title}</a><br>
  594. {/block:ifLinkFourTitle}
  595. {block:ifLinkFiveTitle}
  596. <a href="{text:Link Five}" class="link">{text:Link Five Title}</a><br>
  597. {/block:ifLinkFiveTitle}
  598. {block:ifLinkSixTitle}
  599. <a href="{text:Link Six}" class="link">{text:Link Six Title}</a><br>
  600. {/block:ifLinkSixTitle}
  601. {block:ifLinkSevenTitle}
  602. <a href="{text:Link Seven}" class="link">{text:Link Seven Title}</a><br>
  603. {/block:ifLinkSevenTitle}
  604. {block:ifLinkEightTitle}
  605. <a href="{text:Link Eight}" class="link">{text:Link Eight Title}</a><br>
  606. {/block:ifLinkEightTitle}
  607. <BR><BR></div></div>
  608.  
  609. <div id="cube5">
  610. FAQ<br><p><br>
  611. <div id="box">
  612. <b>{text:FAQ Question One}</b><br>
  613. {text:FAQ Answer One}</b><br>
  614. <b>{text:FAQ Question Two}<br></b>
  615. {text:FAQ Answer Two}<br>
  616. <b>{text:FAQ Question Three}<br></b>
  617. {text:FAQ Answer Three}<br>
  618. <b>{text:FAQ Question Four}<br></b>
  619. {text:FAQ Answer Four}<br>
  620. </div></div></center>
  621.  
  622. {block:ifShowRecentTweets}
  623. <div id="cubetwitter">
  624. TWITTER<br><p><br>
  625. <div id="box">
  626. <script src="http://widgets.twimg.com/j/2/widget.js"></script>
  627. <script>
  628. new TWTR.Widget({
  629. version: 2,
  630. type: 'profile',
  631. rpp: 13,
  632. interval: 6000,
  633. width: 200,
  634. height: 135,
  635. theme: {
  636. shell: {
  637. background: '#fff',
  638. color: '{color:text}'
  639. },
  640. tweets: {
  641. background: 'transparent',
  642. color: '{color:text}',
  643. links: '{color:links}'
  644. }
  645. },
  646. features: {
  647. scrollbar: true,
  648. loop: false,
  649. live: false,
  650. hashtags: true,
  651. timestamp: true,
  652. avatars: false,
  653. behavior: 'all'
  654. }
  655. }).render().setUser('{text:Twitter Username}').start();
  656. </script>
  657. </div></div></center>{block:ifShowRecentTweets}
  658.  
  659. <div id="cube4">
  660. STATS<BR><p><br>
  661. <div id="box">
  662. {text:Users Online Code}<p>
  663. {text:Page Views Code}<p>
  664. <SCRIPT>
  665. function GetCookie (name) {
  666. var arg = name + "=";
  667. var alen = arg.length;
  668. var clen = document.cookie.length;
  669. var i = 0;
  670. while (i < clen) {
  671. var j = i + alen;
  672. if (document.cookie.substring(i, j) == arg)
  673. return getCookieVal (j);
  674. i = document.cookie.indexOf(" ", i) + 1;
  675. if (i == 0) break;
  676. }
  677. return null;
  678. }
  679. function SetCookie (name, value) {
  680. var argv = SetCookie.arguments;
  681. var argc = SetCookie.arguments.length;
  682. var expires = (argc > 2) ? argv[2] : null;
  683. var path = (argc > 3) ? argv[3] : null;
  684. var domain = (argc > 4) ? argv[4] : null;
  685. var secure = (argc > 5) ? argv[5] : false;
  686. document.cookie = name + "=" + escape (value) +
  687. ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
  688. ((path == null) ? "" : ("; path=" + path)) +
  689. ((domain == null) ? "" : ("; domain=" + domain)) +
  690. ((secure == true) ? "; secure" : "");
  691. }
  692. function DeleteCookie (name) {
  693. var exp = new Date();
  694. exp.setTime (exp.getTime() - 1);
  695. var cval = GetCookie (name);
  696. document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
  697. }
  698. var expDays = 30;
  699. var exp = new Date();
  700. exp.setTime(exp.getTime() + (expDays*24*60*60*1000));
  701. function amt(){
  702. var count = GetCookie('count')
  703. if(count == null) {
  704. SetCookie('count','1')
  705. return 1
  706. }
  707. else {
  708. var newcount = parseInt(count) + 1;
  709. DeleteCookie('count')
  710. SetCookie('count',newcount,exp)
  711. return count
  712. }
  713. }
  714. function getCookieVal(offset) {
  715. var endstr = document.cookie.indexOf (";", offset);
  716. if (endstr == -1)
  717. endstr = document.cookie.length;
  718. return unescape(document.cookie.substring(offset, endstr));
  719. }
  720. </SCRIPT>
  721. <SCRIPT>
  722. document.write("You've been here <b>" + amt() + "</b> times.")
  723. </SCRIPT>
  724. <br><br></div></div>
  725.  
  726.  
  727.  
  728. <!--- ---------------------------------------------------------------
  729.  
  730. REMOVING THIS BOX IS AGAINST THEMESBYJAMES TERMS AND CONDITIONS
  731. IT IS ILLEGAL VIEW FULL TERMS AND CONDITIONS HERE:
  732. HTTP://THMESBYJAMES.TUMBLR.COM/T&C
  733.  
  734. --------------------------------------------------------- -->
  735. <div id="cubecredit">
  736. <a href="http://final-stand.tumblr.com">THEME</a><br><p><br>
  737. <div id="box">
  738. </div></div></center>
  739. </div></div>
  740.  
  741. <div id="contain">
  742. <div id="content">
  743. {block:Posts}
  744. <div class="entry">
  745.  
  746. {block:Text}
  747. {block:Title}
  748. <h3><a href="{Permalink}">{Title}</a></h3>
  749. {/block:Title}
  750. {Body}
  751. {block:indexpage}
  752. <p class="b">
  753. <a href="{permalink}">{TimeAgo}</a> / <a href="{permalink}">{NoteCountwithlabel}</a> // <a href="{ReblogURL}" target="_blank">reblog</a> </p>
  754. {/block:indexpage}
  755. {/block:Text}
  756.  
  757. {block:Answer}
  758. <img src="{AskerPortraitURL-48}" width="40" align="left" style="margin-right:3px;"/>
  759. <b>{Asker}: {Question}<p></b>
  760. {Answer}<p>
  761. {block:indexpage}
  762. <p class="b">
  763. <a href="{permalink}">{TimeAgo}</a> // <a href="{permalink}">{NoteCountwithlabel}</a>
  764. {/block:indexpage}
  765. {/block:Answer}
  766.  
  767. {block:Photo}
  768. {block:IndexPage}
  769. <div class="details">
  770. <p><a class="notep" href="{permalink}">{NoteCount} notes</a><br />
  771. Since {Month} {DayofMonth}{DayofMonthSuffix} {Year}
  772. <br /><a class="reblogp" href="{ReblogURL}" target="_blank">reblog</a></p>
  773. </div>
  774. {/block:IndexPage}
  775. {LinkOpenTag}
  776. <img src="{PhotoURL-HighRes}" alt="{PhotoAlt}"width="100%"/>{LinkCloseTag}
  777. {/block:Photo}
  778.  
  779. {block:Photoset}
  780. {block:IndexPage}
  781. <div class="details">
  782. <p><a class="notep" href="{permalink}">{NoteCount} notes</a><br />
  783. {ShortMonth} {DayofMonth}{DayofMonthSuffix} {Year}
  784. </div>
  785. {/block:IndexPage}
  786. <center>
  787. {Block:ifTwoorThreecolumns}{Photoset-400}{/Block:ifTwoorThreecolumns}
  788. {Block:ifnotTwoorThreecolumns}{Photoset-250}{/Block:ifnotTwoorThreecolumns}
  789. </center>
  790. {/block:Photoset}
  791.  
  792.  
  793. {block:Quote}
  794. {Quote}</span>
  795. {block:Source}{Source}{/block:Source}
  796. {block:IndexPage}
  797. <p class="b">
  798. <a href="{permalink}">{TimeAgo}</a> / <a href="{permalink}">{NoteCountwithlabel}</a> // <a href="{ReblogURL}" target="_blank">reblog</a> </p>{/block:IndexPage}
  799. {/block:Quote}
  800.  
  801.  
  802. {block:Link}
  803. <a href="{URL}" class="link" {Target}>{Name}</a>
  804. {block:Description}
  805. <div class="description">{Description}</div>
  806. {/block:Description}
  807. {block:indexpage}
  808. <p class="b">
  809. <a href="{permalink}">{TimeAgo}</a> / <a href="{permalink}">{NoteCountwithlabel}</a> // <a href="{ReblogURL}" target="_blank">reblog</a> </p>
  810. {/block:indexpage}
  811. {/block:Link}
  812.  
  813. {block:Chat}
  814. {block:Title}
  815. <h3><a href="{Permalink}">{Title}</a></h3>
  816. {/block:Title}
  817. <ul class="chat">
  818. {block:Lines}
  819. <li class="{Alt} user_{UserNumber}"> {block:Label} <span class="label">{Label}</span> {/block:Label}
  820. {Line} </li>
  821. {/block:Lines}
  822. </ul>
  823. {block:indexpage}
  824. <p class="b">
  825. <a href="{permalink}">{TimeAgo}</a> / <a href="{permalink}">{NoteCountwithlabel}</a> // <a href="{ReblogURL}" target="_blank">reblog</a> </p>
  826. {/block:indexpage}
  827. {/block:Chat}
  828.  
  829. {block:Video}
  830. <center>
  831. {Block:ifTwoorThreecolumns}{Video-400}{/Block:ifTwoorThreecolumns}
  832. {Block:ifnotTwoorThreecolumns}{Video-250}{/Block:ifnotTwoorThreecolumns}
  833. </center>
  834. {block:IndexPage}
  835. <p class="b">
  836. <a href="{permalink}">{TimeAgo}</a> / <a href="{permalink}">{NoteCountwithlabel}</a> // <a href="{ReblogURL}" target="_blank">reblog</a> </p>
  837. {/block:indexpage}
  838. {/block:Video}
  839.  
  840. {block:Audio}
  841. {AudioPlayerBlack}
  842. {block:Caption}
  843. {Caption}
  844. {/block:Caption}
  845. {block:indexpage}
  846. <p class="b">
  847. <a href="{permalink}">{TimeAgo}</a> / <a href="{permalink}">{NoteCountwithlabel}</a> // <a href="{ReblogURL}" target="_blank">reblog</a> </p>
  848. {/block:indexpage}
  849. {/block:Audio}
  850. {block:PermalinkPage}
  851. <div id="permalinkpage"><p>
  852. {block:date}
  853. Since {Month} {DayOfMonth} {Year} <br>{/block:date}
  854. {block:RebloggedFrom} Reblogged from: <a href="{ReblogParentURL}">{ReblogParentName}</a></a><br>
  855. Posted by: <a href="{ReblogRootURL}">{ReblogRootName}</a><p>
  856. {/block:RebloggedFrom}
  857.  
  858. {block:PostNotes}
  859. <div id="notes">
  860. {NoteCountWithLabel} -
  861. <span class="notes_button">Display Post Notes</span>
  862. {PostNotes}
  863. <script>
  864. $('.notes_button').click(function() {
  865. $('ol.notes').slideToggle('slow', function() {
  866. });
  867. });
  868. </script>
  869. </div>
  870. {/block:PostNotes}
  871. {/block:PermalinkPage}
  872. </div>
  873.  
  874. {/block:Posts}
  875. </div>
  876. <div class="clear"></div>
  877. </div>
  878.  
  879. <!-- INFINTE SCROLL SCRIPT -->
  880. <script src="http://masonry.desandro.com/js/jquery-1.7.1.min.js"></script>
  881. <script src="http://masonry.desandro.com/jquery.masonry.min.js"></script>
  882. <script src="http://static.tumblr.com/ek9ly4s/lOXmguwpr/infinte-scroll.js"></script>
  883. <script>
  884. $(function(){
  885. var $container = $('#content');
  886. $container.imagesLoaded(function(){
  887. $container.masonry({
  888. itemSelector: '.entry',
  889. columnWidth:0
  890. });
  891. });
  892. $container.infinitescroll({
  893. navSelector : 'div#pagination',
  894. nextSelector : 'div#pagination a#nextPage',
  895. itemSelector : '.entry', // selector for all items you'll retrieve
  896. loading: {
  897. img: 'http://static.tumblr.com/dbek3sy/pX1lrx8xv/ajax-loader.gif',
  898. finishedMsg: '<em></em>',
  899. bufferPx : 200,
  900. debug : false,
  901. }
  902. },
  903. // trigger Masonry as a callback
  904. function( newElements ) {
  905. // hide new items while they are loading
  906. var $newElems = $( newElements ).css({ opacity: 0 });
  907. // ensure that images load before adding to masonry layout
  908. $newElems.imagesLoaded(function(){
  909. // show elems now they're ready
  910. $newElems.animate({ opacity: 1 });
  911. $container.masonry( 'appended', $newElems, true );
  912. });
  913. }
  914. );
  915. });
  916. </script>
  917.  
  918. {block:IndexPage}
  919. {block:Pagination}
  920. <div id="pagination">
  921. {block:NextPage}
  922. <a id="nextPage" href="{NextPage}"></a>
  923. {/block:NextPage}
  924. {block:PreviousPage}
  925. <a href="{PreviousPage}"></a>
  926. {/block:PreviousPage}
  927. </div>
  928. {/block:Pagination}
  929. {/block:IndexPage}
  930. </div>
  931.  
  932. {block:IndexPage}
  933. {block:Pagination}
  934. <div id="pagination">
  935. {block:NextPage}
  936. <a id="nextPage" href="{NextPage}"></a>
  937. {/block:NextPage}
  938. {block:PreviousPage}
  939. <a href="{PreviousPage}"></a>
  940. {/block:PreviousPage}
  941. </div>
  942. {/block:Pagination}
  943. {/block:IndexPage}
  944.  
  945. </div></div></div></div></div></div></div></div></body></html><!--END OF THEME-->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement