Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head><title>{Title}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
- <!----Theme 25 by castiiel. DON'T STEAL NOR COVER THE CREDIT, CUSTOMIZE IT AS MUCH AS YOU WANT BUT DON'T STEAL IT, IT'S ILLEGAL --->
- <meta name="color:Background" content="#ffffff"/>
- <meta name="color:Text" content="#838282"/>
- <meta name="color:Link" content="#b8b8b8"/>
- <meta name="color:border" content="#ccc"/>
- <meta name="color:dots" content="#ccc"/>
- <meta name="color:scrollbar" content="#999"/>
- <meta name="image:sidebar" content=""/>
- <meta name="image:background" content=""/>
- <meta name="if:500px posts" content="0"/>
- <meta name="if:infinite scroll" content="0">
- <meta name="if:credit on the left" content="0"/>
- <meta name="if:repeat background" content="0"/>
- <meta name="if:show title" content="1"/>
- <meta name="if:faded photos" content="0"/>
- <meta name="if:info on hover" content="0"/>
- <meta name="if:tags on hover" content="1"/>
- <meta name="if:dots under title" content="0"/>
- <meta name="if:picture border" content="1"/>
- <meta name="if:show notes on click" content="0"/>
- <meta name="if:show via and source" content="0"/>
- <meta name="text:title" content=""/>
- <meta name="text:photos opacity" content="0.8"/>
- <meta name="text:link 1 message" content="Link 1"/>
- <meta name="text:link 1" content="/"/>
- <meta name="text:link 2 message" content="Link 2"/>
- <meta name="text:link 2" content="/"/>
- <meta name="text:link 3 message" content="Link 3"/>
- <meta name="text:link 3" content="/"/>
- <meta name="text:link 4 message" content="Link 4"/>
- <meta name="text:link 4" content="/"/>
- <meta name="text:link 5 message" content="Link 5"/>
- <meta name="text:link 5" content="/"/>
- {block:IfInfiniteScroll}
- <script type="text/javascript" src="http://yourjavascript.com/21212225154/esz.js"></script>
- {/block:IfInfiniteScroll}
- {block:ifShownotesonclick}
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
- <script src="jquery.js"></script>
- <script>
- $(document).ready(function(){
- $("#notes").click(function(){
- $("ol.notes").slideToggle("slow");
- });
- });
- </script>
- {/block:ifShownotesonclick}
- <script type="text/javascript">
- WebFontConfig = {
- google: { families: [ 'Lato:300,400:latin' ] }
- };
- (function() {
- var wf = document.createElement('script');
- wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
- '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
- wf.type = 'text/javascript';
- wf.async = 'true';
- var s = document.getElementsByTagName('script')[0];
- s.parentNode.insertBefore(wf, s);
- })(); </script>
- <style type="text/css">
- #dhtmltooltip{
- position: absolute;
- padding:7px;
- padding-bottom: 4px;
- padding-top: 4px;
- margin-left:70px;
- margin-top: -7px;
- border: 1px solid {color:border};
- background: {color:background}; /* change the background color */
- font-family:helvetica; /* change the font */
- font-size:7px; /* change the font size */
- letter-spacing:1px; /* change the letter spacing */
- text-transform:uppercase; /* can be uppercase, lowercase, none*/
- font-style: bold;
- color:{color:text}; /* change the text color */
- visibility: hidden;
- z-index: 100;
- /*Remove below line to remove shadow. Below line should always appear last within this CSS*/
- filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135);
- }
- ::-webkit-scrollbar {width: 4px; height: 4px; background: {color:background}; }
- ::-webkit-scrollbar-thumb { background-color: {color:scrollbar}; -webkit-border-radius: 0ex; }
- body {
- background:{color:background};
- margin:0px;
- color:{color:text};
- font-family:'Lato', sans-serif;
- letter-spacing: 0.8px;
- line-height: 130%;
- font-size:10px;
- background-image:url("{image:background}");
- background-size:cover;
- {block:ifRepeatbackground}
- background-size:auto;
- background-repeat: repeat;
- {block:ifRepeatbackground}
- background-attachment:fixed;
- background-position: top left;
- }
- body, a, a:hover {cursor: url(http://media.tumblr.com/tumblr_lqs4idHqTZ1qfoi4t.png), auto;}
- a {
- text-decoration:none;
- outline:none;
- -moz-outline-style:none;
- color:{color:link};
- }
- img {
- border:none;
- }
- p {
- margin-left: 0px;
- margin-right: 0px;
- word-wrap: break-word;
- }
- pre {
- white-space: pre-wrap;
- white-space: -moz-pre-wrap;
- white-space: -pre-wrap;
- white-space: -o-pre-wrap;
- word-wrap: break-word;
- }
- blockquote {
- padding-left:5px;
- border-left:1px solid;
- margin-left: 0px;
- margin-right: 0px;
- }
- h1 {
- font-size:17px;
- font-family:'Lato', sans-serif;
- font-weight: 300;
- letter-spacing: 1.5px;
- line-height:130%;
- text-align: left;
- }
- h2 {
- font-size:15px;
- font-family:'Lato', sans-serif;
- font-weight: 300;
- letter-spacing: 1.5px;
- line-height:130%;
- text-align: left;
- }
- .text img {
- height: auto!important;
- max-width:100%;
- }
- #entries {
- width:400px;
- {block:if500pxposts}
- width:500px;
- {/block:if500pxposts}
- margin-left:550px;
- margin-top:70px;
- margin-bottom:30px;
- }
- #post {
- width:400px;
- {block:if500pxposts}
- width:500px;
- {/block:if500pxposts}
- margin-top: 80px;
- margin-bottom: 50px;
- }
- #post:hover #tags {
- opacity: 1;
- transition: all 0.3s linear;
- -webkit-transition: opacity 0.3s linear;
- -webkit-transition: all 0.3s linear;
- -moz-transition: all 0.3s linear;
- }
- #post:hover #info {
- opacity: 1;
- transition: all 0.8s linear;
- -webkit-transition: opacity 0.8s linear;
- -webkit-transition: all 0.8s linear;
- -moz-transition: all 0.8s linear;
- }
- {block:ifFadedphotos}
- .photos img {
- opacity:{text:photos opacity};
- transition: all 0.8s linear;
- -webkit-transition: opacity 0.8s linear;
- -webkit-transition: all 0.8s linear;
- -moz-transition: all 0.8s linear;
- }
- #post .photos img {
- transition: all 0.8s linear;
- -webkit-transition: opacity 0.8s linear;
- -webkit-transition: all 0.8s linear;
- -moz-transition: all 0.8s linear;
- }
- #post:hover .photos img {
- opacity:1;
- transition: all 0.3s linear;
- -webkit-transition: opacity 0.3s linear;
- -webkit-transition: all 0.3s linear;
- -moz-transition: all 0.3s linear;
- }
- {/block:ifFadedphotos}
- #title {
- padding-top: 13px;
- padding-bottom: 8px;
- border-bottom: 1px solid {color:border};
- font-family: courier, monospace;
- font-size: 15px;
- line-height: 120%;
- text-align: center;
- }
- #sidebar {
- width:200px;
- position:fixed;
- margin-left:250px;
- margin-top:80px;
- }
- #sidebarimage img {
- width:200px;
- {block:ifPictureborder}
- width: 170px;
- background:#fff;
- padding: 14px;
- border: solid 1px {color:border};
- {/block:ifPictureborder}
- }
- #description {
- padding-top: 10px;
- text-align: justify;
- opacity: 1;
- font-family: 'Palatino Linotype', 'Lato', sans-serif;
- font-size: 9px;
- line-height: 180%;
- letter-spacing: 1.5px;
- {block:ifDotsundertitle}
- padding-top:0px;
- {/block:ifDotsundertitle}
- }
- #links {
- width: 200px;
- text-align: center;
- }
- #links a {
- display:inline-block;
- width:8px;
- height:8px;
- background-color: {color:dots};
- border-radius:100%;
- margin: 13px;
- }
- #pagination {
- width:400px;
- {block:if500pxposts}
- width:500px;
- {/block:if500pxposts}
- margin-left:550px;
- padding-top: 5px;
- line-height: 130%;
- text-align:center;
- font-size:10px;
- bottom:0px;
- padding-bottom: 40px;
- color:{color:text};
- letter-spacing: 2px;
- font-weight:bolder;
- font-family: 'Lato', sans-serif;
- -webkit-transition: opacity 0.3s linear;
- -webkit-transition: all 0.3s linear;
- -moz-transition: all 0.3s linear;
- transition: all 0.3s linear;
- }
- #pagination a {
- color:{color:text};
- border-bottom: 1px solid {color:background};
- padding-bottom: 3px;
- opacity: 1;
- -webkit-transition: opacity 0.3s linear;
- -webkit-transition: all 0.3s linear;
- -moz-transition: all 0.3s linear;
- transition: all 0.3s linear;
- }
- #pagination a:hover {
- border-bottom: 1px solid {color:border};
- padding-bottom: 3px;
- opacity: 1;
- -webkit-transition: opacity 0.3s linear;
- -webkit-transition: all 0.3s linear;
- -moz-transition: all 0.3s linear;
- transition: all 0.3s linear;
- }
- #info {
- text-align:center;
- letter-spacing:0.5px;
- margin-top:15px;
- font-family:'lato', sans-serif;
- opacity:1;
- {block:ifInfoonhover}
- opacity:0;
- {block:permalinkpage}
- opacity: 1;
- {/block:permalinkpage}
- {/block:ifInfoonhover}
- -webkit-transition: opacity 0.3s linear;
- -webkit-transition: all 0.3s linear;
- -moz-transition: all 0.3s linear;
- transition: all 0.3s linear;
- }
- .question{
- text-align: center;
- margin-bottom:10px;
- padding: 8px 0px;
- border-bottom: 1px solid {color:border};
- }
- .answer{
- text-align: left;
- }
- .asker a {
- color: {color:text};
- }
- .sources
- {
- filter:alpha(opacity=0);
- opacity:0;
- font-size: 0px;
- }
- #quote {
- font-size:17px;
- font-family:'Lato', sans-serif;
- font-weight: 300;
- letter-spacing: 1.5px;
- line-height:130%;
- text-align: center;
- }
- #cover {
- position: relative;
- z-index: 1;
- height: 80px;
- float:left;
- margin:4px;
- box-shadow:0px 0px 5px {color:shadow};
- }
- #button {
- width:20px;
- height:30px;
- overflow: hidden;
- position: relative;
- z-index: 99;
- margin: 15px 24px 13px 16px;
- }
- #buttons {
- background-color: #fff;
- position: absolute;
- z-index: 99;
- margin-top: 15px;
- margin-left: 15px;
- opacity: 0;
- -webkit-transition: opacity 0.5s linear;
- -webkit-transition: all 0.5s linear;
- -moz-transition: all 0.5s linear;
- -o-transition: all 0.5s linear;
- }
- #post:hover #buttons {
- opacity:0.5;
- }
- #musicinfo {
- margin-left: 110px;
- font-size:10px;
- min-height:70px;
- text-align:left;
- position: relative;
- }
- #notes {
- text-transform: uppercase;
- font-size:12px;
- font-family:'Lato', sans-serif;
- letter-spacing:1.6px;
- font-weight:bolder;
- border-bottom: solid 1px {color:border};
- text-align:left;
- padding-bottom:7px;
- {block:ifShownotesonclick}
- cursor:help!Important;
- {/block:ifShownotesonclick}
- }
- ol.notes {
- padding: 0px;
- margin: 15px 0px;
- list-style-type: none;
- width:400px;
- {block:if500pxposts}
- width:500px;
- {/block:if500pxposts}
- {block:ifShownotesonclick}
- display:none;
- {/block:ifShownotesonclick}
- }
- ol.notes li.note {
- padding: 5px 0px;
- }
- ol.notes li.note img.avatar {
- vertical-align: -8px;
- margin-right: 10px;
- width: 16px;
- height: 16px;
- padding:2px;
- border:1px solid {color:border};
- border-radius: 100%;
- }
- ol.notes li.note .answer_content {
- font-weight: normal;
- }
- ol.notes li.note blockquote {
- padding: 4px 10px;
- margin: 10px 0px 0px 25px;
- }
- ol.notes li.note blockquote a {
- text-decoration: none;
- }
- #credit {
- font-size:12px;
- font-family: Helvetica, sans-serif;
- letter-spacing:1.5px;
- line-height: 100%;
- z-index:99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999;
- position:fixed;
- {block:ifnotCreditontheleft}
- right:-100px;
- {/block:ifnotCreditontheleft}
- {block:ifCreditontheleft}
- left:-100px;
- {/block:ifCreditontheleft}
- bottom:10px;
- transition: all 0.9s linear;
- -webkit-transition: opacity 0.9s linear;
- -webkit-transition: all 0.9s linear;
- -moz-transition: all 0.9s linear;
- }
- #credit a {
- color:{color:text};
- {block:ifnotCreditontheleft}
- margin-left:15px;
- {/block:ifnotCreditontheleft}
- {block:ifCreditontheleft}
- margin-right:18px;
- {/block:ifCreditontheleft}
- transition: all 0.9s linear;
- -webkit-transition: opacity 0.9s linear;
- -webkit-transition: all 0.9s linear;
- -moz-transition: all 0.9s linear;
- }
- #credit:hover {
- {block:ifnotCreditontheleft}
- right:10px;
- {/block:ifnotCreditontheleft}
- {block:ifCreditontheleft}
- left:10px;
- {/block:ifCreditontheleft}
- transition: all 0.9s linear;
- -webkit-transition: opacity 0.9s linear;
- -webkit-transition: all 0.9s linear;
- -moz-transition: all 0.9s linear;
- }
- #tags {
- font-size: 9px;
- margin-top: 5px;
- text-align: center;
- font-weight:400;
- {block:ifTagsonhover}
- opacity: 0;
- {/block:ifTagsonhover}
- font-family: 'lato', sans-serif;
- letter-spacing: 0.5px;
- transition: all 0.3s linear;
- -webkit-transition: opacity 0.3s linear;
- -webkit-transition: all 0.3s linear;
- -moz-transition: all 0.3s linear;
- {block:permalinkpage}
- opacity: 1;
- {/block:permalinkpage}
- }
- #tags a {
- color: {color:text};
- margin-right: 5px;
- }
- #tags a:hover {
- color: {color:link};
- transition: all 0.3s linear;
- -webkit-transition: opacity 0.3s linear;
- -webkit-transition: all 0.3s linear;
- -moz-transition: all 0.3s linear;
- }
- {CustomCSS}</style></head><body>
- <div id="sidebar">
- {block:ifnotDotsundertitle}
- <div id="links">
- <a href="{text:link 1}" onMouseover="ddrivetip('{text:link 1 message}')"; onMouseout="hideddrivetip()"></a>
- <a href="{text:link 2}" onMouseover="ddrivetip('{text:link 2 message}')"; onMouseout="hideddrivetip()"></a>
- <a href="{text:link 3}" onMouseover="ddrivetip('{text:link 3 message}')"; onMouseout="hideddrivetip()"></a>
- <a href="{text:link 4}" onMouseover="ddrivetip('{text:link 4 message}')"; onMouseout="hideddrivetip()"></a>
- <a href="{text:link 5}" onMouseover="ddrivetip('{text:link 5 message}')"; onMouseout="hideddrivetip()"></a>
- </div>
- {/block:ifnotDotsundertitle}
- <div id="sidebarimage"><img src="{image:sidebar}"></div>
- {block:ifShowtitle}<div id="title">{text:title}</div>{/block:ifShowtitle}
- {block:ifDotsundertitle}
- <div id="links">
- <a href="{text:link 1}" onMouseover="ddrivetip('{text:link 1 message}')"; onMouseout="hideddrivetip()"></a>
- <a href="{text:link 2}" onMouseover="ddrivetip('{text:link 2 message}')"; onMouseout="hideddrivetip()"></a>
- <a href="{text:link 3}" onMouseover="ddrivetip('{text:link 3 message}')"; onMouseout="hideddrivetip()"></a>
- <a href="{text:link 4}" onMouseover="ddrivetip('{text:link 4 message}')"; onMouseout="hideddrivetip()"></a>
- <a href="{text:link 5}" onMouseover="ddrivetip('{text:link 5 message}')"; onMouseout="hideddrivetip()"></a>
- </div>{/block:ifDotsundertitle}
- <div id="description">{Description}</div>
- </div>
- <div id="entries">
- <div class="autopagerize_page_element">
- {block:Posts}
- {block:ContentSource}
- <!--{SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
- width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
- {/block:SourceLogo}
- {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo}-->
- {/block:ContentSource}{block:ReblogParent}{/block:ReblogParent}
- <div id="post">
- {block:Text}<span class="textp"><h1>{block:Title}{Title}{/block:Title}</h1><div class="text">{Body}</div></span>{/block:Text}
- <span class="photos">
- {block:ifnot500pxposts}
- {block:Photo}{LinkOpenTag}<center><img src="{PhotoURL-400}"></center>{LinkCloseTag}{block:Caption}<div class="text">{Caption}</div>{/block:Caption}{/block:Photo}
- {/block:ifnot500pxposts}
- {block:if500pxposts}
- {block:Photo}{LinkOpenTag}<center><img src="{PhotoURL-500}"></center>{LinkCloseTag}{block:Caption}<div class="text">{Caption}</div>{/block:Caption}{/block:Photo}
- {/block:if500pxposts}
- {block:ifnot500pxposts}
- {block:Photoset}{Photoset-400}{block:Caption}<div class="text">{Caption}</div>{/block:Caption}{/block:Photoset}
- {/block:ifnot500pxposts}
- {block:if500pxposts}
- {block:Photoset}{Photoset-500}{block:Caption}<div class="text">{Caption}</div>{/block:Caption}{/block:Photoset}
- {/block:if500pxposts}
- </span>
- {block:Quote}{block:Source}<b><div style="font-family: courier new; font-size: 13px; text-align: center;">{Source}</div><br><br></b>{/block:Source}<div id="quote">"{Quote}"</div>{/block:Quote}
- {block:Link}<h1><a href="{URL}" {Target}>{Name}</a></h1>{block:Description}<div class="text">{Description}</div>{/block:Description}{/block:Link}
- {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}
- {block:Audio}
- <div id="buttons"><div id="button">{block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}</div></div>
- {block:AlbumArt}<img src="{AlbumArtURL}" id="cover">{/block:AlbumArt}
- <div id="musicinfo">
- {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>
- {block:Artist}by {Artist}{/block:Artist}<br><br>
- {block:PlayCount}►played {PlayCount} times{/block:PlayCount}
- </div>
- <div style="margin-top:23px;">{block:caption}<div class="text">{Caption}</div>{/block:caption}</div>
- {/block:Audio}
- {block:ifnot500pxposts}
- {block:Video}{Video-400}{block:Caption}<div class="text">{Caption}</div>{/block:Caption}{/block:Video}
- {/block:ifnot500pxposts}
- {block:if500pxposts}
- {block:Video}{Video-500}{block:Caption}<div class="text">{Caption}</div>{/block:Caption}{/block:Video}
- {/block:if500pxposts}
- {block:Answer}
- <div class="question" style="margin-bottom:-3px;"><span class="asker"><b>{Asker}</b></span>: {Question}</div><div class="answer" class="text">{Answer}</div>{/block:Answer}
- <div id="info">
- <span style="padding-top: 3px;">{block:Date}{DayOfMonthWithZero} . {MonthNumberWithZero} . {ShortYear}{/block:Date} (<span style="color:#e17e66;">♥</span><a href="{Permalink}">{NoteCount}</a>) </span>
- {block:ifShowviaandsource}
- {block:RebloggedFrom}<a href="{ReblogParentURL}" style="font-size:8px; text-transform:uppercase;">via</a> / {/block:RebloggedFrom}{block:ContentSource}<a href="{SourceURL}" style="font-size:10px; text-transform:uppercase; font-family:sans-serif; vertical-align:-0.5px;">©</a>{/block:ContentSource}
- {/block:ifShowviaandsource}
- </div>
- <div id="tags">{block:HasTags}{block:Tags}<a href="{TagURL}">#{Tag}</a>{/block:Tags}{/block:HasTags}</div>
- </div>
- {block:PostNotes}
- <div id="notes">notes</div>
- {PostNotes}
- {/block:PostNotes}
- {/block:Posts}</div></div>
- {block:IfNotInfiniteScroll}
- <div id="pagination">
- {block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">GO BACK</a>{/block:PreviousPage} -
- {block:NextPage}<a href="{NextPage}">PROCEED</a>{/block:NextPage}{/block:Pagination}
- </div>
- {/block:IfNotInfiniteScroll}
- {block:ifnotCreditontheleft}
- <div id="credit" style="font-size:14px">©<a href="http://castiiel.tumblr.com" style="font-size:7px; text-transform: uppercase;">theme by castiiel</a></div>
- {/block:ifnotCreditontheleft}
- {block:ifCreditontheleft}
- <div id="credit" style="font-size:14px"><a href="http://castiiel.tumblr.com" style="font-size:7px; text-transform: uppercase;">theme by castiiel</a>©</div>
- {/block:ifCreditontheleft}
- </div>
- {block:ifInfinitescroll}
- {block:NextPage}<div id="page-nav"><a href="{NextPage}"></a></div>{/block:NextPage}
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
- <script type="text/javascript" src="http://static.tumblr.com/bswe8t6/UFVlryaq2/jquerymsnryv2.js"></script>
- <script type="text/javascript">
- $wall.infinitescroll({
- navSelector : '#page-nav',
- nextSelector : '#page-nav a',
- itemSelector : '#post',
- bufferPx : 2000,
- debug : false,
- errorCallback: function() {
- $('#infscr-loading').fadeOut('normal');
- }},
- function( newElements ) {
- var $newElems = $( newElements );
- $newElems.hide();
- $newElems.imagesLoaded(function(){
- $wall.masonry( 'appended', $newElems,{isAnimated: false}, function(){$newElems.fadeIn('slow');} );
- });
- }); $('#entries').show(500);
- });
- </script>
- {/block:ifInfinitescroll}
- <div id="dhtmltooltip"></div>
- <script type="text/javascript">
- /***********************************************
- * Cool DHTML tooltip script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
- * This notice MUST stay intact for legal use
- * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
- ***********************************************/
- var offsetxpoint=-60 //Customize x offset of tooltip
- var offsetypoint=20 //Customize y offset of tooltip
- var ie=document.all
- var ns6=document.getElementById && !document.all
- var enabletip=false
- if (ie||ns6)
- var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""
- function ietruebody(){
- return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
- }
- function ddrivetip(thetext, thecolor, thewidth){
- if (ns6||ie){
- if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"
- if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
- tipobj.innerHTML=thetext
- enabletip=true
- return false
- }
- }
- function positiontip(e){
- if (enabletip){
- var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
- var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
- //Find out how close the mouse is to the corner of the window
- var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20
- var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20
- var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000
- //if the horizontal distance isn't enough to accomodate the width of the context menu
- if (rightedge<tipobj.offsetWidth)
- //move the horizontal position of the menu to the left by it's width
- tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth+"px"
- else if (curX<leftedge)
- tipobj.style.left="5px"
- else
- //position the horizontal position of the menu where the mouse is positioned
- tipobj.style.left=curX+offsetxpoint+"px"
- //same concept with the vertical position
- if (bottomedge<tipobj.offsetHeight)
- tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px"
- else
- tipobj.style.top=curY+offsetypoint+"px"
- tipobj.style.visibility="visible"
- }
- }
- function hideddrivetip(){
- if (ns6||ie){
- enabletip=false
- tipobj.style.visibility="hidden"
- tipobj.style.left="-1000px"
- tipobj.style.backgroundColor=''
- tipobj.style.width=''
- }
- }
- document.onmousemove=positiontip
- </script>
- </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement