Html ';Permalinks';仅在Tumblr博客的左侧工作

Html ';Permalinks';仅在Tumblr博客的左侧工作,html,css,tumblr,Html,Css,Tumblr,这几天来我一直在努力解决这个问题,但一点运气都没有。permalinks只处理我博客左侧的照片帖子(无论它们是照片帖子还是转载博客),我不知道为什么,我需要所有照片帖子和转载博客(照片)都是permalinks 非常感谢您的帮助。非常感谢 以下是博客: 下面是代码: 你还需要什么,就问吧 <html> <head> <title>{Title}</title> <link rel="shortcut icon" href="{

这几天来我一直在努力解决这个问题,但一点运气都没有。permalinks只处理我博客左侧的照片帖子(无论它们是照片帖子还是转载博客),我不知道为什么,我需要所有照片帖子和转载博客(照片)都是permalinks

非常感谢您的帮助。非常感谢

以下是博客:

下面是代码:

你还需要什么,就问吧

<html>
<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}
<link href='http://static.tumblr.com/twte3d7/DHIm5wmgi/stylesheet.css' rel='stylesheet' type='text/css'>



        <meta name="color:Background" content="#ffffff"/>
        <meta name="color:Text" content="#000000"/>
        <meta name="color:Video Corner Fold" content="red">
        <meta name="font:Font" content="'BrownBold'">
        <meta name="if:Show Captions" content="0"/>
        <meta name="if:Uppercase Links" content="0">
        <meta name="if:Fade On Hover" content="0">
        <meta name="if:Show Tags on Index Page" content="0">
        <meta name="image:header" content="0"/>



<script language=”javascript” type=”text/javascript”>

<!–
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">

#header {
  width: 100%;
  height: 100%;
  background: url('http://static.tumblr.com/e72d71d9df861d718427e82229f48499/yo2ke79/iMEn5bbly/tumblr_static_9kpmrzvkfosoo4o0g8k4g80oc.png')no-repeat;
  position: fixed;
  margin: 15px 50% 0 50%;
  top: 0px;
  left: -300px;
  right: -300px;
  z-index: 4999;

}



body {
background-color:{color:Background};
font-family:{font:Font};
color:{color:Text};
font-size:17px;
line-height:25px;
}



a { 
padding-bottom:2px;
color:{color:Text};
text-decoration:none;
border-bottom:2px solid;
}
img {
border: none;
border : 0;
outline:none;
}
a img {
outline: none;
}
iframe#tumblr_controls {  
display:none;
}
#wrapper {
{block:PermalinkPage}
width:580px;
{/block:PermalinkPage}
position:relative;
margin: 50px auto; 
}
#post {
padding:40px;
}
#post img {
width:100%;
}
#post img:hover {
{block:IndexPage}
{block:IfFadeOnHover}
opacity:0.5;
{/block:IfFadeOnHover}
{/block:IndexPage}
}
#post embed, #post iframe {
width:100% !important;
}
#post .photoset a:first-child {
display:block !important;
border:0 !important;
padding:0 !important;
}
#post .photoset a {
display:none;
}
.title {
width:100%;
text-align:center;
margin:auto;
position:fixed;
top:20px;
z-index:5000;
}
.follow {
position:fixed;
margin: 0px 30% 0 16.3%;
bottom:20px;
z-index:5000;
}
.archive {
position:fixed;
margin: 0px 20px 0 30%;
bottom:20px;
z-index:5000;
}
.message {
position:fixed;
bottom:20px;
left:20px;
z-index:5000;
}
.random {
position:fixed;
margin: 0px 0px 0 60%;
bottom:20px;
z-index:5000;
}
#toTop {
width:100%;
margin: 0px 0px 0 43%;
z-index:5000;
position:fixed;
display:none;
bottom:20px;
cursor:pointer;

}
.player {
background:#000;
}
ul.chat {
list-style-type:none;
padding:0;
margin:0;
}
#infscr-loading {
display:none !important;
}

.corner {
top:6px;
right:40px;
position:absolute;
padding:1em 1.5em;
margin:2em auto;
color:#fff;
overflow:hidden;
z-index:4000;
}
.corner:before {
content:"";
position:absolute;
top:0px;
right:0px;
border-width:0 25px 25px 0;
border-style:solid;
border-color:#fff #fff {color:Video Corner Fold} {color:Video Corner Fold};
background:#fff;
display:block; width:0; /* Firefox 3.0 damage limitation */
}
{CustomCSS}
</style>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="http://static.tumblr.com/twte3d7/4Wjm5wj58/disassemble_v3.js"></script>

<script type="text/javascript">
$(document).ready(function () {

    $(window).scroll(function () {
        if ($(this).scrollTop() > 100) {
            $('#toTop').fadeIn();
        } else {
            $('#toTop').fadeOut();
        }
    });

    $('#toTop').click(function () {
        $("html, body").animate({
            scrollTop: 0
        }, 600);
        return false;
    });

});
</script>
</head>

<body>

<div id="header"></div>

{block:IfUppercaseLinks}<div style="text-transform:uppercase">{/block:IfUppercaseLinks}
<div class="title"><a href="/">{Title}</a></div>
<div class="archive"><a href="archive">Archive</a></div>
<div class="message"><a href="/ask">Message</a></div>
<div class="follow">{block:PermalinkPage}{block:Posts}<a href="{ReblogURL}" target="_blank">Reblog</a> / {/block:Posts}{/block:PermalinkPage}<a href="http://www.tumblr.com/follow/{Name}">Follow</a></div>
<div class="random"><a href="/random">Random</a></div>
<div id="toTop">Back to top</div>
{block:IfUppercaseLinks}</div>{/block:IfUppercaseLinks}




<div id="wrapper">

{block:Posts}
<div id="post" 
{block:IndexPage}
{block:Post1}style="width:380px"{/block:Post1}
{block:Post2}style="width:410px"{/block:Post2}
{block:Post3}style="width:500px"{/block:Post3}
{block:Post4}style="width:290px"{/block:Post4}
{block:Post5}style="width:320px"{/block:Post5}
{block:Post6}style="width:460px"{/block:Post6}
{block:Post7}style="width:530px"{/block:Post7}
{block:Post8}style="width:280px"{/block:Post8}
{block:Post9}style="width:340px"{/block:Post9}
{block:Post10}style="width:400px"{/block:Post10}
{block:Post11}style="width:260px"{/block:Post11}
{block:Post12}style="width:370px"{/block:Post12}
{block:Post13}style="width:520px"{/block:Post13}
{block:Post14}style="width:310px"{/block:Post14}
{block:Post15}style="width:250px"{/block:Post15}
{/block:IndexPage}
{block:PermalinkPage}style="width:500px"{/block:PermalinkPage}
> 




{block:Text}
{block:Title}<a href="{Permalink}">{Title}</a>{/block:Title}
{Body}
{/block:Text}

{block:Link}
<a href="{URL}" class="link" {Target}>{Name}</a>
{block:Description}<div class="description">{Description}</div>{/block:Description}
{/block:Link}

{block:Quote}
<a style="border:0 !important" href="{Permalink}">"{Quote}"</a>
{block:Source}
<p>&mdash; {Source}</p>
{/block:Source}
{/block:Quote}





{block:Photo}
{block:IndexPage}<a href="{Permalink}"><div style="border:none"><img src="{PhotoURL-HighRes}"  alt="{PhotoAlt}" border="0"></div></a>{/block:IndexPage}


{block:PermalinkPage}{LinkOpenTag}<div style="border:none"><img src="{PhotoURL-500}" alt="{PhotoAlt}"/></div>{LinkCloseTag}{/block:PermalinkPage}

{block:IndexPage}{block:IfShowCaptions}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:IfShowCaptions}{/block:IndexPage}
{block:PermalinkPage}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:PermalinkPage}
{/block:Photo}




{block:Chat}
{block:Title}<h2>{Title}</h2>{/block:Title}
<ul class="chat">{block:Lines}<li class="user_{UserNumber}">{block:Label}<span class="label">{Label}</span>{/block:Label} {Line}</li>{/block:Lines}</ul>
{/block:Chat}

{block:Video}
{block:IndexPage}<a href="{Permalink}"><div class="corner"></div></a>{/block:IndexPage}
<div id="video"> 
{Video-500}
</div>
{block:IndexPage}{block:IfShowCaptions}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:IfShowCaptions}{/block:IndexPage}
{block:PermalinkPage}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:PermalinkPage}
{/block:Video}

{block:Photoset}
{block:IndexPage}<div class="photoset">{block:Photos}<a href="{Permalink}"><img src="{PhotoURL-HighRes}"></a>{/block:Photos}</div>{/block:IndexPage}
{block:PermalinkPage}{Photoset-500}{/block:PermalinkPage}
{block:IndexPage}{block:IfShowCaptions}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:IfShowCaptions}{/block:IndexPage}
{block:PermalinkPage}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:PermalinkPage}
{/block:Photoset}

{block:Audio}
{block:AlbumArt}<a href="{Permalink}"><img src="{AlbumArtURL}"></a>{/block:AlbumArt}
<div class="player">{AudioPlayerBlack}</div>
{block:IndexPage}{block:IfShowCaptions}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:IfShowCaptions}{/block:IndexPage}
{block:PermalinkPage}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:PermalinkPage}
{/block:Audio}

{block:IfShowTagsOnIndexPage}{block:IndexPage}{block:Date}Posted {TimeAgo} and has {NoteCountWithLabel}{block:HasTags}<br>{block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}{/block:HasTags}{/block:Date}{/block:IndexPage}{/block:IfShowTagsOnIndexPage}{block:PermalinkPage}{block:Date}Posted {TimeAgo} and has {NoteCountWithLabel}{block:HasTags}<br>{block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}{/block:HasTags}{/block:Date}{/block:PermalinkPage}

</div>
{/block:Posts}

{block:NextPage}<div id="page-nav"><a href="{NextPage}"></a>{/block:NextPage}

</div>

</body>
</html>

{Title}
{块:描述}
{/block:Description}
#标题{
宽度:100%;
身高:100%;
背景:url('http://static.tumblr.com/e72d71d9df861d718427e82229f48499/yo2ke79/iMEn5bbly/tumblr_static_9kpmrzvkfosoo4o0g8k4g80oc.png")不重复;;
位置:固定;
利润率:15px50%050%;
顶部:0px;
左:-300px;
右:-300px;
z指数:4999;
}
身体{
背景色:{color:background};
字体系列:{font:font};
颜色:{color:Text};
字号:17px;
线高:25px;
}
a{
垫底:2件;
颜色:{color:Text};
文字装饰:无;
边框底部:2倍实心;
}
img{
边界:无;
边界:0;
大纲:无;
}
img{
大纲:无;
}
iframe#tumblru控件{
显示:无;
}
#包装纸{
{block:PermalinkPage}
宽度:580px;
{/block:PermalinkPage}
位置:相对位置;
保证金:50px自动;
}
#职位{
填充:40px;
}
#后img{
宽度:100%;
}
#后img:悬停{
{block:IndexPage}
{block:IfFadeOnHover}
不透明度:0.5;
{/block:IfFadeOnHover}
{/block:IndexPage}
}
#后嵌入,#后iframe{
宽度:100%!重要;
}
#照片a:第一个孩子{
显示:块!重要;
边界:0!重要;
填充:0!重要;
}
#后期影印{
显示:无;
}
.头衔{
宽度:100%;
文本对齐:居中;
保证金:自动;
位置:固定;
顶部:20px;
z指数:5000;
}
.跟随{
位置:固定;
利润率:0px30%016.3%;
底部:20px;
z指数:5000;
}
.档案{
位置:固定;
利润率:0px 20px 0 30%;
底部:20px;
z指数:5000;
}
.留言{
位置:固定;
底部:20px;
左:20px;
z指数:5000;
}
.随机的{
位置:固定;
利润率:0px 0px 0 60%;
底部:20px;
z指数:5000;
}
#托普{
宽度:100%;
利润率:0px 0px 0 43%;
z指数:5000;
位置:固定;
显示:无;
底部:20px;
光标:指针;
}
.玩家{
背景:#000;
}
聊天室{
列表样式类型:无;
填充:0;
保证金:0;
}
#infscr加载{
显示:无!重要;
}
.拐角处{
顶部:6px;
右:40px;
位置:绝对位置;
填充物:1em 1.5em;
利润率:2米自动;
颜色:#fff;
溢出:隐藏;
z指数:4000;
}
.角落:以前{
内容:“;
位置:绝对位置;
顶部:0px;
右:0px;
边框宽度:0 25px 25px 0;
边框样式:实心;
边框颜色:#fff#fff{color:Video Corner Fold}{color:Video Corner Fold};
背景:#fff;
显示:块;宽度:0;/*Firefox 3.0损害限制*/
}
{CustomCSS}
$(文档).ready(函数(){
$(窗口)。滚动(函数(){
如果($(this).scrollTop()>100){
$('#toTop').fadeIn();
}否则{
$('#toTop').fadeOut();
}
});
$('#toTop')。单击(函数(){
$(“html,body”).animate({
滚动顶部:0
}, 600);
返回false;
});
});
{block:IfUppercaseLinks}{/block:IfUppercaseLinks}
{block:PermalinkPage}{block:Posts}/{/block:Posts}{/block:PermalinkPage}
回到顶端
{block:IfUppercaseLinks}{/block:IfUppercaseLinks}
{block:Posts}
{block:Text}
{block:Title}{/block:Title}
{Body}
{/block:Text}
{块:链接}
{block:Description}{Description}{/block:Description}
{/block:Link}
{block:Quote}
{block:Source}
&mdash;{Source}

{/block:Source} {/block:Quote} {块:照片} {block:IndexPage}{/block:IndexPage} {block:PermalinkPage}{LinkOpenTag}{LinkCloseTag}{/block:PermalinkPage} {block:IndexPage}{block:IfShowCaptions}{block:Caption}{Caption}{/block:Caption}{/block:IfShowCaptions}{/block:IndexPage} {block:PermalinkPage}{block:Caption}{Caption}{/block:Caption}{/block:PermalinkPage} {/block:Photo} {block:Chat} {block:Title}{Title}{/block:Title}
    {block:Lines}
  • {block:Label}{Label}{/block:Label}{Line}
  • {/block:Lines}
{/block:Chat} {块:视频} {block:IndexPage}{/block:IndexPage} {Video-500} {block:IndexPage}{block:IfShowCaptions}{block:Caption}{Caption}{/block:Caption}{/block:IfShowCaptions}{/block:IndexPage} {block:PermalinkPage}{block:Caption}{Caption}{/block:Caption}{/block:PermalinkPage} {/块:视频} {块:Photoset} {block:IndexPage}{block:Photos}{/block:Photos}{/block:IndexPage} {block:PermalinkPage}{Photoset-500}{/block:PermalinkPage} {block:IndexPage}{block:IfShowCaptions}{block:Caption}{Caption}{/block:Caption}{/block:IfShowCaptions}{/block:IndexPage} {block:PermalinkPage}{block:Caption}{Caption}{/block:Caption}{/block:PermalinkPage} {/block:Photoset} {块:音频} {block:AlbumArt}{/block:AlbumArt} {AudioPlayerBlack} {block:IndexPage}{block:IfShowCaptions}{block:Caption}{Caption}{/block:Caption}{/block:IfShowCaptions}{/block:IndexPage} {block:PermalinkPage}{block:Caption}{Caption}{/block:Caption}{/block:PermalinkPage} {/block:Audio} {block:IfShowTagsOnIndexPage}{block:IndexPage}{block:Date}Posted{TimeAgo}和has{NoteCountWithLabel}{block:HasTags}
{block:Tags}{/block:HasTags}{/block:Date}{/block:IndexPage}{/block:IfShowTagsOnIndexPage}{block:PermalinkPage}{block:Date Posted TimeAgo}{/block:Tags}{{/block:HasTags}{/block:Date}{/block:PermalinkPage} {/block:Posts} {block:NextPage}{/block:NextPage}
已解决。我的div容器覆盖了整个中间和右侧网格,因为z索引设置为顶层,所以我收紧了div容器。谢谢

已解决。我的div容器覆盖了整个中间和右侧网格,因为z索引设置为顶层,所以我收紧了div容器。谢谢od作业!将其添加为解决方案并接受您的答案!:D