修改演示例子

This commit is contained in:
LingASDJ 2023-03-31 09:37:30 +08:00
parent c4cec535a6
commit 52ecfdcad8

View File

@ -658,23 +658,19 @@ autoTrigger:if memory.a < memory.b and memory.a > memory.c
```ini ```ini
[action] [action]
autoTrigger:if (memory.a < memory.b or memory.a > memory.c) and not memory.a < memory.d autoTrigger:if (memory.a < memory.b or memory.a > memory.c) and not memory.a < memory.d
# 考考你,在这个例子中,满足什么条件才会触发?
```
<!-- 鼠标放上显示测试 --> ```
<p id="onMouseMoveView_not">鼠标放上显示参考答案</p> <!-- tabs:start -->
<p id="onMouseOutView_not"></p>
<script> <!-- 换行两个空格 或者 <br> -->
var onMouseMoveView_not = document.getElementById("onMouseMoveView_not").onmousemove = function () { #### **动动脑,考考你**
var onMouseOutView_not = document.getElementById("onMouseOutView_not"); #### 考考你,在上述这个例子中,满足什么条件才会触发?
onMouseOutView_not.innerHTML="答案a必须满足小于b和大于c中的一个且a必须小于c自动触发才会被触发。"; #### **显示参考答案**
}; #### 答案a必须满足小于b和大于c中的一个且a必须小于c自动触发才会被触发。
var onMouseMoveView_not = document.getElementById("onMouseMoveView_not").onmouseout = function () {
var onMouseOutView_not = document.getElementById("onMouseOutView_not"); <!-- tabs:end -->
onMouseOutView_not.innerHTML=""
}
</script>
<!-- 好屎山( -->
### 算数运算符 ### 算数运算符