多图具有CLICK功能打开大图的源程序代码如下:

来源: 家有小魔女 2006-02-04 06:12:26 [] [旧帖] [给我悄悄话] 本文已被阅读: 次 (1960 bytes)
多图具有CLICK功能打开大图的源程序代码如下:
自力更生,万事皆通,天下没有免费的午餐。其实常编程序的人应该知道按鼠标的右键,打开网页的源程序代码,就可以找到所有网也中用到的语句。开始想偷懒,以为开口问一下便可得到免费的“午餐”,其实是犯了大忌。现在把我摆弄成功的源程序代码写出来,给需要用的朋友一个方便。


<#a href="http://i1.tinypic.com/n4uqlg.jpg"#><#img src="http://tinypic.com/n4uqlg_th.jpg" height="80" width="100"/#><#/a#><#a href="http://i1.tinypic.com/n4urf5.jpg"#><#img src="http://tinypic.com/n4urf5_th.jpg " height="80" width="100" /#><#/a#><#a href="http://i1.tinypic.com/n4us1x.jpg"#><#img src="http://tinypic.com/n4us1x_th.jpg" height="80" width="100" /#><#/a#><#a href=" http://i1.tinypic.com/n4utu8.jpg "#><#img src=" http://tinypic.com/n4utu8_th.jpg " height="80" width="100" /#><#/a#><#a href=" http://i1.tinypic.com/n4uu6x.jpg "#><#img src=" http://tinypic.com/n4uu6x_th.jpg " height="80" width="100" /#><#/a#> <#a href=" http://i1.tinypic.com/n4uus3.jpg "#><#img src=" http://tinypic.com/n4uus3_th.jpg" height="80" width="100" /#><#/a#>

其中把<#和#>改成<与>便可.

下面就是这段源代码的结果:


所有跟帖: 

忘了说明一下,REF后面跟小图的地址,SRC后面跟大图的地址 -家有小魔女- 给 家有小魔女 发送悄悄话 (0 bytes) () 02/04/2006 postreply 06:17:49

聪明聪明!I have to figure it out。多谢了。 -chengxing- 给 chengxing 发送悄悄话 chengxing 的博客首页 (0 bytes) () 02/04/2006 postreply 06:28:49

多谢多谢.我试验后发现SRC后面跟的是小图地址,REF后面跟大图地址 -百里侯- 给 百里侯 发送悄悄话 百里侯 的博客首页 (118 bytes) () 02/05/2006 postreply 22:44:45

请您先登陆,再发跟帖!

发现Adblock插件

如要继续浏览
请支持本站 请务必在本站关闭/移除任何Adblock

关闭Adblock后 请点击

请参考如何关闭Adblock/Adblock plus

安装Adblock plus用户请点击浏览器图标
选择“Disable on www.wenxuecity.com”

安装Adblock用户请点击图标
选择“don't run on pages on this domain”