almuwu

Code 03

Aug 5th, 2019
1,366
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.05 KB | None | 0 0
  1. <!--
  2. - basecode by southcodes.tumblr.com
  3.  
  4. - normalize css by https://github.com/necolas
  5. - like button by @shythemes
  6. - captions documentation by @bychloethemes
  7. - embed audio css and hide empty answers script by @gukthemes
  8. - pxu photosets by pixel union https://github.com/PixelUnion/Extended-Tumblr-Photoset
  9. tutorial by @shythemes https://shythemes.tumblr.com/post/113728114758/tutorial-pixel-union-photosets
  10. modified pxu script by @bychloethemes https://bychloethemes.tumblr.com/post/155956945114/modified-pxu-photoset-script-modified-by
  11.  
  12. -->
  13.  
  14. <!DOCTYPE html>
  15. <html>
  16. <head>
  17.  
  18. <meta name="viewport" content="width=device-width">
  19.  
  20. <title>{Title}</title>
  21.  
  22. <link rel="shortcut icon" href="{favicon}">
  23. <meta name="viewport" content="width=device-width">
  24. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  25. {block:Description}<meta name="description" content="{MetaDescription}"/>{/block:Description}
  26.  
  27. <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/[email protected]/normalize.css">
  28.  
  29. <link href="https://fonts.googleapis.com/css?family=Rubik&display=swap" rel="stylesheet">
  30. <link href="https://fonts.googleapis.com/css?family=Rubik:300&display=swap" rel="stylesheet">
  31.  
  32. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
  33.  
  34. <!-- PXU Photoset CSS -->
  35. <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
  36.  
  37. <meta name="image:sidebar" content="https://static.tumblr.com/wgcmeok/mUipv9tx8/tumblr_nu9bm742oj1qg9z02o1_r1_100.png"/>
  38.  
  39. <meta name="color:background" content="#f8f8f8"/>
  40. <meta name="color:text" content="#333333"/>
  41. <meta name="color:accent" content="#ffb4a7"/>
  42. <meta name="color:links" content="#73c3b9"/>
  43. <meta name="color:sidebar text" content="#ffffff"/>
  44.  
  45. <meta name="text:home title" content="index"/>
  46. <meta name="text:ask title" content="contact"/>
  47. <meta name="text:link 1 URL" content="/"/>
  48. <meta name="text:link 1 title" content="link 1"/>
  49. <meta name="text:link 2 URL" content="/"/>
  50. <meta name="text:link 2 title" content="link 2"/>
  51. <meta name="text:link 3 URL" content="/"/>
  52. <meta name="text:link 3 title" content="link 3"/>
  53. <meta name="text:archive title" content="archive"/>
  54.  
  55. <style type="text/css">
  56.  
  57. .iframe-controls--desktop {
  58. position:fixed;
  59. top:0px;
  60. right:0px;
  61. z-index:214748364789123456789;
  62. filter:invert(100%);
  63. -webkit-filter:invert(100%);
  64. -webkit-transform:scale(0.6,0.6);
  65. -webkit-transform-origin: 100% 0%;
  66. -ms-transform-origin:100% 0%;
  67. -ms-transform:scale(0.6,0.6);
  68. transform:scale(0.6,0.6);
  69. transform-origin:100% 0%;
  70. }
  71.  
  72. ::selection {
  73. background: {color:accent};
  74. color:{color:sidebar text};
  75. }
  76. ::-moz-selection {
  77. background: {color:accent};
  78. color:{color:sidebar text};
  79. }
  80.  
  81. pre {font-family:consolas;
  82. white-space: pre-wrap; /* css-3 */
  83. white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
  84. white-space: -pre-wrap; /* Opera 4- */
  85. white-space: -o-pre-wrap; /* Opera 7 */
  86. word-wrap: break-word;} /* Internet Explorer 5.5+ */
  87.  
  88. body, figure{margin:0;padding:0}
  89. html{font: 15px 'Rubik', sans-serif;}
  90. body {color:{color:text};background:{color:background};}
  91. a {text-decoration:underline;color:{color:links};word-break:break-word;
  92. -moz-transition-duration: 0.5s;
  93. -o-transition-duration: 0.5s;
  94. -webkit-transition-duration: 0.5s;
  95. transition-duration: 0.5s;
  96. }
  97. a:hover {color:{color:links};
  98. -moz-transition-duration: 0.5s;
  99. -o-transition-duration: 0.5s;
  100. -webkit-transition-duration: 0.5s;
  101. transition-duration: 0.5s;
  102. }
  103. blockquote {margin:0;padding:0;}
  104. img {max-width:100%;height: auto;display: block;margin: .7rem 0}
  105. hr {border:0;border-top:1px solid #aaa;margin:0;}
  106. b{font-weight: 600}
  107. video { max-width:100%;}
  108. small {font-size:.9rem}
  109.  
  110. #container {
  111. width:800px;
  112. margin:auto;
  113. padding-top:5rem;
  114. }
  115.  
  116. .sidebar {
  117. width: 300px;
  118. position:fixed;
  119. height:100%;
  120. left:0;
  121. top:0;
  122. background-color:{color:accent};
  123. color:{color:sidebar text};
  124. }
  125.  
  126. .sidebar img{
  127. width:80px;
  128. height:80px;
  129. border-radius:50px;
  130. border:3px solid {color:sidebar text};
  131. margin-left:20px;
  132. }
  133.  
  134. .ttl{
  135. padding-left:25px;
  136. padding-top:20px;
  137. text-transform:uppercase;
  138. letter-spacing:1px;
  139. font-size:14px;
  140. color:{color:sidebar text};
  141. }
  142.  
  143. .sidelinks{
  144. padding-top:10px;
  145. text-align:right;
  146. }
  147.  
  148.  
  149. .sidelinks a{
  150. color:{color:sidebar text};
  151. border-top:1px solid #ffffff;
  152. border-bottom:1px solid #ffffff;
  153. border-left:1px solid #ffffff;
  154. text-decoration:none;
  155. border-radius:20px 0 0 20px;
  156. padding:10px;
  157. line-height:39px;
  158. background-size: 200% 100%;
  159. background-image: linear-gradient(to right, transparent 50%, {color:sidebar text} 50%);
  160. transition: background-position 1s;
  161. }
  162.  
  163. .sidelinks a:hover{
  164. color:{color:accent};
  165. text-decoration:none;
  166. background-position: 100% 0;
  167. }
  168.  
  169. .description {
  170. padding:25px;
  171. text-align:justify;
  172. color:{color:sidebar text};
  173. }
  174.  
  175. .description a{
  176. color:{color:sidebar text};
  177. }
  178.  
  179. .posttitle {
  180. {block:AskPage}
  181. {/block:AskPage}
  182. {block:SubmitPage}
  183. {/block:SubmitPage}
  184. }
  185.  
  186. /* main */
  187.  
  188. #main {
  189. width:800px;
  190. margin: auto;
  191. }
  192.  
  193. .posts {
  194. width:500px;
  195. margin:0 0 5rem 350px;
  196. background:#fff;
  197. padding:20px;
  198. border-radius:20px;
  199. }
  200.  
  201. .photo {display: block;margin: 0;padding:10px 0 10px 0;}
  202.  
  203. /* posts */
  204.  
  205. /* photosets */
  206.  
  207.  
  208. .photo-slideshow {
  209. width:500px;
  210. }
  211.  
  212.  
  213. /* asks */
  214.  
  215. .question{
  216. border-bottom:1px solid #eee;
  217. min-height:60px;
  218. display:inline-block;
  219. vertical-align:middle;
  220. width:100%;
  221. margin-top:15px;
  222. }
  223.  
  224. .question img{
  225. width:40px;
  226. height:40px;
  227. display:inline-block;
  228. -moz-border-radius:5px;
  229. -webkit-border-radius:5px;
  230. border-radius:5px;
  231. margin:0 10px 10px 0;
  232. vertical-align:middle;
  233. }
  234.  
  235. /* chat */
  236.  
  237. .label_odd {font-weight:600;}
  238. .label_even{font-weight:600;}
  239.  
  240. /* quotes */
  241. .quote {
  242. padding:10px 0 0 0;
  243. }
  244. .qsrc {
  245. padding:0 0 10px 0;
  246. }
  247.  
  248. /* audio */
  249.  
  250. iframe.spotify_audio_player {height:85px;overflow:hidden;}
  251.  
  252. /* captions */
  253. .cimg {display:none;}
  254. .user {
  255.  
  256. }
  257.  
  258. /* extras */
  259.  
  260. .posts date {
  261. display:block;
  262. margin-bottom:10px;
  263. padding-bottom:10px;
  264. border-bottom:5px solid #f8f8f8;
  265. }
  266.  
  267. .pnotes {
  268. }
  269.  
  270. .rl {
  271. border-top:5px solid #f8f8f8;
  272. padding-top:10px;
  273. }
  274. .rbg {
  275. }
  276.  
  277. svg {width:10px;height:auto;opacity:.5;display:block;overflow:visible;}
  278. .controls {display:inline-block;margin:.2rem .2rem 0 .5rem;}
  279. .controls .like .liked + svg {opacity:1;}
  280. .controls .like .liked + svg path {fill:#ec5a5a;}
  281. .controls .like .like_button {position:relative;}
  282. .controls .like .like_button iframe {position:absolute;top:0;left:0;bottom:0;right:0;z-index:2;opacity:0;}
  283.  
  284. .tags {
  285. font-style:italic;
  286. margin-right:5px;
  287. }
  288.  
  289. .via {
  290. }
  291.  
  292. .notes {
  293. font-size:1rem;
  294. line-height:2rem;
  295. margin:6rem auto;
  296. box-sizing:border-box;}
  297. .notes ol{max-height:30rem;overflow:auto;padding:.2px;}
  298. .notes a{font-weight:600;}
  299. .notes img{display:none;}
  300. .notes li, .notes ol {margin:0;padding:0;list-style-type:none;}
  301.  
  302. /*.jump_page,.jump_page2 {*/
  303. /* display:block;*/
  304. /* margin:5rem 0 4rem;}*/
  305.  
  306. /*.jump_page {float:left;}*/
  307. /*.jump_page2 {float:right;}*/
  308.  
  309. .pagi{
  310. position:absolute;
  311. bottom:15px;
  312. right:5px;
  313. background-color:{color:sidebar text};
  314. padding:10px;
  315. border-radius:15px;
  316. }
  317.  
  318. .pagi a{
  319. color:{color:accent};
  320. text-decoration:none;
  321. }
  322.  
  323. .ttop {
  324. display:none;
  325. position:fixed;
  326. bottom:2rem;
  327. right:3rem;
  328. z-index:99999;
  329. font-size:.9rem;
  330. font-weight:300;
  331. letter-spacing:.07rem;
  332. color:{color:text};
  333. text-decoration:none;
  334. }
  335.  
  336. .s{
  337. position:fixed;
  338. bottom:2rem;
  339. right:10px;
  340. font-size:.9rem;
  341. font-weight:300;
  342. color:{color:text};
  343. text-decoration:none;
  344. }
  345.  
  346. {CustomCSS}
  347.  
  348. </style>
  349. </head>
  350. <body id="top">
  351.  
  352. <section id="container">
  353.  
  354. <div class="sidebar">
  355. <img src="{image:sidebar}"/>
  356. <div class="ttl">{Title}</div>
  357. <div class="description">{Description}</div>
  358. <div class="sidelinks">
  359. <a href="/">{text:home title}</a><br>
  360. <a href="/ask">{text:ask title}</a><br>
  361. <a href="{text:link 1 URL}">{text:link 1 title}</a><br>
  362. <a href="{text:link 2 URL}">{text:link 2 title}</a><br>
  363. <a href="{text:link 3 URL}">{text:link 3 title}</a><br>
  364. <a href="/archive">{text:archive title}</a>
  365. </div><!---sidelinks--->
  366. {block:Pagination}<div class="pagi">
  367. {block:PreviousPage}<a href="{PreviousPage}" class="jump_page">back</a>{/block:PreviousPage}
  368. {block:NextPage}<a href="{NextPage}" class="jump_page2">next</a>{/block:NextPage}</div>
  369. {/block:Pagination}
  370. </div><!---sidebar--->
  371.  
  372. <main id="main">
  373.  
  374. {block:Posts}
  375. <article class="posts" id="{PostID}">
  376.  
  377. {block:Date}<date>
  378. <a href="{Permalink}">{ShortMonth} {DayOfMonthWithSuffix}</a>
  379. </date>{/block:Date}
  380.  
  381. {block:Text}
  382. {block:Title}<h2 class="posttitle">{Title}</h2>{/block:Title}
  383. {block:Body}<div class="capt">
  384. {block:NotReblog}{Body}{/block:NotReblog}
  385. {block:RebloggedFrom}{block:Reblogs}
  386. {block:HasAvatar}
  387. {block:HasPermalink}<a href="{Permalink}" target="_blank"><img class="cimg" src="{PortraitURL-64}"></a>{/block:HasPermalink}
  388. {block:HasNoPermalink}<img class="cimg" src="{PortraitURL-64}">{/block:HasNoPermalink}
  389. {/block:HasAvatar}
  390. {block:HasPermalink}<a target="_blank" class="user" href="{Permalink}">{Username}</a>{/block:HasPermalink}
  391. {block:HasNoPermalink}<div class="user">{Username}</div>{/block:HasNoPermalink}
  392. {Body}
  393. {/block:Reblogs}{/block:RebloggedFrom}
  394. </div>{/block:Body}
  395. {/block:Text}
  396.  
  397. {block:Answer}<div class="answer">
  398. <div class="question"><img src="{AskerPortraitURL-96}" alt="">{Asker} asked:
  399. </div><br><br>{Question}
  400. {block:Answerer}
  401. <div class="reply">{Answer}</div></div></div>
  402. {/block:Answerer}
  403. {block:NotReblog}{Replies}
  404. {/block:NotReblog}
  405. {block:RebloggedFrom}{block:Reblogs}
  406. {block:HasAvatar}
  407. {block:HasPermalink}<a href="{Permalink}" target="_blank"><img class="cimg" src="{PortraitURL-64}"></a>{/block:HasPermalink}
  408. {block:HasNoPermalink}<img class="cimg" src="{PortraitURL-64}">{/block:HasNoPermalink}
  409. {/block:HasAvatar}
  410. {block:HasPermalink}<a target="_blank" class="user" href="{Permalink}">{Username}</a>{/block:HasPermalink}
  411. {block:HasNoPermalink}<div class="user">{Username}</div>{/block:HasNoPermalink}
  412. {Body}
  413. {/block:Reblogs}{/block:RebloggedFrom}
  414. {/block:Answer}
  415.  
  416.  
  417. {block:Quote}
  418. <div class="quote">{Quote}</div>
  419. {block:Source}<div class="qsrc">{Source}</div>{/block:Source}
  420. {/block:Quote}
  421.  
  422. {block:Link}
  423. <a href="{URL}">{Name}</a>
  424. {block:Description}<div class="capt">
  425. {block:NotReblog}{Description}{/block:NotReblog}
  426. {block:RebloggedFrom}{block:Reblogs}
  427. {block:HasAvatar}
  428. {block:HasPermalink}<a href="{Permalink}" target="_blank"><img class="cimg" src="{PortraitURL-64}"></a>{/block:HasPermalink}
  429. {block:HasNoPermalink}<img class="cimg" src="{PortraitURL-64}">{/block:HasNoPermalink}
  430. {/block:HasAvatar}
  431. {block:HasPermalink}<a target="_blank" class="user" href="{Permalink}">{Username}</a>{/block:HasPermalink}
  432. {block:HasNoPermalink}<div class="user">{Username}</div>{/block:HasNoPermalink}
  433. {Body}
  434. {/block:Reblogs}{/block:RebloggedFrom}
  435. </div>{/block:Description}
  436. {/block:Link}
  437.  
  438. {block:Chat}
  439. {block:Title}<h2 class="posttitle">{Title}</h2>{/block:Title}
  440. {block:Lines}{block:Label}
  441. <span class="label_{alt}">{Label}</span>{/block:Label} {Line}<br>
  442. {/block:Lines}
  443. {/block:Chat}
  444.  
  445. {block:Photo}
  446. <img src="{PhotoURL-500}" class="photo" alt="{PhotoAlt}"/>
  447. {block:Caption}<div class="capt">
  448. {block:NotReblog}{Caption}{/block:NotReblog}
  449. {block:RebloggedFrom}{block:Reblogs}
  450. {block:HasAvatar}
  451. {block:HasPermalink}<a href="{Permalink}" target="_blank"><img class="cimg" src="{PortraitURL-64}"></a>{/block:HasPermalink}
  452. {block:HasNoPermalink}<img class="cimg" src="{PortraitURL-64}">{/block:HasNoPermalink}
  453. {/block:HasAvatar}
  454. {block:HasPermalink}<a target="_blank" class="user" href="{Permalink}">{Username}</a>{/block:HasPermalink}
  455. {block:HasNoPermalink}<div class="user">{Username}</div>{/block:HasNoPermalink}
  456. {Body}
  457. {/block:Reblogs}{/block:RebloggedFrom}
  458. </div>{/block:Caption}
  459. {/block:Photo}
  460.  
  461. {block:Photoset}
  462. <div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}">{block:Photos}<div class="photo-data"><div class="pxu-photo"><img src="{PhotoURL-500}" width="{PhotoWidth-500}" height="{PhotoHeight-500}" data-highres="{PhotoURL-HighRes}" data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}"></div><a class="tumblr-box" rel="post-{PostID}" href="{PhotoURL-HighRes}"></a></div>{/block:Photos}</div>
  463. {block:Caption}<div class="capt">
  464. {block:NotReblog}{Caption}{/block:NotReblog}
  465. {block:RebloggedFrom}{block:Reblogs}
  466. {block:HasAvatar}
  467. {block:HasPermalink}<a href="{Permalink}" target="_blank"><img class="cimg" src="{PortraitURL-64}"></a>{/block:HasPermalink}
  468. {block:HasNoPermalink}<img class="cimg" src="{PortraitURL-64}">{/block:HasNoPermalink}
  469. {/block:HasAvatar}
  470. {block:HasPermalink}<a target="_blank" class="user" href="{Permalink}">{Username}</a>{/block:HasPermalink}
  471. {block:HasNoPermalink}<div class="user">{Username}</div>{/block:HasNoPermalink}
  472. {Body}
  473. {/block:Reblogs}{/block:RebloggedFrom}
  474. </div>{/block:Caption}
  475. {/block:Photoset}
  476.  
  477. {block:Audio}
  478. {block:AudioEmbed}<div style="height:85px;overflow:hidden;margin:15px 0 15px 0;" class="audio">{AudioEmbed}</div>{/block:AudioEmbed}
  479. {/block:Audio}
  480.  
  481. {block:Video}
  482. <div class="video">{Video-500}</div>
  483. {block:Caption}<div class="capt">
  484. {block:NotReblog}{Caption}{/block:NotReblog}
  485. {block:RebloggedFrom}{block:Reblogs}
  486. {block:HasAvatar}
  487. {block:HasPermalink}<a href="{Permalink}" target="_blank"><img class="cimg" src="{PortraitURL-64}"></a>{/block:HasPermalink}
  488. {block:HasNoPermalink}<img class="cimg" src="{PortraitURL-64}">{/block:HasNoPermalink}
  489. {/block:HasAvatar}
  490. {block:HasPermalink}<a target="_blank" class="user" href="{Permalink}">{Username}</a>{/block:HasPermalink}
  491. {block:HasNoPermalink}<div class="user">{Username}</div>{/block:HasNoPermalink}
  492. {Body}
  493. {/block:Reblogs}{/block:RebloggedFrom}
  494. </div>{/block:Caption}
  495. {/block:Video}
  496.  
  497. {block:Date}
  498. <div class="rl">
  499. <span class="rbg"><a href="{ReblogURL}" title="reblog" target="_blank">reblog</a></span>
  500.  
  501. <div class="controls"><a class="like">{LikeButton}<svg xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" viewbox="0 0 442.403 442.403" style="enable-background:new 0 0 442.403 442.403;" xml:space="preserve"><g><g><path d="M213.05,422.652c2.833,1.7,5.95,2.833,9.35,2.833c3.117,0,6.517-0.85,9.35-2.833c7.65-5.1,187.283-123.533,207.683-243.95 c10.483-62.333-8.783-100.867-26.633-122.117c-20.967-24.933-52.133-39.667-83.017-39.667c-10.2,0-20.117,1.7-28.9,5.1 c-43.067,16.15-72.25,44.767-88.117,64.317c-15.583-19.267-42.217-47.033-74.517-58.083c-9.917-3.4-20.683-5.1-32.017-5.1 c-28.9,0-56.383,11.9-75.367,32.867c-16.717,18.417-35.7,53.55-29.75,114.75C13.016,291.185,204.833,417.268,213.05,422.652z M56.083,78.685c17.283-18.983,38.817-21.817,50.15-21.817c7.367,0,14.45,1.133,20.967,3.4 c39.383,13.317,70.833,63.467,71.4,63.75c3.117,5.1,8.783,8.217,14.733,7.933c5.95,0,11.333-3.4,14.45-8.5 c0.283-0.567,28.617-48.733,85.283-69.983c4.817-1.7,10.767-2.833,16.717-2.833c20.967,0,42.217,10.483,56.95,27.767 c19.267,22.667,25.783,55.533,18.983,94.633c-7.367,43.067-42.5,94.633-101.717,149.317c-33.433,30.883-66.3,54.683-81.6,65.45 c-16.15-11.05-51-36.55-86.417-68.85C74.216,262.285,39.366,209.868,35.116,167.368C31.433,128.552,38.516,97.952,56.083,78.685z"/></g></g></svg></a></div>
  502. </div>{/block:Date}
  503.  
  504. {block:HasTags}<div class="tags">{block:Tags}
  505. <a href="{TagURL}">{Tag}</a>
  506. {/block:Tags}</div>{/block:HasTags}
  507.  
  508. {block:PermalinkPage}
  509. {block:RebloggedFrom}<div class="via">
  510. via: <a href="{ReblogParentURL}">{ReblogParentName}</a><br>
  511. src: <a href="{ReblogRootURL}">{ReblogRootName}</a>
  512. </div>{/block:RebloggedFrom}
  513. {/block:PermalinkPage}
  514.  
  515. <!-- {block:ContentSource}{SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"width="{LogoWidth}"height="{LogoHeight}" alt="{SourceTitle}" />{/block:SourceLogo}{block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->{/block:ContentSource}<!--{block:NoRebloggedFrom}{block:RebloggedFrom}{ReblogParentName}{/block:RebloggedFrom}{/block:NoRebloggedFrom} -->
  516.  
  517. </article> <!--posts-->
  518.  
  519. {block:PostNotes}
  520. <div class="notes">{PostNotes}</div>
  521. {/block:PostNotes}
  522. {/block:Posts}
  523.  
  524. <a href="#top" class="achl ttop">scroll to top</a>
  525. <a href="https://simplethemes.tumblr.com" class="s">S</a>
  526. </main>
  527.  
  528. </section> <!--container-->
  529.  
  530. <!-- scripts -->
  531. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  532. <script src="https://static.tumblr.com/yxfeliq/hHwojmt8m/bctphotoset.min.js"></script>
  533. <script src ="https://static.tumblr.com/fwgzvyf/Oj1o08f6h/shythemes.vr.js"></script>
  534. <script type="text/javascript">
  535. $(document).ready(function(){
  536. $('.photo-slideshow').pxuPhotoset({
  537. lightbox: true,
  538. rounded: false,
  539. gutter: '2px',
  540. borderRadius: '0px',
  541. photoset: '.photo-slideshow',
  542. photoWrap: '.photo-data',
  543. photo: '.pxu-photo'});
  544.  
  545. $(document).scroll(function() {
  546. var y = $(this).scrollTop();
  547. if (y > 500) {$('.ttop').fadeIn();}
  548. else {$('.ttop').fadeOut();}});
  549.  
  550. $(".audio iframe").each(function(index, elem) {elem.setAttribute("width","100%");});
  551.  
  552. $( ".answer span.reply:empty" ).parent().hide();
  553.  
  554. $('.achl').click(function(){
  555. $('html, body').animate({
  556. scrollTop: $( $(this).attr('href') ).offset().top
  557. }, 500); return false;});
  558. });
  559. </script>
  560. </body>
  561. </html>
Advertisement
Add Comment
Please, Sign In to add comment