Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <head>
- <script type="text/javascript"
- src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
- <script>
- $(document).ready(function() {
- //
- $('a.poplight[href^=#]').click(function() {
- var popID = $(this).attr('rel'); //Get Popup Name
- var popURL = $(this).attr('href'); //Get Popup href to define size
- var query= popURL.split('?');
- var dim= query[1].split('&');
- var popWidth = dim[0].split('=')[1]; //Gets the first query string value
- $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"> </a>');
- var popMargTop = ($('#' + popID).height() + 80) / 2;
- var popMargLeft = ($('#' + popID).width() + 80) / 2;
- //Apply Margin to Popup
- $('#' + popID).css({
- 'margin-top' : -popMargTop,
- 'margin-left' : -popMargLeft
- });
- $('body').append('<div id="fade"></div>');
- $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
- return false;
- });
- $('a.close, #fade').live('click', function() {
- $('#fade , .popup_block').fadeOut(function() {
- $('#fade, a.close').remove(); //fade them both out
- });
- return false;
- });
- });
- </script>
- <!--
- theme by anne @ danceforyous
- (you will be atacked by zombies if you steal
- and believe me, it's not cool.)
- -->
- <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}
- <!--- DEFAULTS --->
- <meta name="color:Background" content="#ffffff"/>
- <meta name="color:Text" content="#838282"/>
- <meta name="color:Link" content="#000">
- <meta name="color:Link Hover" content="#b8b8b8"/>
- <meta name="color:Scrollbar" content="#e7e3e4" />
- <meta name="image:sidebar" content=""/>
- <meta name="text:Link1 Title" content="link1" />
- <meta name="text:Link1" content="/" />
- <meta name="text:Link2 Title" content="link2" />
- <meta name="text:Link2" content="/" />
- <meta name="text:Link3 Title" content="link3" />
- <meta name="text:Link3" content="/" />
- <style type="text/css">
- #fade { /*--Transparent background layer--*/
- display: none; /*--hidden by default--*/
- background: #000;
- position: fixed; left: 0; top: 0;
- width: 100%; height: 100%;
- opacity: .80;
- z-index: 9999;
- }
- .popup_block{
- display: none; /*--hidden by default--*/
- background: #fcfbf8;
- padding: 10px;
- border: 5px solid #e8e8e8;
- float: left;
- font-size: 10;
- position: fixed;
- top: 50%; left: 50%;
- z-index: 99999;
- /*--CSS3 Box Shadows--*/
- -webkit-box-shadow: 0px 0px 20px #000;
- -moz-box-shadow: 0px 0px 20px #000;
- box-shadow: 0px 0px 20px #000;
- /*--CSS3 Rounded Corners--*/
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- border-radius: 5px;
- }
- img.btn_close {
- float: right;
- margin: -20 -20px 0 0;
- }
- /*--Making IE6 Understand Fixed Positioning--*/
- *html #fade {
- position: absolute;
- }
- *html .popup_block {
- position: absolute;
- }
- /* scrolly */
- ::-webkit-scrollbar{height: 9px; width: 6px; -webkit-border-radius: 0px; background-color:{color:background};}
- ::-webkit-scrollbar-thumb{background-color:{color:scrollbar};}
- ::-webkit-scrollbar-track{background-color:{color:background};}
- body {
- background:{color:background};
- color:{color:text};
- font-family:calibri;
- font-size:10px;
- line-height:100%;
- }
- a:link, a:active, a:visited { color: {color:link}; text-decoration:none;}
- a:hover {color:{color:link hover};
- text-decoration:underline;
- letter-spacing:2px;
- transition:all 0.4s ease-in-out;
- -webkit-transition: all 0.4s ease-in-out;
- -moz-transition: all 0.4s ease-in-out;
- -ms-transition: all 0.4s ease-in-out;
- -o-transition: all 0.4s ease-in-out;
- }
- a {
- text-decoration:none;
- outline:none;
- -moz-outline-style:none;
- color:{color:link};
- }
- img {
- border:none;
- }
- blockquote {
- padding-left:5px;
- border-left:2px solid;
- }
- blockquote blockquote {
- padding-left:5px;
- border-left:2px solid;
- }
- h1 {
- font-size:15px;
- }
- #entries {
- padding:10px;
- width:500px;
- margin-left:500px;
- margin-top:40px;
- }
- #title {
- font-size:19px;
- text-align:right;
- margin-right:90px;
- margin-bottom:5px;
- margin-top:5px;
- font-family:freestyle script;
- }
- #sidebar {
- width:220px;
- position:fixed;
- margin-left:130px;
- margin-top:100px;
- }
- #sidebarimage {
- width:125px;
- opacity:1;
- -moz-transition-duration:0.5s;
- -webkit-transition-duration:0.5s;
- -o-transition-duration:0.5s;
- }
- #sidebarimage img {
- width:125px;
- border:double #eee;
- padding:3px;
- }
- #sidebarimage img:hover {
- opacity:0.75;
- -moz-transition-duration:0.5s;
- -webkit-transition-duration:0.5s;
- -o-transition-duration:0.5s;
- }
- .sidelinks {
- color:{color:Link};
- width:200px;
- font-family:consolas;
- font-size:9px;
- font-weight:normal;
- text-transform:uppercase;
- margin-left:155px;
- margin-top:-90px;
- float:left;
- position:fixed;
- display:block;
- text-align:center;
- }
- #description {
- font-family:trebuchet MS;
- font-size:9px;
- border-top: 1px #eee solid;
- text-align: center;
- margin-top:-70px;
- margin-left:155px;
- padding:10px;
- width:180px;
- }
- #pagination {
- font-size:15px;
- font-style:italic;
- text-align:right;
- margin-right:-120px;
- margin-top:-7px;
- }
- #post {
- width:500px;
- margin-top:15px;
- padding-bottom:10px;
- }
- #pinfo {
- text-align:left;
- margin-top:10px;
- border-top:1px solid #adadad;
- padding:7px;
- }
- #asker {
- float:left;
- margin-right:5px;
- }
- #crdt {
- font-size:10px;
- font-family:trebuchet MS;
- text-transform:lowercase;
- bottom:10px;
- right:-8px;
- position:fixed;
- border-left:1px solid #e9e9e9;
- border-top:1px solid #e9e9e9;
- border-right:1px solid #e9e9e9;
- border-bottom:1px solid #e9e9e9;
- padding:5px;
- width:10px;
- -webkit-transition: opacity 0.6s linear;opacity: 1;-webkit-transition: all 0.5s ease-in; -moz-transition: all 0.5s ease-in;transition: all 0.5s ease-in;
- }
- #crdt:hover{
- width:30px;
- -webkit-transition: opacity 0.6s linear;opacity: 1;-webkit-transition: all 0.5s ease-in; -moz-transition: all 0.5s ease-in;transition: all 0.5s ease-in;
- }
- {CustomCSS}</style></head><body>
- <div>
- <div id="sidebar">
- <div id="title">{Title}</div>
- <div id="sidebarimage"><img src="{image:sidebar}"></div>
- <div class="sidelinks">
- <a href="/">home</a>
- <a href="#?w=500" rel="02" class="poplight">ask</a>
- <a href="{text:link1}">{text:link1 title}</a>
- <a href="{text:link2}">{text:link2 title}</a>
- <a href="{text:link3}">{text:link3 title}</a>
- </div>
- <div id="description">{Description} </div>
- <div id="pagination">
- {block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">«</a>{/block:PreviousPage}
- {block:NextPage}<a href="{NextPage}">»</a>{/block:NextPage}{/block:Pagination} </div>
- </div>
- <div id="entries">{block:Posts}<div id="post">
- {block:Text}<h1>{block:Title}{Title}{/block:Title}</h1>{Body}{/block:Text}
- {block:Link}<h1><a href="{URL}" {Target}>{Name}</a></h1>{block:Description}{Description}{/block:Description}{/block:Link}
- {block:Photoset}{Photoset-500}{block:Caption}{Caption}{/block:Caption}{/block:Photoset}
- {block:Photo}{LinkOpenTag}<img src="{PhotoURL-500}">{LinkCloseTag}{block:Caption}{Caption}{/block:Caption}{/block:Photo}
- {block:Quote}{Quote}{block:Source} —{Source}{/block:Source}{/block:Quote}
- {block:Answer}<div id="asker"><img src="{AskerPortraitURL-24}"></div>{Asker}:<br>{Question}<br>{Answer}{/block:Answer}
- {block:Chat}{block:Title}<h1>{Title}</h1>{/block:Title}{block:Lines}{block:Label}<b>{Label}</b>{/block:Label} {Line}<br>{/block:Lines}{/block:Chat}
- {block:Audio}{AudioPlayerWhite}{block:Caption}{Caption}{/block:Caption}{/block:Audio}
- {block:Video}{VideoEmbed-500}{block:Caption}{Caption}{/block:Caption}{/block:Video}
- <div id="pinfo">
- {block:Date}posted {TimeAgo}{/block:Date} - <a href="{Permalink}">
- {NoteCountWithLabel}</a>{block:RebloggedFrom}<br>via; <a href="{ReblogParentURL}" title="{ReblogParentTitle}">{ReblogParentName}</a>
- | originally; <a href="{ReblogRootURL}"title="{ReblogRoottitle}">{ReblogRootName}</a> - <a href="{ReblogURL}" target="_blank">reblog</a>
- {/block:RebloggedFrom}<br> {block:HasTags}{block:Tags} #<a href="{TagURL}">{Tag}</a>{/block:Tags}{/block:HasTags}</div>
- {block:PostNotes}{PostNotes}{/block:PostNotes}
- {/block:Posts}</div>
- <div id="crdt"><a href="http://www.danceforyous.tumblr.com/themage" target="_blank">©</a> </div>
- </body>
- <div id="02" class="popup_block">
- <Center><iframe frameborder="0" scrolling="yes" width="100%" height="150" src="http://www.tumblr.com/ask_form/INSERTURLHERE.tumblr.com" style="background-color:transparent; overflow:hidden;" id="ask_form">
- </center></div>
- </div></div></div></div></div></div></div></div></div></div>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment