垛庄网图片广告效果怎么加到门户首上?
修正后的:
<script src="dz7/js/jquery-1.4.2.min.js" type="text/javascript"></script>
<scripttype="text/javascript">var jq = jQuery.noConflict(); </script>
<link href="dz7/css/dz7style.css" type="text/css" rel="stylesheet">
<script src="dz7/js/dz7comcn.js" type="text/javascript"></script>
<style>
artist_l img {
width: 120px;
height: 110px;
}
.a1 img {
width: 230px;
height: 345px;
}
.a2 img,.a12 img{
WIDTH: 232px;
height: 232px;
}
.a9 img{
width: 232px;
height: 100px;
}
</style>
<ul class="artist_l" style="height:345px">
<li class="a1"><a href="{url}" target=_blank><IMG src="{pic}" alt="{title}" border="0" title={title}></A> </li>
<li class="a2"><IMG src="{pic}"><a href="{url}" target=_blank><strong>{title}</strong><br/><span>{summary}</span><br/>【立即观看】</A> </li>
<li class="a3"><IMG src="{pic}"><a href="{url}" target=_blank><strong>{title}</strong><br/><span>{summary}</span><br/>【立即观看】</A> </li>
<li class="a4"><IMG src="{pic}"><a href="{url}" target=_blank><strong>{title}</strong><br/><span>{summary}</span><br/>【立即观看】</A> </li>
<li class="a5"><IMG src="{pic}"><a href="{url}" target=_blank><strong>{title}</strong><br/><span>{summary}</span><br/>【立即观看】</A> </li>
<li class="a6"><IMG src="{pic}"><a href="{url}" target=_blank><strong>{title}</strong><br/><span>{summary}</span><br/>【立即观看】</A> </li>
<li class="a7"><IMG src="{pic}"><a href="{url}" target=_blank><strong>{title}</strong><br/><span>{summary}</span><br/>【立即观看】</A> </li>
<li class="a8"><IMG src="{pic}"><a href="{url}" target=_blank><strong>{title}</strong><br/><span>{summary}</span><br/>【立即观看】</A> </li>
<li class="a9"><IMG src="{pic}"><a href="{url}" target=_blank><strong>{title}</strong><br/><span>{summary}</span><br/>【立即观看】</A> </li>
<li class="a10"><IMG src="{pic}"><a href="{url}" target=_blank><strong>{title}</strong><br/><span>{summary}</span><br/>【立即观看】</A> </li>
<li class="a11"><IMG src="{pic}"><a href="{url}" target=_blank><strong>{title}</strong><br/><span>{summary}</span><br/>【立即观看】</A> </li>
<li class="a12"><IMG src="{pic}"><a href="{url}" target=_blank><strong>{title}</strong><br/><span>{summary}</span><br/>【立即观看】</A> </li>
</ul>
更新下这个JS文件测试一下;
还需要注意,如果已经在之前引入过jQuery的话就不需要再次引入!重复引用也会冲突!
技术帮助 发表于 2014-12-18 14:39
将附件解压后,把dz7文件夹放到网站根目录
确保你的网站按照如下路径能够正常访问网站:
会导致DIY按钮失效,可能是JS冲突吧,谢谢,还有就是图片不能指定大小了 曾哥 发表于 2014-12-18 14:42
神速,此坛不火没天理!!!
只要有休息时间就会给你们解决问题 技术帮助 发表于 2014-12-18 14:39
将附件解压后,把dz7文件夹放到网站根目录
确保你的网站按照如下路径能够正常访问网站:
神速,此坛不火没天理!!!:lol 将附件解压后,把dz7文件夹放到网站根目录
确保你的网站按照如下路径能够正常访问网站:
http://你的域名/dz7/js/jquery-1.4.2.min.js
DIY模板如下:
<link href="dz7/css/dz7style.css" type="text/css" rel="stylesheet">
<script src="dz7/js/jquery-1.4.2.min.js" type="text/javascript"></script>
<script src="dz7/js/dz7comcn.js" type="text/javascript"></script>
<ul class="artist_l">
<li class="a1"><a href="{url}" target=_blank><IMG src="{pic}" alt="{title}" border="0" title={title}></A> </li>
<li class="a2"><IMG src="{pic}"><a href="{url}" target=_blank><strong>{title}</strong><br/><span>{summary}</span><br/>【立即观看】</A> </li>
<li class="a3"><IMG src="{pic}"><a href="{url}" target=_blank><strong>{title}</strong><br/><span>{summary}</span><br/>【立即观看】</A> </li>
<li class="a4"><IMG src="{pic}"><a href="{url}" target=_blank><strong>{title}</strong><br/><span>{summary}</span><br/>【立即观看】</A> </li>
<li class="a5"><IMG src="{pic}"><a href="{url}" target=_blank><strong>{title}</strong><br/><span>{summary}</span><br/>【立即观看】</A> </li>
<li class="a6"><IMG src="{pic}"><a href="{url}" target=_blank><strong>{title}</strong><br/><span>{summary}</span><br/>【立即观看】</A> </li>
<li class="a7"><IMG src="{pic}"><a href="{url}" target=_blank><strong>{title}</strong><br/><span>{summary}</span><br/>【立即观看】</A> </li>
<li class="a8"><IMG src="{pic}"><a href="{url}" target=_blank><strong>{title}</strong><br/><span>{summary}</span><br/>【立即观看】</A> </li>
<li class="a9"><IMG src="{pic}"><a href="{url}" target=_blank><strong>{title}</strong><br/><span>{summary}</span><br/>【立即观看】</A> </li>
<li class="a10"><IMG src="{pic}"><a href="{url}" target=_blank><strong>{title}</strong><br/><span>{summary}</span><br/>【立即观看】</A> </li>
<li class="a11"><IMG src="{pic}"><a href="{url}" target=_blank><strong>{title}</strong><br/><span>{summary}</span><br/>【立即观看】</A> </li>
<li class="a12"><IMG src="{pic}"><a href="{url}" target=_blank><strong>{title}</strong><br/><span>{summary}</span><br/>【立即观看】</A> </li>
</ul>
DIY更改模板里面的代码为上面的代码就可以了!
就可以了
页:
[1]