Advertisement
sofiiayala

Team Free Will for Tumblr

Jan 4th, 2014
5,657
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.61 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. <head><title>{Title}</title>
  4. <link rel="shortcut icon" href="{Favicon}">
  5. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  6. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  7.  
  8. <!---- Team Free Will by Sofi (castiiel.tumblr.com). DON'T STEAL THE CREDIT, CUSTOMIZE IT AS MUCH AS YOU WANT BUT DON'T STEAL IT, IT'S ILLEGAL --->
  9.  
  10. <meta name="color:Background" content="#ffffff"/>
  11. <meta name="color:Text" content="#838282"/>
  12. <meta name="color:Link" content="#b8b8b8"/>
  13. <meta name="color:border" content="#ccc"/>
  14. <meta name="color:info background" content="#f3f1f1"/>
  15. <meta name="color:box shadow" content="#888"/>
  16. <meta name="color:scrollbar" content="#75b1d6"/>
  17. <meta name="color:blockquote" content="#999"/>
  18. <meta name="image:sidebar" content=""/>
  19.  
  20. <meta name="text:title" content=""/>
  21. <meta name="text:link 1 message" content="Link 1"/>
  22. <meta name="text:link 1 url" content="/"/>
  23. <meta name="text:link 2 message" content="Link 2"/>
  24. <meta name="text:link 2 url" content="/"/>
  25. <meta name="text:link 3 message" content="Link 3"/>
  26. <meta name="text:link 3 url" content="/"/>
  27. <meta name="text:link 4 message" content="Link 4"/>
  28. <meta name="text:link 4 url" content="/"/>
  29.  
  30. <meta name="if:show title" content="1"/>
  31. <meta name="if:info on hover" content="0"/>
  32.  
  33. <script type="text/javascript">
  34. WebFontConfig = {
  35. google: { families: [ 'Lato:300,400:latin' ] }
  36. };
  37. (function() {
  38. var wf = document.createElement('script');
  39. wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
  40. '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
  41. wf.type = 'text/javascript';
  42. wf.async = 'true';
  43. var s = document.getElementsByTagName('script')[0];
  44. s.parentNode.insertBefore(wf, s);
  45. })(); </script>
  46.  
  47.  
  48. <style type="text/css">
  49.  
  50. #dhtmltooltip{
  51. position: absolute;
  52. padding:7px;
  53. padding-bottom: 4px;
  54. padding-top: 4px;
  55. margin-left:70px;
  56. margin-top: -130px;
  57. border: 1px solid {color:border};
  58. background: {color:background}; /* change the background color */
  59. font-family:helvetica; /* change the font */
  60. font-size:7px; /* change the font size */
  61. letter-spacing:1px; /* change the letter spacing */
  62. text-transform:uppercase; /* can be uppercase, lowercase, none*/
  63. font-style: bold;
  64. color:{color:text}; /* change the text color */
  65. visibility: hidden;
  66. z-index: 999999999999999999999999999;
  67. /*Remove below line to remove shadow. Below line should always appear last within this CSS*/
  68. filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135);
  69. }
  70.  
  71. ::-webkit-scrollbar {width: 3px; height: 3px; background: transparent; }
  72. ::-webkit-scrollbar-thumb { background-color: {color:scrollbar}; -webkit-border-radius: 0ex; }
  73.  
  74. body {
  75. background-color:{color:background};
  76. margin:0px;
  77. position:relative;
  78. color:{color:text};
  79. font-family:'Lato', sans-serif;
  80. font-style:normal;
  81. font-size:10px;
  82. line-height:120%;
  83. letter-spacing: 0.8px;
  84. }
  85.  
  86. body, a, a:hover {cursor: url(http://media.tumblr.com/tumblr_lqs4idHqTZ1qfoi4t.png), auto;}
  87.  
  88. a {
  89. text-decoration:none;
  90. outline:none;
  91. -moz-outline-style:none;
  92. color:{color:link};
  93. }
  94.  
  95. img {
  96. border:none;
  97. }
  98.  
  99. p {
  100. margin-left: 0px;
  101. margin-right: 0px;
  102. word-wrap: break-word;
  103. }
  104.  
  105. pre {
  106. white-space: pre-wrap;
  107. white-space: -moz-pre-wrap;
  108. white-space: -pre-wrap;
  109. white-space: -o-pre-wrap;
  110. word-wrap: break-word;
  111. }
  112.  
  113. blockquote {
  114. padding-left:5px;
  115. border-left:1px solid;
  116. margin-left: 0px;
  117. margin-right: 0px;
  118. }
  119.  
  120. blockquote img {
  121. max-width: 244px;
  122. }
  123.  
  124. h1 {
  125. font-size:16px;
  126. font-family: 'Lato', sans-serif;
  127. letter-spacing: 1.5px;
  128. line-height: 130%;
  129. font-weight: 300;
  130. text-align: center;
  131. }
  132.  
  133. #entries {
  134. padding:10px;
  135. width:400px;
  136. margin-left:500px;
  137. margin-top:130px;
  138. }
  139.  
  140. #post {
  141. width:400px;
  142. padding-bottom:10px;
  143. margin-top: 60px;
  144. overflow: hidden;
  145. }
  146.  
  147. #post img {
  148. max-width: 400px;
  149. }
  150.  
  151. #post:hover #tags {
  152. opacity: 1;
  153. transition: all 0.3s linear;
  154. -webkit-transition: opacity 0.3s linear;
  155. -webkit-transition: all 0.3s linear;
  156. -moz-transition: all 0.3s linear;
  157. }
  158.  
  159. #post:hover #info {
  160. opacity: 1;
  161. transition: all 0.3s linear;
  162. -webkit-transition: opacity 0.3s linear;
  163. -webkit-transition: all 0.3s linear;
  164. -moz-transition: all 0.3s linear;
  165. }
  166.  
  167. #symbols {
  168. padding-top:15px;
  169. width:400px;
  170. margin-left:510px;
  171. height: 80px;
  172. background-color: {color:background};
  173. text-align: center;
  174. border-bottom: 1px solid {color:border};
  175. top: 0px;
  176. position: fixed;
  177. z-index:999999999999999999999999999;
  178. }
  179.  
  180. #symbols img {
  181. width: 40px;
  182. margin-left: 25px;
  183. margin-right: 25px;
  184. margin-bottom: 0px;
  185. margin-top: 10px;
  186. }
  187.  
  188. #sidebar {
  189. width:250px;
  190. position:fixed;
  191. margin-left:200px;
  192. margin-top:25px;
  193. text-align: center;
  194. }
  195.  
  196. {block:ifShowtitle}
  197. #title {
  198. font-size:16px;
  199. text-align:center;
  200. margin-top:10px;
  201. letter-spacing: 1px;
  202. font-family: 'Lato', sans-serif;
  203. line-height: 120%;
  204. }
  205. {/block:ifShowtitle}
  206.  
  207. #sidebarimage {
  208. width 250px;
  209. }
  210.  
  211. #sidebarimage img {
  212. width:160px;
  213. }
  214.  
  215. #links {
  216. font-family: calibri;
  217. font-size: 9px;
  218. text-transform: uppercase;
  219. font-weight: bold;
  220. margin-top: 7px;
  221. padding-top: 5px;
  222. border-top: 1px solid {color:border};
  223. width: 160px;
  224. margin-left: 45px;
  225. }
  226.  
  227. #links a {
  228. margin-left: 5px;
  229. margin-right: 5px;
  230. color: {color:text};
  231. line-height: 140%;
  232. transition: all 0.3s linear;
  233. -webkit-transition: opacity 0.3s linear;
  234. -webkit-transition: all 0.3s linear;
  235. -moz-transition: all 0.3s linear;
  236. }
  237.  
  238. #links a:hover {
  239. text-decoration: underline;
  240. transition: all 0.3s linear;
  241. -webkit-transition: opacity 0.3s linear;
  242. -webkit-transition: all 0.3s linear;
  243. -moz-transition: all 0.3s linear;
  244. }
  245.  
  246. #description {
  247. padding:5px;
  248. text-align:center;
  249. width: 160px;
  250. margin-left: 40px;
  251. padding-top: 7px;
  252. font-family:'Lato', sans-serif;
  253. font-size: 8px;
  254. line-height: 180%;
  255. letter-spacing: 1.5px;
  256. }
  257.  
  258. #pagination {
  259. width:400px;
  260. padding-top: 5px;
  261. line-height: 130%;
  262. height:20px;
  263. text-align:center;
  264. background-color:transparent;
  265. font-size:11px;
  266. margin-top:50px;
  267. bottom:0px;
  268. padding-bottom: 10px;
  269. opacity: 0.8;
  270. color:{color:text};
  271. letter-spacing: 2px;
  272. font-family: consolas, 'Lato', sans-serif;
  273. -webkit-transition: opacity 0.3s linear;
  274. -webkit-transition: all 0.3s linear;
  275. -moz-transition: all 0.3s linear;
  276. transition: all 0.3s linear;
  277. }
  278.  
  279. #pagination:hover {
  280. opacity: 1;
  281. -webkit-transition: opacity 0.3s linear;
  282. -webkit-transition: all 0.3s linear;
  283. -moz-transition: all 0.3s linear;
  284. transition: all 0.3s linear;
  285. }
  286.  
  287. #pagination a {
  288. color:{color:text};
  289. border-bottom: 1px solid {color:background};
  290. padding-bottom: 3px;
  291. opacity: 1;
  292. -webkit-transition: opacity 0.3s linear;
  293. -webkit-transition: all 0.3s linear;
  294. -moz-transition: all 0.3s linear;
  295. transition: all 0.3s linear;
  296. }
  297.  
  298. #pagination a:hover {
  299. border-bottom: 1px solid {color:border};
  300. padding-bottom: 3px;
  301. opacity: 1;
  302. -webkit-transition: opacity 0.3s linear;
  303. -webkit-transition: all 0.3s linear;
  304. -moz-transition: all 0.3s linear;
  305. transition: all 0.3s linear;
  306. }
  307.  
  308. #info {
  309. text-align:center;
  310. margin-top:10px;
  311. background-color: {color:info background};
  312. letter-spacing: 1px;
  313. border-top: {color:border} 1px solid;
  314. padding: 4px;
  315. padding-bottom: 4px;
  316. text-transform: uppercase;
  317. font-family: helvetica;
  318. font-size: 7px;
  319. opacity: 1;
  320. {block:ifInfoonhover}
  321. opacity: 0;
  322. -webkit-transition: opacity 0.5s linear;
  323. -webkit-transition: all 0.5s linear;
  324. -moz-transition: all 0.5s linear;
  325. -o-transition: all 0.5s linear;
  326. {/block:ifInfoonhover}
  327. }
  328.  
  329. .question{
  330. text-align: center;
  331. margin-bottom:10px;
  332. padding-bottom: 10px;
  333. border-bottom: 1px solid {color:border};
  334. }
  335.  
  336. .asker {
  337. font-weight:bolder;
  338. }
  339.  
  340. .asker a {
  341. color: {color:text};
  342. }
  343.  
  344. .answer{
  345. text-align: left;
  346. }
  347.  
  348. #credit {
  349. font-size:8px;
  350. font-family:consolas, trebuchet ms, 'Lato', sans-serif;
  351. letter-spacing:.7px;
  352. word-spacing:-3px;
  353. -webkit-transition: opacity 0.5s linear;
  354. -webkit-transition: all 0.5s linear;
  355. -moz-transition: all 0.5s linear;
  356. -o-transition: all 0.5s linear;
  357. background-color:{color:background};
  358. border:1px solid {color:border};
  359. position:fixed;
  360. right:15px;
  361. bottom:10px;
  362. height: 10px;
  363. text-align: center;
  364. overflow: hidden;
  365. padding:5px 3px;
  366. z-index: 999999999999999999999999999999999999999999999999999;
  367. }
  368.  
  369. #credit:hover {
  370. height: 40px;
  371. -webkit-transition: opacity 0.5s linear;
  372. -webkit-transition: all 0.5s linear;
  373. -moz-transition: all 0.5s linear;
  374. -o-transition: all 0.5s linear;
  375. }
  376.  
  377. #credit a {
  378. color:{color:text};
  379. font-size:9px;
  380. display:block;
  381. line-height:0px;
  382. margin:8px 0px -5px;
  383. }
  384.  
  385. .sources
  386. {
  387. filter:alpha(opacity=0);
  388. opacity:0;
  389. font-size: 0px;
  390. }
  391.  
  392. #quote {
  393. font-size:16px;
  394. font-family: 'Lato', sans-serif;
  395. letter-spacing: 1.5px;
  396. font-weight: 300;
  397. line-height: 130%;
  398. text-align: center;
  399. }
  400.  
  401. #cover {
  402. position: relative;
  403. z-index: 1;
  404. height: 80px;
  405. float:left;
  406. margin:4px;
  407. box-shadow:0px 0px 5px {color:shadow};
  408. }
  409.  
  410. #button {
  411. width:20px;
  412. height:30px;
  413. overflow: hidden;
  414. position: relative;
  415. z-index: 99;
  416. margin: 15px 24px 13px 16px;
  417. }
  418.  
  419. #buttons {
  420. background-color: #fff;
  421. position: absolute;
  422. z-index: 99;
  423. margin-top: 15px;
  424. margin-left: 15px;
  425. opacity: 0;
  426. -webkit-transition: opacity 0.5s linear;
  427. -webkit-transition: all 0.5s linear;
  428. -moz-transition: all 0.5s linear;
  429. -o-transition: all 0.5s linear;
  430. }
  431.  
  432. #post:hover #buttons {
  433. opacity:0.5;
  434. }
  435.  
  436. #musicinfo {
  437. margin-left: 110px;
  438. font-size:10px;
  439. min-height:70px;
  440. text-align:left;
  441. position: relative;
  442. }
  443.  
  444. #notez {
  445. padding-bottom:5px;
  446. margin-left:0px;
  447. float: left;
  448. text-align: left;
  449. width:380px;
  450. margin-left:-30px;
  451. }
  452.  
  453. #notez a {
  454. display:inline-block;
  455. }
  456.  
  457. #notez ol {
  458. list-style-type:none;
  459. }
  460.  
  461. #notez li {
  462. margin-bottom: 7px;
  463. }
  464.  
  465. #notez img {
  466. display:none;
  467. }
  468.  
  469. .border {
  470. border-top: solid 1px #f0eded;
  471. }
  472.  
  473. #tags {
  474. font-size: 9px;
  475. margin-top: 5px;
  476. text-align: center;
  477. opacity: 0;
  478. font-family: calibri;
  479. letter-spacing: 0.5px;
  480. transition: all 0.3s linear;
  481. -webkit-transition: opacity 0.3s linear;
  482. -webkit-transition: all 0.3s linear;
  483. -moz-transition: all 0.3s linear;
  484. {block:permalinkpage}
  485. opacity: 1;
  486. {/block:permalinkpage}
  487. }
  488.  
  489. #tags a {
  490. color: {color:text};
  491. margin-left: 5px;
  492. }
  493.  
  494. #tags a:hover {
  495. color: {color:link};
  496. transition: all 0.3s linear;
  497. -webkit-transition: opacity 0.3s linear;
  498. -webkit-transition: all 0.3s linear;
  499. -moz-transition: all 0.3s linear;
  500. }
  501.  
  502. {CustomCSS}</style></head><body>
  503.  
  504. <div id="sidebar">
  505.  
  506. <div id="sidebarimage"><img src="{image:sidebar}"></div>
  507.  
  508. {block:ifShowtitle}<div id="title">{text:Title}</div>{/block:ifShowtitle}
  509.  
  510. <div id="links">
  511. <a href="/">the bunker</a>
  512. <a href="/archive">john's journal</a><br>
  513. <a href="/ask">dean's other phone</a>
  514.  
  515. </div>
  516.  
  517. <div id="description">{Description}</div>
  518.  
  519. </div>
  520.  
  521. <div id="symbols">
  522. <a href="{text:link 1 url}" onMouseover="ddrivetip('{text:link 1 message}')";
  523. onMouseout="hideddrivetip()"><img src="http://static.tumblr.com/bfthosw/O3mn5jaxc/tumblr_inline_my0x42e4qm1rchiod.jpg" style="width: 50px;"></a>
  524. <a href="{text:link 2 url}" onMouseover="ddrivetip('{text:link 2 message}')";
  525. onMouseout="hideddrivetip()"><img src="http://static.tumblr.com/bfthosw/PdSn5jazu/tumblr_inline_my0x4eevyu1rchiod.jpg" style="margin-bottom: 3px;"></a>
  526. <a href="{text:link 3 url}" onMouseover="ddrivetip('{text:link 3 message}')";
  527. onMouseout="hideddrivetip()"><img src="http://static.tumblr.com/bfthosw/DbLn5jayp/tumblr_inline_my0x4jk4ko1rchiod.jpg" style="margin-bottom: 3px;"></a>
  528. <a href="{text:link 4 url}" onMouseover="ddrivetip('{text:link 4 message}')";
  529. onMouseout="hideddrivetip()"><img src="http://static.tumblr.com/bfthosw/SyHn5jb3d/tumblr_inline_my0x63hw211rchiod.jpg" style="margin-bottom: 3px;"></a>
  530. </div>
  531.  
  532. <div id="entries">
  533.  
  534. {block:Posts}
  535.  
  536. {block:ContentSource}
  537.  
  538. <!--{SourceURL}{block:SourceLogo}{BlackLogoURL}”
  539.  
  540. width=”{LogoWidth}” height=”{LogoHeight}” alt=”{SourceTitle}” />
  541.  
  542. {/block:SourceLogo}
  543.  
  544. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo}-->
  545.  
  546. {/block:ContentSource}{block:ReblogParent}{/block:ReblogParent}
  547.  
  548. <div id="post">
  549.  
  550. {block:Text}<h1>{block:Title}{Title}{/block:Title}</h1>{Body}{/block:Text}
  551.  
  552. {block:Photo}{LinkOpenTag}<img src="{PhotoURL-400}">{LinkCloseTag}{block:Caption}{Caption}{/block:Caption}{/block:Photo}
  553.  
  554. {block:Photoset}{Photoset-400}{block:Caption}{Caption}{/block:Caption}{/block:Photoset}
  555.  
  556. {block:Quote}<div id="quote">"{Quote}"</div>{block:Source}<br><br> <div style="font-family: courier new; text-align: right; font-size: 12px; font-weight: bold;">-{Source}</div>{/block:Source}{/block:Quote}
  557.  
  558. {block:Link}<h1><a href="{URL}" {Target}>{Name}</a></h1>{block:Description}{Description}{/block:Description}{/block:Link}
  559.  
  560. {block:Chat}{block:Title}<h1>{Title}</h1>{/block:Title}{block:Lines}{block:Label}<b>{Label}</b>{/block:Label} {Line}<br><br>{/block:Lines}{/block:Chat}
  561.  
  562. {block:Audio}
  563. <div id="buttons"><div id="button">{block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}</div></div>
  564. {block:AlbumArt}<img src="{AlbumArtURL}" id="cover">{/block:AlbumArt}
  565. <div id="musicinfo">
  566. {block:TrackName}<div style="padding-top: 12px; text-transform: uppercase; font-size:12px; font-family:'Lato', sans-serif; letter-spacing:1.6px;"><b>{TrackName}</b></div>{/block:Trackname}<br>
  567. {block:Artist}by {Artist}{/block:Artist}<br><br>
  568. {block:PlayCount}►played {PlayCount} times{/block:PlayCount}
  569. </div>
  570. <div style="margin-top:23px;">{block:caption}{Caption}{/block:caption}</div>
  571. {/block:Audio}
  572.  
  573. {block:Video}{Video-400}{block:Caption}{Caption}{/block:Caption}{/block:Video}
  574.  
  575. {block:Answer}
  576. <div class="question" style="margin-bottom:-3px;"><spand class="asker">{Asker}</spand>: {Question}</div><div class="answer">{Answer}</div>{/block:Answer}
  577.  
  578. <div id="info">
  579. {block:RebloggedFrom}<a href="{ReblogParentURL}"
  580. onMouseover="ddrivetip('via')";
  581. onMouseout="hideddrivetip()" style="float: left;">bitch</a>{/block:RebloggedFrom}{block:Date} soul sold {TimeAgo}{/block:Date} - <a href="{Permalink}">
  582. {NoteCount}</a> demons killed{block:RebloggedFrom}<a href="{ReblogRootURL}"onMouseover="ddrivetip('source')";
  583. onMouseout="hideddrivetip()" style="float: right;">jerk</a>{/block:RebloggedFrom}</div>
  584.  
  585. <div id="tags">{block:HasTags}Sammy tagged it as:{block:Tags} <a href="{TagURL}">{Tag},</a>{/block:Tags}{/block:HasTags}</div>
  586.  
  587. </div>
  588.  
  589. {block:PostNotes}<div id="notez">{PostNotes}</div>{/block:PostNotes}
  590.  
  591. {/block:Posts}
  592.  
  593. <div id="pagination">
  594. {block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">JUMP</a>{/block:PreviousPage} -
  595. {block:NextPage}<a href="{NextPage}">FALL</a>{/block:NextPage}{/block:Pagination}
  596. </div></div>
  597.  
  598. </div>
  599.  
  600. <div id="credit">KAZ 2Y5<br><a href="http://castiiel.tumblr.com">Theme</a><br><a href="http://stubbledean.tumblr.com">Graphics</a></div>
  601.  
  602. <div id="dhtmltooltip"></div>
  603.  
  604. <script type="text/javascript">
  605.  
  606. /***********************************************
  607. * Cool DHTML tooltip script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
  608. * This notice MUST stay intact for legal use
  609. * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
  610. ***********************************************/
  611.  
  612. var offsetxpoint=-60 //Customize x offset of tooltip
  613. var offsetypoint=20 //Customize y offset of tooltip
  614. var ie=document.all
  615. var ns6=document.getElementById && !document.all
  616. var enabletip=false
  617. if (ie||ns6)
  618. var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""
  619.  
  620. function ietruebody(){
  621. return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
  622. }
  623.  
  624. function ddrivetip(thetext, thecolor, thewidth){
  625. if (ns6||ie){
  626. if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"
  627. if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
  628. tipobj.innerHTML=thetext
  629. enabletip=true
  630. return false
  631. }
  632. }
  633.  
  634. function positiontip(e){
  635. if (enabletip){
  636. var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
  637. var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
  638. //Find out how close the mouse is to the corner of the window
  639. var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20
  640. var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20
  641.  
  642. var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000
  643.  
  644. //if the horizontal distance isn't enough to accomodate the width of the context menu
  645. if (rightedge<tipobj.offsetWidth)
  646. //move the horizontal position of the menu to the left by it's width
  647. tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth+"px"
  648. else if (curX<leftedge)
  649. tipobj.style.left="5px"
  650. else
  651. //position the horizontal position of the menu where the mouse is positioned
  652. tipobj.style.left=curX+offsetxpoint+"px"
  653.  
  654. //same concept with the vertical position
  655. if (bottomedge<tipobj.offsetHeight)
  656. tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px"
  657. else
  658. tipobj.style.top=curY+offsetypoint+"px"
  659. tipobj.style.visibility="visible"
  660. }
  661. }
  662.  
  663. function hideddrivetip(){
  664. if (ns6||ie){
  665. enabletip=false
  666. tipobj.style.visibility="hidden"
  667. tipobj.style.left="-1000px"
  668. tipobj.style.backgroundColor=''
  669. tipobj.style.width=''
  670. }
  671. }
  672.  
  673. document.onmousemove=positiontip
  674.  
  675. </script>
  676.  
  677. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement