The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Need help with tumblr theme
castrating bitch
post Jun 29 2012, 03:19 PM
Post #1





Group: Members
Posts: 2
Joined: 29-June 12
Member No.: 17,353



I've been customizing this theme for awhile and I finally have it almost to my liking: http://castrating-*beep*.tumblr.com The only problem I have now is that quotes and text are published twice in photoset posts. Example: http://castrating-*beep*.tumblr.com/post/26152787860

Any idea what could be wrong?

Here is the coding for the layout:

CODE
<html>
<head>
<title>The Castrating *beep*</title>
<script type="text/javascript">

/***********************************************
* Disable select-text script- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

//form tags to omit in NS6+:
var omitformtags=["input", "textarea", "select"]

omitformtags=omitformtags.join("|")

function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}

function reEnable(){
return true
}

if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}

</script>

<script language=JavaScript>
<!--
//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http://www.dynamicdrive.com
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script>

<style type="text/css">
#navbar-iframe {height:0px; visibility:hidden; display:none;}
::-webkit-scrollbar
{height:5px;width:15px; background:#F8E9D6;}
::-webkit-scrollbar-thumb{    
background:#F3B3A7;border:0px solid #F8E9D6;-webkit-border-radius:5ex;-webkit-box-shadow:0px 0px 0px rgba(0,0,0,0.75)}
::-webkit-scrollbar-corner{background: transparent;}
body{color:#666; background: #F8E9D6; font-family: arial; font-size:8pt;}
A:link, A:visited, A:active{color: #666666; text-decoration:none;}
A:hover{color: #444444;}

.headers{text-align:left; line-height:40%; font-family:georgia italic; font-size:15pt; letter-spacing:-2pt; color: #666;}
.pink{background:#F3B3A7; padding:5px; -webkit-border-radius:3px; -moz-border-radius:3px; box-shadow:0px 0px 10px #F3B3A7; -webkit-box-shadow:0px 0px 10px #F3B3A7; -moz-box-shadow:0px 0px 10px #F3B3A7;}
.lightpink{background:#EFCCB7; padding:5px; -webkit-border-radius:3px; -moz-border-radius:3px; box-shadow:0px 0px 10px #EFCCB7; -webkit-box-shadow:0px 0px 10px #EFCCB7; -moz-box-shadow:0px 0px 10px #EFCCB7;}
.lightgreen{background:#E1DBBF; padding:5px; -webkit-border-radius:3px; -moz-border-radius:3px; box-shadow:0px 0px 10px #E1DBBF; -webkit-box-shadow:0px 0px 10px #E1DBBF; -moz-box-shadow:0px 0px 10px #E1DBBF;}
.green{background:#C3C9A0; padding:5px; -webkit-border-radius:3px; -moz-border-radius:3px; box-shadow:0px 0px 10px #C3C9A0; -webkit-box-shadow:0px 0px 10px #C3C9A0; -moz-box-shadow:0px 0px 10px #C3C9A0;}
.page {font-family:georgia;font-size:12px;font-weight:bold;letter-spacing:-1px;line-height:10px;color:#555555;}

b { font: 7pt helvetica; color: #f3907d; text-transform: uppercase; letter-spacing: 1px; font-weight: bold; }
i { font: 7pt helvetica; color: #9da66b; text-transform: uppercase; letter-spacing: 1px; font-style: italic; }

.title{text-align:right; color:#666; font-size:15pt; font-family: georgia italic; text-transform: none; letter-spacing: -1pt;}
.date{text-align:right; color:#666; background-color:#EFCCB7; font-size:7pt; font-family: georgia; letter-spacing: -1pt; text-transform: uppercase;}
blockquote{color:#666; background:#EFCCB7; padding:5px; -webkit-transition:.4s; -webkit-border-radius:5px; -moz-border-radius:5px; -moz-border-radius:3px; box-shadow:0px 0px 10px #EFCCB7; -webkit-box-shadow:0px 0px 10px #EFCCB7; -moz-box-shadow:0px 0px 10px #EFCCB7;}
blockquote:first-letter{font-family:georgia; font-size:20px; font-style:italic; font-weight:bold;}
blockquote:hover{color:#666; background:#e8c3ae; padding:10px; -moz-border-radius:3px; box-shadow:0px 0px 10px #e8c3ae; -webkit-box-shadow:0px 0px 10px #e8c3ae; -moz-box-shadow:0px 0px 10px #e8c3ae;}
i{font-family:georgia;}
u{text-decoration:none; border-bottom:#888 dashed 1px;}
img{padding:5px; -webkit-transition-duration:.2s; border:#d68f84 solid 1px; box-shadow: 0px 0px 20px #d68f84; -webkit-box-shadow: 0px 0px 20px #d68f84; -moz-box-shadow: 0px 0px 20px #d68f84;}
img:hover{filter:alpha(opacity=60);moz-opacity:.60;opacity:.60; cursor:crosshair; padding:5px;}

.nav {
font:normal 11px helvetica;
text-align: center;
background-color:#edccb8;
display: block;
color:#666666;
width: 180px;
border-bottom:1px solid #e8cfc0;
padding: 3px;
}

.navto {
background-color:#edccb8;
display: block;
color:#666666;
width: 180px;
border-bottom:1px solid #e8cfc0;
padding: 3px;
}

.nav:hover{
text-align: center;
color:#444444;
background-color:#ecc4ab;
display: block;
width: 180px;
border-bottom:1px solid #e8cfc0;
padding: 3px;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}

#user_1 .label {color:#666666; font-weight:bold;}
#user_2 .label {color:#666666; font-weight:bold}
.chat .line{background-color: #EFCCB7;margin: 0 0 1px; padding: 2px;}
.chat .line.odd{background-color: #F3B3A7; }

</style>
</head>
<noembed><body></noembed>

<div style="position:absolute;left:370px; top:46px;">
<div style=" width:500px; background:#f4e2cb; padding:8px; -webkit-border-radius:3px; -moz-border-radius:3px; box-shadow:0px 0px 10px #EFCCB7; -webkit-box-shadow:0px 0px 10px #EFCCB7; -moz-box-shadow:0px 0px 10px #EFCCB7;">

<ol id="posts">
            {block:Posts}
            
                {block:Text}
                    
<div id="box"><a href="{Permalink}"><div class="date"><center><a href="{Permalink}">{NoteCountWithLabel}</a> <b>&hearts;</b> <a href="{Permalink}">{TimeAgo}</a> </center></div></div><br>
                        {block:Title}
                         <div class="title">   <p id="posttitle"><a href="{Permalink}">{Title}</a></div></p>
                        {/block:Title}
                        
                        <p>{Body}</p>


                    </li><br>
                {/block:Text}
                
                
                {block:Photo}

<div id="box"><a href="{Permalink}"><div class="date"><center><a href="{Permalink}">{NoteCountWithLabel}</a> <b>&hearts;</b> <a href="{Permalink}">{TimeAgo}</a> </center></div></div><br>
                        {LinkOpenTag}<img src="{PhotoURL-250}"

alt="{PhotoAlt}"/>{LinkCloseTag}
                         {block:Caption}
                            <p>{Caption}</p>
                       {/block:Caption}

                    </li><br>

                {/block:Photo}
                
                {block:Photoset}<div id="box"><a href="{Permalink}"><div class="date"><center><a href="{Permalink}">{NoteCountWithLabel}</a> <b>&hearts;</b> <a href="{Permalink}">{TimeAgo}</a> </center></div></div><br>
                {block:Photoset}{Photoset-400}{block:Caption}{Caption}{/block:Caption}{/block:Photoset}
                
                {block:Quote}
                    
<div id="box"><a href="{Permalink}"><div class="date"><center><a href="{Permalink}">{NoteCountWithLabel}</a> <b>&hearts;</b> <a href="{Permalink}">{TimeAgo}</a> </center></a></div></div><br>
<p class="qcontainer">
                        <span class="quote">“{Quote}”</span>
                        
                        {block:Source}
                            <span class="source"><br><i>{Source}</i></span>
                        {/block:Source}
</p>

                    </li>  <br>
                {/block:Quote}
                
                {block:Link}
                    
<div id="box"><a href="{Permalink}"><div class="date"><center><a href="{Permalink}">{NoteCountWithLabel}</a> <b>&hearts;</b> <a href="{Permalink}">{TimeAgo}</a> </center></a></div><div><br>
                        <p><a href="{URL}" id="postlink" {Target}>{Name}</a></p>
                        
                        {block:Description}
                            <p>{Description}</p>
                        {/block:Description}


                    </li>  <br>

                {/block:Link}
                
{block:Chat}
                <div class="chat"><div id="box"><a href="{Permalink}"><div class="date"><center><a href="{Permalink}">{NoteCountWithLabel}</a> <b>&hearts;</b> <a href="{Permalink}">{TimeAgo}</a> </center></a></div></div><br>
                {block:Lines}<div class="chat"><div class="line {Alt}">
                <div class="{Alt} user_{UserNumber}">
                {block:Label}
                <span class="label"><b>{Label}</b></span>
                {/block:Label}
                {Line}</div>
                </div></div>
                {/block:Lines}
                </div>
                {/block:Chat}
                 <br>

                {block:Video}
                    
<div id="box"><a href="{Permalink}"><div class="date"><center><a href="{Permalink}">{NoteCountWithLabel}</a> <b>&hearts;</b> <a href="{Permalink}">{TimeAgo}</a> </center></a></div></div><br>
                        {Video-250}
                    

                    </li>  <br>

                {/block:Video}
                {block:Audio}
                
<div id="box"><a href="{Permalink}"><div class="date"><center><a href="{Permalink}">{NoteCountWithLabel}</a> <b>&hearts;</b> <a href="{Permalink}">{TimeAgo}</a> </center></a></div></div><br>
                        <p align="center">{AudioPlayerBlack}</p>
                        
                        {block:Caption}
                            <p>{Caption}</p>
                        {/block:Caption}

                    </li>  <br>

                {/block:Audio}

{block:PostNotes}
{PostNotes}
{/block:PostNotes}
            
{/block:Posts}            
{/block:Posts}

        </ol>
<div class="page">
{block:PreviousPage}
                <a href="{PreviousPage}">< Previous</a>
            {/block:PreviousPage}
&hearts;
            {block:NextPage}
                <a href="{NextPage}">Next ></a>
            {/block:NextPage}

</div></div></div>

<div style="padding:5px; position:relative;width:200px; left:140px; top:28px;">
<div class="headers">profile</div></span>
<div class="pink">
<center><img src="http://oi46.tinypic.com/35ce5mv.jpg" style="border:#d68f84 solid 1px; box-shadow: 0px 0px 20px #d68f84; -webkit-box-shadow: 0px 0px 20px #d68f84; -moz-box-shadow: 0px 0px 20px #d68f84;"></center><br>
20-something year old Canadian/Ukrainian college student. Most of my posts relate to education, feminism, sexuality, foodie culture, gender issues, politics, body acceptance, astronomy, and equality. This is a sex positive, body positive, and shame-free space. ♀<br>
</div>
<p>

<div class="headers">navigate</div></span>
<div class="lightpink">
<span class="nav"><a href="/">Home</a></span>
<span class="nav"><a href="/about">About</a></span>
<span class="nav"><a href="/ask">Ask</a></span>
<span class="nav"><a href="/links">Links</a></span>
<span class="nav"><a href="/archive">Archive</a></span>
<span class="nav"><a href="http://last.fm/user/artisteque">Last.fm</a></span>
</div>
<p>

<div class="headers">playlist</div></span>
<div class="lightpink">
&hearts; Feist - Sea Lion Woman<br>
&hearts; Broken Social Scene - Cause = Time<br>
&hearts; Honey is Cool - Early Morning Are You Working<br>
&hearts; Regina – Saanko jäädä yöksi?<br>
&hearts; Fever Ray – Stranger Than Kindness<br>
&hearts; The Knife – Colouring of Pigeons<br>
&hearts; Crystal Castles – Baptism<br>
&hearts; Austra – Beat and the Pulse<br>
&hearts; Metric – Youth Without Youth<br>
&hearts; Death Cab for Cutie - Doors Unlocked and Open
<br>
<div align="right"><a href="http://last.fm/user/artisteque">Artisteque @ Last.fm</a></div>
</div>
<p>

<div class="headers">contact</div></span>
<div class="lightgreen">
<iframe frameborder="0" border="0" scrolling="no" width="175” height="190" allowtransparency="true" src="http://www.tumblr.com/ask_form/castrating-*beep*.tumblr.com" style="background-color:transparent; overflow:hidden;"></iframe>
<br><br>
</div>
<p>

<div class="headers">stats</div></span>
<div class="green">
<!-- Start FreeOnlineUsers.com -->
<a href="http://www.freeonlineusers.com">
<font color=#ff7171><script type="text/javascript" src="http://st2.freeonlineusers.com/on4.php?id=1156421"> </script> Online Users</font></a>
<!-- End FreeOnlineUsers.com --> &hearts; <!-- Start: TraceMyIP.org Code //-->
<script type="text/javascript" src="http://s2.tracemyip.org/tracker/lgUrl.php?stlVar2=1303&amp;rgtype=4684NR-IPIB&amp;pidnVar2=32889&amp;prtVar2=15&amp;scvVar2=12"></script><noscript><a href="http://www.tracemyip.org/" target="_blank"><img src="http://s2.tracemyip.org/tracker/1303/4684NR-IPIB/32889/15/12/ans/" alt="statistics counter" border="0"></a></noscript>
<!-- End: TraceMyIP.org Code //-->
</center><!-- Start of StatCounter Code for Tumblr -->
<script type="text/javascript">
var sc_project=7800961;
var sc_invisible=1;
var sc_security="215ca480";
</script>
<script type="text/javascript"
src="http://www.statcounter.com/counter/counter.js"></script>
<noscript><div class="statcounter"><a title="tumblr site
counter" href="http://statcounter.com/tumblr/"
target="_blank"><img class="statcounter"
src="http://c.statcounter.com/7800961/0/215ca480/1/"
alt="tumblr site counter"></a></div></noscript>
<!-- End of StatCounter Code for Tumblr -->
<br><br>
<center>Theme by <a href="http://thelovenote.blogspot.com">Anna May</a>
</center><br>
<center>All content, both in writing and photos © Copyright 2012 Castrating *beep* All Rights Reserved</center>
</div></div>
</body>
</html>


Thank you!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 03:16 AM