javascript - How to adjust the position of the canvas tag in h5 to be different after hiding and displaying it again?
巴扎黑
巴扎黑 2017-05-24 11:37:35
0
1
807

Use the canvas tag dynamically added by js to draw some lines, and use absolute positioning at a specific location. It is displayed by default, but the product requires that it can be hidden, so I made a button that can be hidden or displayed after clicking it. When using hide() and show(), why is the position of the canvas incorrect after hide() and then show()?

巴扎黑
巴扎黑

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!