-
Hello, all. I want to have something similar to what w3schools has on their code pages. I tried to use this, but it does not want to work.
But it would not work correctly, and it would only work if the mouse came off from the resizer bar. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
While looking in the js file, I found something, and I tried, and it worked. In the JS section in JSFiddle, you will see on line 44 (Flex - Two Panel (On JSFiddle))
These lines give the live count of the width of the "lastPos." |
Beta Was this translation helpful? Give feedback.
-
BASIC IDEA : every time mouse resizes the windows we need to call getBoundingClientRect();you can check out the codepen i tinkered : HERE |
Beta Was this translation helpful? Give feedback.
BASIC IDEA : every time mouse resizes the windows we need to call getBoundingClientRect();
you can check out the codepen i tinkered : HERE