sunshuai03 发表于 2005-4-5 21:53:19

[求助]显示图片的问题

<P>我现在要在</P><img src="attachments/dvbbs/2005-4/200545135135846.bmp" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!this.resized) {return true;} else {window.open(\'attachments/dvbbs/2005-4/200545135135846.bmp\');}" onmousewheel="return imgzoom(this);" alt="" />
面板中显示一个背景图片,如图所示可以实现,不过我要把路径控件变为一个路径常值就说找不到路径,不知道这是怎么回事。请大家帮忙看看

sunshuai03 发表于 2005-4-5 21:55:06

我看了版主的显示图片的例子,不过6.1和7.1版本这几个控件差了很多,我没有7.1的资料所以试着做,大家指教。

wus123 发表于 2005-4-5 22:13:20

<P>确认路径输入正确否?确认文件是否存在?</P>

sunshuai03 发表于 2005-4-6 16:30:34

<P>肯定是存在而且正确的,我试了很多次。</P>

cwyxf1015 发表于 2005-4-6 16:59:49

我也试了,照你的图,还换成indicator也没有问题啊,你再是不是图片格式不支持啊!

sunshuai03 发表于 2005-4-7 08:01:22

<P>真的吗?我再试试,谢谢啊</P>

sunshuai03 发表于 2005-4-7 08:44:02

<P>对不起,是我错了,这个连接是没有错的,我把图片的后缀弄错了,jpeg格式图片的后缀是jpg,博大家一笑,也希望大家不要范我犯的错,呵呵呵</P>
页: [1]
查看完整版本: [求助]显示图片的问题