Prevent Javascript from being executed twice

前端 未结 5 1089
清歌不尽
清歌不尽 2020-12-19 13:04

I have a script that I am developing that creates a sliding button type effect. Five div\'s are situated next to eachother each with a link. When one of those DIVS are click

5条回答
  •  生来不讨喜
    2020-12-19 13:37

    you can create an invisible maskin and maskout ( like the background in lightbox etc ) or disable clicks until the animation finishes.

提交回复
热议问题