Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
好的,如果您按住 CTRL 按钮并在鼠标上滚动,它将缩小浏览器窗口,反之亦然。如何使用 jQuery 将此操作与单击事件联系起来?
$('#zoomOut').click(function(){ //Enter Some Code Here }); $('#zoomIn').click(function(){ //Enter Some Code Here });
它会像 keyDown(); 和滚动();在一起,我真的不确定...
谢谢 DJ.E