Advertisement
PrincessTerror

isabellie

May 4th, 2014
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.06 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  3.  
  4. <head><title>{Title}</title>
  5. <link rel="shortcut icon" href="{Favicon}">
  6. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  7. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  8.  
  9.  
  10. <!--META NAMES-->
  11.  
  12. <meta name="color:body" content="#666666"/>
  13. <meta name="color:links" content="#737B6E"/>
  14. <meta name="color:sblinks" content="#737B6E">
  15. <meta name="color:hover" content="#fafafa"/>
  16. <meta name="color:info" content="#a8a8a8">
  17. <meta name="color:desc" content="#aaaaaa">
  18.  
  19. <meta name="color:bg" content="#ffffff">
  20. <meta name="color:scrollbar" content="#AAAAAA">
  21. <meta name="color:scrollbarbg" content="#ffffff">
  22. <meta name="color:description" content="#269D59">
  23. <meta name="color:descriptiontext" content="#C3861C">
  24.  
  25.  
  26. <meta name="image:outside" content=""/>
  27. <meta name="image:behindpost" content=""/>
  28. <meta name="image:bg" content=""/>
  29. <meta name="image:sidebar" content""/>
  30. <meta name="image:sidebar2" content""/>
  31.  
  32. <meta name="text:link A" content=""/>
  33. <meta name="text:link A url" content="/">
  34. <meta name="text:link B" content=""/>
  35. <meta name="text:link B url" content="/">
  36. <meta name="text:link C" content=""/>
  37. <meta name="text:link C url" content="/">
  38. <meta name="text:link D" content=""/>
  39. <meta name="text:link D url" content="/">
  40.  
  41.  
  42.  
  43. <style type="text/css">
  44.  
  45. a {color:;text-decoration:none;-webkit-tra... all 0.7s ease-out;-moz-transition: all 0.7s ease-out;transition: all 0.7s ease-out;}
  46.  
  47. .fufu {width:227px;-webkit-transition: all 0.7s ease-out;-moz-transition: all 0.7s ease-out;transition: all 0.7s ease-out;}
  48.  
  49. .fufu:hover {-webkit-transform: translate(1em,0);-moz-transform: translate(1em,0);-o-transform: translate(1em,0);}
  50.  
  51. #biter
  52.  
  53. #bite a {display:block}
  54.  
  55. #bite .death {margin-top:-45px;filter: alpha(opacity = 0);opacity:0;-webkit-transition: all 0.3s ease-out;-moz-transition: all 0.3s ease-out;transition: all 0.3s ease-out; background-color:#59A2B9;}
  56.  
  57. #bite:hover .death {margin-top:0px;-webkit-transition: all 0.2s ease-out;-moz-transition: all 0.2s ease-out;transition: all 0.2s ease-out; filter: alpha(opacity = 100);filter: alpha(opacity = 100);opacity:100;}
  58.  
  59.  
  60.  
  61. ::-webkit-scrollbar-thumb {
  62. height:auto;
  63. background-color:{color:Scrollbar};
  64. }
  65.  
  66. ::-webkit-scrollbar {
  67. height:9px;
  68. width:4px;
  69. background-color:{color:ScrollbarBg};
  70. }
  71.  
  72. body {
  73. background-image:url('{image:bg}');
  74. background-color:{color:bg};
  75.  
  76. font-family:calibri;
  77. font-size:9px;
  78. text-align:justify;
  79. color:{color:body};
  80. margin:0;
  81. }
  82.  
  83. a {
  84. color:{color:links};
  85. text-decoration:none;
  86. -moz-outline-style:none;
  87. }
  88.  
  89. a:hover{
  90. color:{color:hover};
  91. -moz-transition-duration:0.3s;
  92. -webkit-transition-duration:0.3s;
  93. -o-transition-duration:0.3s;
  94. }
  95.  
  96. img {
  97. border:none;
  98. }
  99.  
  100. blockquote {
  101. padding-left:5px;
  102. border-left:2px solid;
  103. }
  104.  
  105. blockquote blockquote {
  106. padding-left:5px;
  107. border-left:2px solid;
  108. }
  109.  
  110. p.groove {border-style:groove;}
  111.  
  112.  
  113. #sidebar{
  114.  
  115. background-color:#A779BC;
  116. top:0px;
  117. left:200px;
  118. position:absolute;
  119. position:fixed;
  120. width:110px;
  121. height:90px;
  122. border-style:dashed;
  123. }
  124.  
  125. #links{
  126. width:105px;
  127. font-size:14px;
  128. border-bottom:1px solid #eee;
  129. margin-left:0px;
  130. margin-top:2px;
  131. text-align:center;
  132. color:#3F556D;
  133. border-style:dashed;
  134. }
  135.  
  136. #links a{
  137. color:{color:sblinks};
  138. }
  139.  
  140. #links a:hover{
  141. color:{color:hover};
  142. -moz-transition-duration:0.3s;
  143. -webkit-transition-duration:0.3s;
  144. -o-transition-duration:0.3s;
  145. }
  146.  
  147. #sidebar2{
  148.  
  149. background-color:#A779BC;
  150. top:0px;
  151. left:1050px;
  152. position:absolute;
  153. position:fixed;
  154. width:110px;
  155. height:90px;
  156. border-style:dashed;
  157. }
  158.  
  159. #desc{
  160.  
  161. }
  162.  
  163.  
  164. .pagi {
  165. font-size:8px;
  166. text-transform:uppercase;
  167. letter-spacing:3px;
  168. font-style:normal;
  169. text-align:center;
  170. margin-left:-25px;
  171. }
  172.  
  173. .pagi a {
  174. color:{color:sblinks};
  175. }
  176.  
  177.  
  178.  
  179. #container {
  180. width:500px;
  181. padding:10px;
  182. margin-left:450px;
  183. margin-top:55px;
  184. position: absolute;
  185. background-color:#31574C;
  186. color:#A7B4AB;
  187. border-style:dashed;
  188. }
  189.  
  190. #posts{
  191. width:500px;
  192. padding:25px;
  193. margin-top:30px;
  194. position: absolute;
  195. color:#A7B4AB;
  196. }
  197.  
  198.  
  199.  
  200. #info {
  201. width:500px;
  202. text-align:center;
  203. font-family:calibri;
  204. font-size:8px;
  205. text-transform:uppercase;
  206. padding:1px;
  207. color:{color:info};
  208. line-height:10px;
  209. border-top:1px solid {color:info};
  210. margin-top:5px;
  211. margin-bottom:55px;
  212. }
  213.  
  214. #info a{
  215. color:{color:info};
  216. }
  217.  
  218. #info a:hover{
  219. color:{color:hover};
  220. }
  221.  
  222. #tags{
  223. width:500px;
  224. padding:5px;
  225. margin-top:-3px;
  226. margin-left:-5px;
  227. float:left;
  228. text-align:center;
  229. font-size:8px;
  230. opacity:1;
  231. color:{color:links};
  232. transition-duration: 0.5s;
  233. -moz-transition-duration: 0.5s;
  234. -webkit-transition-duration: 0.5s;
  235. -o-transition-duration: 0.5s
  236. }
  237.  
  238. #tags a {
  239. display:inline-block;
  240. color:{color:info};
  241. font-size:8px;
  242. text-align:center;
  243. text-decoration:none;
  244. }
  245.  
  246. #notes{
  247. font-size:7px;
  248. text-transform:uppercase;
  249. }
  250.  
  251.  
  252.  
  253. #window{
  254. position:fixed;
  255. margin-top:100px;
  256. margin-left:100px;
  257. width:200px;
  258. height:400px;
  259. background-color:#211300;
  260. border-top-left-radius: 100px 100px;
  261. border-style:dashed;
  262. border-top-right-radius: 100px 100px;
  263.  
  264. }
  265.  
  266. #window2{
  267.  
  268. position:fixed;
  269. margin-top:100px;
  270. right:100px;
  271. width:200px;
  272. height:400px;
  273. background-color:#211300;
  274. border-top-left-radius: 100px 100px;
  275. border-style:dashed;
  276. border-top-right-radius: 100px 100px;
  277.  
  278. }
  279.  
  280. #inwindow{
  281. position:fixed;
  282. margin-top:110px;
  283. margin-left:110px;
  284. width:180px;
  285. height:380px;
  286. background-color:#2D2703;
  287. border-top-left-radius: 100px 100px;
  288.  
  289. border-top-right-radius: 100px 100px;
  290.  
  291. }
  292.  
  293. #windowborder{
  294. position:absolute;
  295. position:fixed;
  296.  
  297. margin-top:113px;
  298. left:195px;
  299. width:10px;
  300. height:380px;
  301. background-color:#2D2703;
  302. }
  303.  
  304. #windowborder2{
  305. position:absolute;
  306. position:fixed;
  307.  
  308. margin-top:113px;
  309. right:195px;
  310. width:10px;
  311. height:380px;
  312. background-color:#2D2703;
  313. }
  314.  
  315. #inwindow2{
  316.  
  317. position:fixed;
  318. margin-top:110px;
  319. right:110px;
  320. width:180px;
  321. height:380px;
  322. background-color:#2D2703;
  323. border-top-left-radius: 100px 100px;
  324.  
  325. border-top-right-radius: 100px 100px;
  326.  
  327. }
  328.  
  329. #ininwindow{
  330. position:fixed;
  331. margin-top:130px;
  332. margin-left:130px;
  333. width:65px;
  334. height:90px;
  335. background-color:#A9939B;
  336. border-top-left-radius: 90px 90px;
  337. background-image:url('{image:outside}');
  338. border-top-right-radius: 90px 90px;
  339.  
  340. }
  341.  
  342. #ininwindow2{
  343.  
  344. position:fixed;
  345. margin-top:130px;
  346. right:130px;
  347. width:65px;
  348. height:90px;
  349. background-color:#A9939B;
  350. border-top-left-radius: 90px 90px;
  351. background-image:url('{image:outside}');
  352. border-top-right-radius: 90px 90px;
  353.  
  354. }
  355.  
  356. #ininwindow3{
  357. position:fixed;
  358. margin-top:130px;
  359. margin-left:205px;
  360. width:65px;
  361. height:90px;
  362. background-color:#A9939B;
  363. border-top-left-radius: 90px 90px;
  364. background-image:url('{image:outside}');
  365. border-top-right-radius: 90px 90px;
  366.  
  367. }
  368.  
  369. #ininwindow4{
  370.  
  371. position:fixed;
  372. margin-top:130px;
  373. right:205px;
  374. width:65px;
  375. height:90px;
  376. background-color:#A9939B;
  377. border-top-left-radius: 90px 90px;
  378. background-image:url('{image:outside}');
  379. border-top-right-radius: 90px 90px;
  380.  
  381. }
  382.  
  383. #dow1{
  384.  
  385. position:fixed;
  386. margin-top:230px;
  387. left:130px;
  388. width:130px;
  389. padding:5px;
  390. height:55px;
  391. background-image:url('{image:outside}');
  392. background-color:#A9939B;
  393.  
  394. }
  395.  
  396. #dow2{
  397.  
  398. position:fixed;
  399. margin-top:230px;
  400. right:130px;
  401. width:130px;
  402. padding:5px;
  403. height:55px;
  404. background-image:url('{image:outside}');
  405. background-color:#A9939B;
  406.  
  407. }
  408.  
  409. #dow3{
  410.  
  411. position:fixed;
  412. margin-top:305px;
  413. left:130px;
  414. width:130px;
  415. padding:5px;
  416. height:55px;
  417. background-image:url('{image:outside}');
  418. background-color:#A9939B;
  419.  
  420. }
  421.  
  422. #dow4{
  423.  
  424. position:fixed;
  425. margin-top:305px;
  426. right:130px;
  427. width:130px;
  428. padding:5px;
  429. height:55px;
  430. background-image:url('{image:outside}');
  431. background-color:#A9939B;
  432.  
  433. }
  434.  
  435. #dow5{
  436.  
  437. position:fixed;
  438. margin-top:380px;
  439. left:130px;
  440. width:130px;
  441. padding:5px;
  442. height:55px;
  443. background-image:url('{image:outside}');
  444. background-color:#A9939B;
  445.  
  446.  
  447. }
  448.  
  449. #dow6{
  450.  
  451. position:fixed;
  452. margin-top:380px;
  453. right:130px;
  454. width:130px;
  455. padding:5px;
  456. height:55px;
  457. background-image:url('{image:outside}');
  458. background-color:#A9939B;
  459.  
  460. }
  461.  
  462. #sunflower{
  463. position:fixed;
  464. width:50px;
  465. height:50px;
  466. bottom:10px;
  467. background-image:url(http://a.deviantart.net/avatars/s/u/sunflowerpixelplz.png?1);
  468. }
  469.  
  470. #sunflower2{
  471. position:fixed;
  472. width:50px;
  473. height:50px;
  474. bottom:10px;
  475. right:0px;
  476. background-image:url(http://a.deviantart.net/avatars/s/u/sunflowerpixelplz.png?1);
  477. }
  478.  
  479. #sunflower4{
  480. position:fixed;
  481. width:50px;
  482. height:50px;
  483. right:0;
  484. top:10px;
  485. background-image:url(http://a.deviantart.net/avatars/s/u/sunflowerpixelplz.png?1);
  486. }
  487.  
  488. #sunflower3{
  489. position:fixed;
  490. width:50px;
  491. height:50px;
  492. top:10px;
  493.  
  494. background-image:url(http://a.deviantart.net/avatars/s/u/sunflowerpixelplz.png?1);
  495. }
  496.  
  497. p.ridge {border-style:ridge;}
  498.  
  499. #floormatt{
  500. width:200px;
  501. height:100px;
  502. position:fixed;
  503. bottom:0px;
  504. margin-left: 600px;
  505. border-style:ridge;
  506. border-color:#79AFA1;
  507. background-color:#96A2B2;
  508. border-top-left-radius: 10px 10px;
  509. border-top-right-radius: 10px 10px;
  510. border-bottom-left-radius: 10px 10px;
  511. border-bottom-right-radius: 10px 10px;
  512. }
  513.  
  514. #column{
  515. width:200px;
  516. border-style:dashed;
  517. position:fixed;
  518. width:960px;
  519. height:999999999999999px;
  520. background-image:url('{image:behindpost}');
  521. position:fixed;
  522. bottom:0px;
  523. margin-left: 200px;
  524. border-style:ridge;
  525. border-color:#B9805A;
  526. background-color:#A77043;
  527.  
  528. }
  529.  
  530. #image{
  531. background-image:url(');
  532. }
  533.  
  534. body, a, a:hover { cursor:url(http://i152.photobucket.com/albums/s164/starwolfodonnell/acnl-isabelle4.png), auto; }
  535.  
  536. #description{
  537. position:fixed;
  538. position:absolute;
  539. border-style:dashed;
  540. width:960px;
  541. height:110px;
  542. bottom:0px;
  543. margin-left: 200px;
  544. background-color:{color:description};
  545. color:{color:descriptiontext};
  546.  
  547.  
  548. }
  549.  
  550. {CustomCSS}
  551.  
  552. </style></head>
  553.  
  554.  
  555. <body>
  556. <div id="column"></div>
  557. <div id="window"></div>
  558. <div id="window2"></div>
  559. <div id="windowborder"></div>
  560. <div id="windowborder2"></div>
  561. <div id="inwindow"></div>
  562. <div id="inwindow2"></div>
  563. <div id="ininwindow"></div>
  564. <div id="ininwindow2"></div>
  565. <div id="ininwindow3"></div>
  566. <div id="ininwindow4"></div>
  567. <div id="dow1"></div>
  568. <div id="dow2"></div>
  569. <div id="dow3"></div>
  570. <div id="dow4"></div>
  571. <div id="dow5"></div>
  572. <div id="dow6"></div>
  573. <div id="windowborder"></div>
  574. <div id="windowborder2"></div>
  575.  
  576. <div id="sidebar">
  577. <div id="bite">
  578. <h4><center><img src="{image:sidebar}" height="80px" width="80px"></center></h4>
  579.  
  580. <div class="death">
  581. <div align="center">
  582. <div id="links"><p></p>
  583. <img src="http://media.tumblr.com/8672ce4c33301f30441e56105307e0b0/tumblr_inline_mpkw4xTbUC1qz4rgp.gif"><a href="/">Return</a><img src="http://media.tumblr.com/8672ce4c33301f30441e56105307e0b0/tumblr_inline_mpkw4xTbUC1qz4rgp.gif"><p></p><img src="http://media.tumblr.com/e8d80e94bc2ee01796f55138846e3e9c/tumblr_inline_mpkw500zyd1qz4rgp.gif">
  584. <a href="/ask">Ask</a><img src="http://media.tumblr.com/e8d80e94bc2ee01796f55138846e3e9c/tumblr_inline_mpkw500zyd1qz4rgp.gif"><p></p><img src="http://media.tumblr.com/8ea51034cc344dff0b6aa2adba567fa9/tumblr_inline_mpkw5aUXJp1qz4rgp.gif">
  585. <a href="/headcanon">About Isabelle!</a><img src="http://media.tumblr.com/8ea51034cc344dff0b6aa2adba567fa9/tumblr_inline_mpkw5aUXJp1qz4rgp.gif"><p></p><img src="http://media.tumblr.com/d121803beba6e3d5bbf1e5c61e3de596/tumblr_inline_mpkw5dqqnw1qz4rgp.gif">
  586. <a href="/mun">The Mayor!</a><img src="http://media.tumblr.com/d121803beba6e3d5bbf1e5c61e3de596/tumblr_inline_mpkw5dqqnw1qz4rgp.gif"><p></p><img src="http://media.tumblr.com/16b507eddddc0f82d5a670cc4ece6276/tumblr_inline_mpkw5g9Mxg1qz4rgp.gif">
  587. <a href="/rules">Rules</a><img src="http://media.tumblr.com/16b507eddddc0f82d5a670cc4ece6276/tumblr_inline_mpkw5g9Mxg1qz4rgp.gif"><p></p><img src="http://media.tumblr.com/b8a401ae97d5fb469be26804e3e35ca3/tumblr_inline_mpkw5kVNvB1qz4rgp.gif">
  588. <a href="/relationships">Relations</a><img src="http://media.tumblr.com/b8a401ae97d5fb469be26804e3e35ca3/tumblr_inline_mpkw5kVNvB1qz4rgp.gif">
  589. </div>
  590. </div></div>
  591.  
  592.  
  593. {block:Pagination}
  594. <div class="pagi">
  595. {block:PreviousPage}
  596. <a href="{PreviousPage}">←</a>
  597. {/block:PreviousPage}
  598. {block:NextPage}
  599. <a href="{NextPage}">→</a>
  600. {/block:NextPage}
  601. </div>
  602. {/block:Pagination}
  603. </div>
  604. </div>
  605. <div id="sidebar2">
  606. <div id="bite">
  607. <h4><center><img src="{image:sidebar2}" height="80px" width="80px"></center></h4>
  608.  
  609. <div class="death">
  610. <div align="center">
  611. {title}
  612. </div>
  613. </div>
  614. </div>
  615. </div></div>
  616.  
  617. <div id="sunflower"></div>
  618. <div id="sunflower2"></div>
  619. <div id="sunflower3"></div>
  620. <div id="sunflower4"></div>
  621.  
  622. <div id="container">
  623. {block:Posts}
  624. <div id="post">
  625.  
  626. <!--TEXT POSTS-->
  627. <center>
  628. {block:Text}
  629. {block:Title}<h2>{Title}</h2>{/block:Title}
  630. {Body}
  631. {/block:Text}
  632.  
  633. <!--ASKS-->
  634.  
  635. {block:Answer}
  636. <div class="question">
  637. <img src="{AskerPortraitURL-40}"> {Asker} asked: {Question}
  638. </div>
  639. {Answer}
  640. {/block:Answer}
  641.  
  642. <!--QUOTE POSTS-->
  643. {block:Quote}
  644.  
  645. <div class="quote">
  646. <div class="quotetext_{Length}">"{Quote}"</div>
  647. {block:Source}<div class="source">{Source}</div>{/block:Source}
  648. </div>
  649. {/block:Quote}
  650.  
  651. <!--LINK POSTS-->
  652.  
  653. {block:Link}
  654. <h2><a href="{URL}">{Name}</a></h2>
  655. {block:Description}{Description}{/block:Description}
  656. {/block:Link}
  657.  
  658. <!--CHAT POSTS-->
  659.  
  660. {block:Chat}
  661. {block:Title}<h2>{Title}</h2>{/block:Title}
  662. <ul class="convo">{block:Lines}<li class="line">{block:Label}<span class="label">{Label}</span>{/block:Label}
  663. {Line}</li>{/block:Lines}</ul>
  664. {/block:Chat}
  665.  
  666. <!--PHOTO POSTS-->
  667.  
  668. {block:Photo}
  669. {LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}" width="500px">{LinkCloseTag}
  670.  
  671. {block:Caption}{Caption}{/block:Caption}
  672. {/block:Photo}
  673.  
  674. <!--PHOTOSET POSTS-->
  675.  
  676. {block:Photoset}
  677. {Photoset-500}
  678. {block:Caption}{Caption}{/block:Caption}
  679. {/block:Photoset}
  680.  
  681. <!--VIDEO POSTS-->
  682.  
  683. {block:Video}
  684. {Video-500}
  685. {block:Caption}{Caption}{/block:Caption}
  686. {/block:Video}
  687.  
  688.  
  689. <!--AUDIO-->
  690.  
  691. {block:Audio}<left>{block:AlbumArt}<img src="{AlbumArtURL}" width="60px" height="60px" align="left" style="margin-right:10px" />{/block:AlbumArt}<span class="audio">{AudioPlayerBlack}</left></span>
  692. {block:TrackName}<b>Title:</b> {TrackName}<br />{/block:TrackName}
  693. {block:Artist}<b>Artist:</b> {Artist}<br />{/block:Artist}
  694. {/block:ExternalAudio}<b>Played:</b> {PlayCount} times <br>
  695. {/block:Audio}
  696.  
  697.  
  698. <!--POST INFO-->
  699.  
  700. <div id="info">
  701. {block:RebloggedFrom} <a href="{ReblogParentURL}">via</a> and {/block:RebloggedFrom}
  702. {block:ContentSource} <a href="{SourceURL}"><a href="{SourceURL}">source</a>{/block:ContentSource}
  703. {block:RebloggedFrom} <a href="{ReblogParentURL}" target="_blank"></a>{/block:RebloggedFrom}
  704. <a href="{Permalink}">with {NoteCount}</a> <a style="color:#f377a0;">♥</a></a>
  705. {block:HasTags}<div id="tags">
  706.  
  707. {block:Tags}<a href="/tagged/{Tag}">#{Tag}</a>&nbsp;{/block:Tags}
  708. </div>{block:HasTags}
  709. </div>
  710. </div>
  711.  
  712. {/block:Posts}
  713. <br><br>{block:PostNotes}<div id="notes">{PostNotes}</div>{/block:PostNotes}
  714. {/block:Posts}</div></div></div>
  715. <br><br><br><br>
  716.  
  717.  
  718. </div></div>
  719.  
  720. {/block:Posts}
  721. <div id="description"></div>
  722. </center>
  723. <script type="text/javascript">
  724.  
  725. /******************************************
  726. * Snow Effect Script- By Altan d.o.o. (http://www.altan.hr/snow/index.html)
  727. * Visit Dynamic Drive DHTML code library (http://www.dynamicdrive.com/) for full source code
  728. * Last updated Nov 9th, 05' by DD. This notice must stay intact for use
  729. ******************************************/
  730.  
  731. //Configure below to change URL path to the snow image
  732. var snowsrc="http://media.tumblr.com/d30711f1386d8325508d9dbbbf501a7f/tumblr_inline_mpkwu7Vc9N1qz4rgp.gif"
  733. // Configure below to change number of snow to render
  734. var no = 10;
  735. // Configure whether snow should disappear after x seconds (0=never):
  736. var hidesnowtime = 8
  737. // Configure how much snow should drop down before fading ("windowheight" or "pageheight")
  738. var snowdistance = "windowheight
  739.  
  740. ///////////Stop Config//////////////////////////////////
  741.  
  742. var ie4up = (document.all) ? 1 : 0;
  743. var ns6up = (document.getElementById&&!document.all) ? 1 : 0;
  744.  
  745. function iecompattest(){
  746. return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
  747. }
  748.  
  749. var dx, xp, yp; // coordinate and position variables
  750. var am, stx, sty; // amplitude and step variables
  751. var i, doc_width = 800, doc_height = 600;
  752.  
  753. if (ns6up) {
  754. doc_width = self.innerWidth;
  755. doc_height = self.innerHeight;
  756. } else if (ie4up) {
  757. doc_width = iecompattest().clientWidth;
  758. doc_height = iecompattest().clientHeight;
  759. }
  760.  
  761. dx = new Array();
  762. xp = new Array();
  763. yp = new Array();
  764. am = new Array();
  765. stx = new Array();
  766. sty = new Array();
  767. snowsrc=(snowsrc.indexOf("dynamicdrive.com")!=-1)? "snow.gif" : snowsrc
  768. for (i = 0; i < no; ++ i) {
  769. dx[i] = 0; // set coordinate variables
  770. xp[i] = Math.random()*(doc_width-50); // set position variables
  771. yp[i] = Math.random()*doc_height;
  772. am[i] = Math.random()*20; // set amplitude variables
  773. stx[i] = 0.02 + Math.random()/10; // set step variables
  774. sty[i] = 0.7 + Math.random(); // set step variables
  775. if (ie4up||ns6up) {
  776. if (i == 0) {
  777. document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><a href=\"http://dynamicdrive.com\"><img src='"+snowsrc+"' border=\"0\"><\/a><\/div>");
  778. } else {
  779. document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='"+snowsrc+"' border=\"0\"><\/div>");
  780. }
  781. }
  782. }
  783.  
  784. function snowIE_NS6() { // IE and NS6 main animation function
  785. doc_width = ns6up?window.innerWidth-10 : iecompattest().clientWidth-10;
  786. doc_height=(window.innerHeight && snowdistance=="windowheight")? window.innerHeight : (ie4up && snowdistance=="windowheight")? iecompattest().clientHeight : (ie4up && !window.opera && snowdistance=="pageheight")? iecompattest().scrollHeight : iecompattest().offsetHeight;
  787. for (i = 0; i < no; ++ i) { // iterate for every dot
  788. yp[i] += sty[i];
  789. if (yp[i] > doc_height-50) {
  790. xp[i] = Math.random()*(doc_width-am[i]-30);
  791. yp[i] = 0;
  792. stx[i] = 0.02 + Math.random()/10;
  793. sty[i] = 0.7 + Math.random();
  794. }
  795. dx[i] += stx[i];
  796. document.getElementById("dot"+i).style.top=yp[i]+"px";
  797. document.getElementById("dot"+i).style.left=xp[i] + am[i]*Math.sin(dx[i])+"px";
  798. }
  799. snowtimer=setTimeout("snowIE_NS6()", 10);
  800. }
  801.  
  802. function hidesnow(){
  803. if (window.snowtimer) clearTimeout(snowtimer)
  804. for (i=0; i<no; i++) document.getElementById("dot"+i).style.visibility="hidden"
  805. }
  806.  
  807.  
  808. if (ie4up||ns6up){
  809. snowIE_NS6();
  810. if (hidesnowtime>0)
  811. setTimeout("hidesnow()", hidesnowtime*1000)
  812. }
  813.  
  814. </script>
  815. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement