在asp中禁用href上的图像 [英] disabling the image on a href in asp
问题描述
我的asp代码中有以下href。我想禁用图片
所以用户无法点击这个图片的javascript。
....
< input type = text name = thedate size = 10>< a
href ="" javascript :show_calendar(''dataform.Line"& lineno&
" 6'',null,null,''YYYY / MM / DD'');"" onmouseover ="" window.status =''Date
Picker''; return true;"" onmouseout ="" window.status =''''; return true;"">< img
src =''.. / Production / show-calendar.gif' 'width =''24''height =''22''border =''0''>< / a>
这可能吗?
谢谢,
将
Hi,
I have the following href in my asp code. I would like to disable the image
so the user cant click on the javascript for this image.
....
<input type=text name=thedate size=10><a
href=""javascript:show_calendar(''dataform.Line" & lineno &
"6'',null,null,''YYYY/MM/DD'');"" onmouseover=""window.status=''Date
Picker'';return true;"" onmouseout=""window.status='''';return true;""><img
src=''../Production/show-calendar.gif'' width=''24'' height=''22'' border=''0''></a>
Is this possible?
thanks,
Will
推荐答案
wk6pack写道:
wk6pack wrote:
我想禁用
图像,以便用户无法点击此图片的javascript。
...
这可能吗?
I would like to disable
the image so the user cant click on the javascript for this image.
...
Is this possible?
否
-
William Tasso - http://WilliamTasso.com
我认为你可以用IE下的客户端脚本来做,不确定NS。
您需要在客户端脚本新闻组中询问。
如果您知道您希望在处理ASP时禁用链接
只是o没有链接的输出IMG标签。
-
Mark Schupp
开发负责人
诚信电子学习
www.ielearning.com
" ; wk6pack" <周*** @ sd61.bc.ca>在消息中写道
news:uG ************** @ TK2MSFTNGP09.phx.gbl ...
I think you can do it with a client-side script under IE, not sure about NS.
You need to ask in a client-side scripting newsgroup.
If you know that you want the link disabled at the time the ASP is processed
just output IMG tag without the link.
--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"wk6pack" <wk***@sd61.bc.ca> wrote in message
news:uG**************@TK2MSFTNGP09.phx.gbl...
>
我的asp代码中有以下href。我想禁用
图像,以便用户无法点击此图片的javascript。
...
<输入类型=文字名称=日期大小= 10> ;< a
href ="" javascript :show_calendar(''dataform.Line"& lineno&
" 6'',null,null, '' YYYY / MM / DD '');"" onmouseover ="" window.status =''Date
Picker''; return true;"" onmouseout ="" window.status =''''; return true;"">< img
src =''.. / Production / show-calendar.gif''width =' '24''height =''22''
border =''0''>< / a>
这可能吗?
谢谢,>将
Hi,
I have the following href in my asp code. I would like to disable the image so the user cant click on the javascript for this image.
...
<input type=text name=thedate size=10><a
href=""javascript:show_calendar(''dataform.Line" & lineno &
"6'',null,null,''YYYY/MM/DD'');"" onmouseover=""window.status=''Date
Picker'';return true;"" onmouseout=""window.status='''';return true;""><img
src=''../Production/show-calendar.gif'' width=''24'' height=''22'' border=''0''></a>
Is this possible?
thanks,
Will
2003年10月9日星期四15:43:25 -0700," wk6pack" <周*** @ sd61.bc.ca>写道:
On Thu, 9 Oct 2003 15:43:25 -0700, "wk6pack" <wk***@sd61.bc.ca> wrote:
我的asp代码中有以下href。我想禁用图片
所以用户无法点击此图片的javascript。
...
<输入类型=文字名称=日期大小= 10> ;< a
href ="" javascript :show_calendar(''dataform.Line"& lineno&
" 6'',null,null, '' YYYY / MM / DD '');"" onmouseover ="" window.status =''Date
Picker''; return true;"" onmouseout ="" window.status =''''; return true;"">< img
src =''.. / Production / show-calendar.gif''width =' '24''height =''22''border =''0''>< / a>
Hi,
I have the following href in my asp code. I would like to disable the image
so the user cant click on the javascript for this image.
...
<input type=text name=thedate size=10><a
href=""javascript:show_calendar(''dataform.Line" & lineno &
"6'',null,null,''YYYY/MM/DD'');"" onmouseover=""window.status=''Date
Picker'';return true;"" onmouseout=""window.status='''';return true;""><img
src=''../Production/show-calendar.gif'' width=''24'' height=''22'' border=''0''></a>
为什么要把图像放在那里然后使它不可点击?
Why would you put the image there and then make it not clickable?
这篇关于在asp中禁用href上的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!