我的onmouseover问题 [英] Problem with my onmouseover
本文介绍了我的onmouseover问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在上班时遇到问题
这就是我在external.js文件中的内容:
提示" theTips1"当页面打开时应该是隐藏的
但是它们不是。
I am having problems getting my onmouseover to work
This is what I have in the external.js file:
The tips "theTips1" should be invisable when the page opens
but they are not.
展开 | 选择 | 换行 | 行号
推荐答案
没有测试我会说,第1行:属性和值之间不应该有任何空格字符;第18行:将字符串值放在引号中,否则它们不被识别为字符串。
问候
without testing I''d say, line #1: between attribute and value there shouldn''t be any whitespace characters; line #18: put the string values in quotation marks, otherwise they''re not recognized as strings.
regards
感谢回复
你的意思是:
#1 class =" tips"应该是class =" tips" ?
和
#18" show_tips(theTips1)"应该是show_tips(''theTips1'')" ?
Thanks for reply
Do you mean:
at # 1 class = "tips" should be class="tips" ?
and
#18 "show_tips(theTips1)" should be "show_tips(''theTips1'')" ?
是的,这就是我的意思。
yes, that''s what I meant.
这篇关于我的onmouseover问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文