所以我有了一个新的博客,其中包含一个滑块。(你可以在这里看看:Pc and Internet tutorials blog
正如你在滑块中看到的,实际上没有显示图像,它只是在黑色包装的标题和描述后面的一个白色区域。
关键是在html代码的滑块部分,我想一切都设置正确了。
如果它能提供一些帮助,下面是代码:
<b:if cond='data:blog.pageType != "static_page"'>
<b:if cond='data:blog.pageType != "item"'>
<script type='text/javascript'>
function startGallery() {
var myGallery = new gallery($('myGallery'), {
timed: true,
delay: 6000,
slideInfoZoneOpacity: 0.8,
showCarousel: false,
slideInfoZoneSlide: false
});
}
window.addEvent('domready', startGallery);
</script>
<div class='fullbox_excerpt'>
<div class='fullbox_content'>
<div class='smooth_gallery'>
<div id='myGallery'>
<div class='imageElement'>
<h3>How to increase Facebook likes ?</h3>
<p>Getting likes on your status or picture on Facebook is probably an aim for every Facebook user. How not and everyone seeks that feeling of popularity through having many likes ?
In this tutorial I'll try to guide you step by step on how to increase the number of likes you get on Facebook.</p>
<a class='open' href='http://pc-internet-tutorials.blogspot.com.es/2014/08/how-to-get-facebook-likes.html' title='Get mroe Faceebook likes'/>
<img alt='get facebook likes on your picture' class='full' HEIGHT="50" WIDTH="50" src='http://1.bp.blogspot.com/-xTwClUYen3A/U_Hsap6QBdI/AAAAAAAAAMc/IGbxs0gIiz8/s1600/how-to-get-more-likes-facebook.jpg'/>
</div>
</div>
</div>
</div>
</div></b:if></b:if>http://pastebin.com/h2mkuHQT (这是一个链接,因为在这个网站上它会被修改)
正如你看到的图片的urL,你可以在粘贴链接中找到工作,静止的图片没有显示。
关于如何解决这个问题,有什么建议吗?
提前感谢
发布于 2014-08-21 15:42:12
您有一个未关闭的<a>标记,它应该是导致问题的原因。
更新为:
<div class="imageElement">
<h3>How to increase Facebook likes ?</h3>
<p>Getting likes on your status or picture on Facebook is probably an aim for every Facebook user. How not and everyone seeks that feeling of popularity through having many likes ?
In this tutorial I'll try to guide you step by step on how to increase the number of likes you get on Facebook.</p>
<a class="open" href="http://pc-internet-tutorials.blogspot.com.es/2014/08/how-to-get-facebook-likes.html" title="Get mroe Faceebook likes">
<img alt="get facebook likes on your picture" class="full" HEIGHT="50" WIDTH="50" src="http://1.bp.blogspot.com/-xTwClUYen3A/U_Hsap6QBdI/AAAAAAAAAMc/IGbxs0gIiz8/s1600/how-to-get-more-likes-facebook.jpg"/>
</a>
</div>我相信这会解决你的问题。
如果您希望使用图片(<img>)作为锚链,则不应使用自封闭的<a>标签。
发布于 2014-08-21 20:31:24
好吧,我问过一个朋友,然后问题是在CSS中我必须添加一些代码,因为目前图片就在那里,就在滑块下面。
在标签之前添加这个解决了这个问题:
<style>div.slideElement { top: 0px; }</style>无论哪种方式都要感谢您:)
https://stackoverflow.com/questions/25413256
复制相似问题