📄 鼠标改变图像的位置.htm
字号:
<html><head><title>鼠标改变图像的位置</title><script LANGUAGE="VBScript">sub square_onmouseover() none.style.posleft=square.style.posleftif square.style.posleft>500 then square.style.posleft=100else square.style.posleft=square.style.posleft+120end if lose.style.visibility="visible"end subsub none_onmouseout lose.style.visibility="hidden"end sub</script></head><body bgcolor="#C0C0C0"><center><h2>请你用鼠标在图像上左右移动,看看效果</h2></center><p><div id="square"style="position:absolute;top:200px;left:100px;background-color:teal;width:100;height:100"><p>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -