-
-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
水印可以被隐藏 #29
Comments
道高一尺魔高一丈 |
@saucxs 你好,控制台里面添加的 css 属性属于外联样式,是不是可以在初始化时将常见的可以隐藏元素的 css 方法写成内联样式,这样即使新增也没用。 |
@saucxs 你好, http://www.chengxinsong.cn/post/34 里的水印动态变化的dom结构是通过设一个定时器然后不停的调用init和remove方法完成吗?有相关代码吗 |
@inooNgt 定时器进行不断load方法就行。一次只操作一次dom结构。代码事例可以参考examples文件里的examples-setInterval的例子。 |
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
生成的水印都带有一个 id,虽然不能在元素本身上修改样式,但因为这个 id,就可以另外写新样式,然后水印会消失。
The text was updated successfully, but these errors were encountered: