Blogger中的滑块HTML问题

时间:2014-08-20 19:48:59

标签: html slider blogger

所以我有我的这个新博客,其中包含一个滑块。 (你可以看看这里:Pc and Internet tutorials blog

正如您在滑块中看到的那样,实际上没有显示图像,它只是标题后面的白色区域和黑色包装中的描述。

事情是在html代码的滑块部分,一切都设置正确我猜

以下是代码,如果它可以提供一些帮助:

<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<b:if cond='data:blog.pageType != &quot;item&quot;'>

<script type='text/javascript'>
function startGallery() {
    var myGallery = new gallery($(&#39;myGallery&#39;), {
    timed: true,
    delay: 6000,
    slideInfoZoneOpacity: 0.8,
    showCarousel: false,
    slideInfoZoneSlide: false
});
}
window.addEvent(&#39;domready&#39;, 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&#39;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你可以在pastebin链接中找到工作时,仍然没有显示图片。

有关如何解决此问题的任何提示?

提前致谢

2 个答案:

答案 0 :(得分:0)

您有一个未公开的<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>

我相信这会对你的问题有所帮助。

如果您想使用图片(<a>)作为锚链接,则不应使用自闭<img>标记。

答案 1 :(得分:0)

好吧,我问了一个朋友,然后问题是在CSS中我必须添加一些代码,因为目前图片就在那里,就在滑块下面。

在标签解决问题之前添加此内容:

<style>div.slideElement { top: 0px; }</style>

谢谢你们两种方式:)