A simple interaction in SVG modifies a document based on mouse clicks on particular graphic elements.
根据鼠标在特定的图形元素上单击,SVG中的简单交互可以修改文档。
Since I am implementing a push-button, I better do something so the user has the visual impression of pushing a button when the mouse is clicked over the button graphic.
因为我实现的是一个下压按钮,最好是能够在鼠标点到按钮图像上的时候,让用户有压下按钮的感受。
Figure 1. The Web Module button is active with the mouse over it and the graphic has been changed.
图1 . Web Module按钮在鼠标移动到它上面时处于活动状态并且图形已经改变。
应用推荐