图片交替滚动

一:

<center><marquee width="90%" behavior="alternate" scrollamount="3">
<img src="图片1地址" border="0" onload="if(this.width>screen.width-333) {this.width=screen.width-333;this.alt='Click Here to Open New Window';}" onmouseover="if(this.alt) this.style.cursor='hand';" onclick="window.open('图片1地址');"><img src="图片2地址" border="0" onload="if(this.width>screen.width-333) {this.width=screen.width-333;this.alt='Click Here to Open New Window';}" onmouseover="if(this.alt) this.style.cursor='hand';" onclick="window.open('图片2地址');"><img src="图片3地址" border="0" onload="if(this.width>screen.width-333) {this.width=screen.width-333;this.alt='Click Here to Open New Window';}" onmouseover="if(this.alt) this.style.cursor='hand';" onclick="window.open('图片3地址');">
</marquee></center>

二: 

with设置宽height设置高
<MARQUEE width=350 height=70 onmouseover=stop() onmouseout=start() scrollAmount=3 loop=infinite deplay="0"><img src="http://x-fzl.cn/image/top1.jpg"><img src="http://x-fzl.cn/image/top2.jpg"><img src="http://x-fzl.cn/image/top3.jpg"><img src="http://x-fzl.cn/image/top4.jpg"><img src="http://x-fzl.cn/image/top5.jpg"><img src="http://x-fzl.cn/image/top6.jpg"><img src="http://x-fzl.cn/image/top7.jpg"><img src="http://x-fzl.cn/image/top8.jpg"><img src="http://x-fzl.cn/image/top9.jpg"><img src="http://x-fzl.cn/image/top10.jpg"><img src="http://x-fzl.cn/image/top11.jpg"><img src="http://x-fzl.cn/image/top12.jpg"><img src="http://x-fzl.cn/image/top13.jpg"><img src="http://x-fzl.cn/image/top14.jpg"><img src="http://x-fzl.cn/image/top15.jpg"></MARQUEE>

下面转载自碧波的博客

 

图片移动链接代码:

<marquee direction=up height=150 scrollamount=1 scrolldelay=60

width="100%">

<img border=0 src="图片地址1"><br>

<img border=0 src="图片地址2"><br>

<img border=0 src="图片地址3"><br>

<img border=0 src="图片地址4"><br>

</marquee>

说明:direction="up" 将UP改为down就是下移动,左left,右right```

◆◆◆◆◆插入超链接代码

</textarea>点击<a href=’’http://你要链接的地址’’ target=’’_blank’’>

文字说明</a>

请注意:如果该链接为恶意链接的话,腾讯会自动屏蔽,请大家不要乱用.

◆◆◆◆◆半透明特效代码

<img src="/javascript:initd.style.filter="alpha(opacity=90)';"

style=display:none>

◆◆◆◆◆图片链接代码

</textarea><a href="你要链接的地址" title="文字说明",_blank>

请注意:如果该链接为恶意链接的话,腾讯会自动屏蔽,请大家不要乱用.

◆◆◆◆◆空间友情连接拉链连接代码

<select name='FriendSite'

onchange="if(this.options[this.selectedIndex].value!

=''){window.open(this.options[this.selectedIndex].value,'_blank');}"

size="1" style="border-style: dashed; border-width: 1px"><option value=''>

文字友情链接</option><option value="站点地址1">站点名1</option><option

value="站点地址2">站点名2</option></select>

关键代码,一直增加以下内容就可以了

<option value="站点地址">站点名</option>

◆◆◆◆◆给滚动字幕加超链接代码

<marquee scrollAmount=2 width=300><a href=http://www.hack58.com>黑客动画

吧</a></marquee>

◆◆◆◆◆下拉式菜单超连接代码

很多空间做了面板来展示好友的空间连接。

但是这样是空间会变的很卡

这个代码比较节省空间资源:

<select name='FriendSite'

onchange="if(this.options[this.selectedIndex].value!

=''){window.open(this.options[this.selectedIndex].value,'_blank');}"

size="1" style="border-style: dashed; border-width: 1px"><option value=''>

我的好友连接</option><option value=http://超连接地址>

◆◆◆◆◆连接代码:

</textarea></table></tr><td><font color=blue size=4><a

href="http://www.kan51.net/">

电影视频写真</a><br><br><a

href="http://bbs.duola.com/htm_data/9/0507/32454.html">全部游戏下

载</a><br><br><a href="http://down.77169.com/Article/Class1/Class25/">黑

客QQ漏动</a><br><br><a href="http://www.guoguo.name/Soft/Index.html">超级女

生视频</a><br><br><a href="http://www.29w.net/vip/mybox.asp">ZHAI66个人音乐

</a><br><br></font></td>

</tr>

</table><font color=red>gainover</font>

posted @ 2009-05-07 16:27  智者生存  阅读(393)  评论(0编辑  收藏  举报