开发者

Creating resize handles and dashed border for selected element

开发者 https://www.devze.com 2023-02-17 00:25 出处:网络
I\'m attempting to build a custom resize function using javascript. What would be the best way to add resize handles and a dashed line around the selected element? Similar to how YUI handles resizing

I'm attempting to build a custom resize function using javascript. What would be the best way to add resize handles and a dashed line around the selected element? Similar to how YUI handles resizing (without using YUI of course), considering the element may already have a border around it that should not be affected.

Would it be absolutely positioning a div over the element to create the dashed border, and 8 smaller divs to create the resize hand开发者_高级运维les?

0

精彩评论

暂无评论...
验证码 换一张
取 消