关于网上找的网页代码
老师布置了个html作业,我在网站上找的一些图片滚动效果代码改了后就用不了了,如,picarry[1]="icon/images20071220/02.jpg";lnka...
老师布置了个html作业 ,我在网站上找的一些图片滚动效果代码改了后就用不了了,如,
picarry[1] = "icon/images20071220/02.jpg";
lnkarry[1] = "http://www.qpsh.com/";
ttlarry[1] = "碎玉:回眸";
picarry[2] = "icon/images20071220/03.jpg";
lnkarry[2] = "http://www.qpsh.com/";
ttlarry[2] = "飞狐:豆花档";
picarry[3] = "icon/images20071220/04.jpg";
lnkarry[3] = "http://www.qpsh.com/";
我改成了
picarry[1] = "icon\C:\Documents and Settings\Administrator\桌面\fp101110423";
lnkarry[1] = "http://www.qpsh.com/";
ttlarry[1] = "碎玉:回眸";
picarry[2] = "icon/C:\Documents and Settings\Administrator\桌面\fp101110422";
lnkarry[2] = "http://www.qpsh.com/";
ttlarry[2] = "飞狐:豆花档";
picarry[3] = "icon/images20071220/04.jpg";
lnkarry[3] = "http://www.qpsh.com/";
就来不了了 请高手教下应该怎样修改文件路径 谢谢
style="MARGIN-TOP: 305px; FLOAT: left; WIDTH: 400px; TEXT-ALIGN: center"><A
href="http://www.qpsh.com/" target=_blank>梦:牧场小屋</A></DIV>
<DIV style="MARGIN-LEFT: 402px; WIDTH: 65px">
<DIV class=thubpiccur id=tmb0 onmouseover=setfoc(0); onmouseout=playit();><A
href="http://www.qpsh.com/" target=_blank><IMG
src="icon/images20071220/01.jpg" alt="" width=56 height=42 border="0"></A></DIV>
这个路径呢 ?怎么改 展开
picarry[1] = "icon/images20071220/02.jpg";
lnkarry[1] = "http://www.qpsh.com/";
ttlarry[1] = "碎玉:回眸";
picarry[2] = "icon/images20071220/03.jpg";
lnkarry[2] = "http://www.qpsh.com/";
ttlarry[2] = "飞狐:豆花档";
picarry[3] = "icon/images20071220/04.jpg";
lnkarry[3] = "http://www.qpsh.com/";
我改成了
picarry[1] = "icon\C:\Documents and Settings\Administrator\桌面\fp101110423";
lnkarry[1] = "http://www.qpsh.com/";
ttlarry[1] = "碎玉:回眸";
picarry[2] = "icon/C:\Documents and Settings\Administrator\桌面\fp101110422";
lnkarry[2] = "http://www.qpsh.com/";
ttlarry[2] = "飞狐:豆花档";
picarry[3] = "icon/images20071220/04.jpg";
lnkarry[3] = "http://www.qpsh.com/";
就来不了了 请高手教下应该怎样修改文件路径 谢谢
style="MARGIN-TOP: 305px; FLOAT: left; WIDTH: 400px; TEXT-ALIGN: center"><A
href="http://www.qpsh.com/" target=_blank>梦:牧场小屋</A></DIV>
<DIV style="MARGIN-LEFT: 402px; WIDTH: 65px">
<DIV class=thubpiccur id=tmb0 onmouseover=setfoc(0); onmouseout=playit();><A
href="http://www.qpsh.com/" target=_blank><IMG
src="icon/images20071220/01.jpg" alt="" width=56 height=42 border="0"></A></DIV>
这个路径呢 ?怎么改 展开
1个回答
展开全部
....你把html文件与图片文件放在一起(一个文件夹下面)
然后直接用picarry[1] = "图片文件名"
例如:桌面一个test文件夹
里面有一个index.html
有1.jpg 2.jpg 3.jpg
picarry[1] = "1.jpg";
lnkarry[1] = "http://www.qpsh.com/";
ttlarry[1] = "碎玉:回眸";
picarry[2] = "2.jpg";
lnkarry[2] = "http://www.qpsh.com/";
ttlarry[2] = "飞狐:豆花档";
picarry[3] = "3.jpg";
lnkarry[3] = "http://www.qpsh.com/";
然后直接用picarry[1] = "图片文件名"
例如:桌面一个test文件夹
里面有一个index.html
有1.jpg 2.jpg 3.jpg
picarry[1] = "1.jpg";
lnkarry[1] = "http://www.qpsh.com/";
ttlarry[1] = "碎玉:回眸";
picarry[2] = "2.jpg";
lnkarry[2] = "http://www.qpsh.com/";
ttlarry[2] = "飞狐:豆花档";
picarry[3] = "3.jpg";
lnkarry[3] = "http://www.qpsh.com/";
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询