开发者

Simple way to resize a DIV with Javascript/Prototype

开发者 https://www.devze.com 2023-01-04 15:01 出处:网络
I have a div that floats at the bottom of the screen and want to let users vertically resize it开发者_开发技巧 (by grabbing a handle on the top of the div and pulling the div up or down).I am using Pr

I have a div that floats at the bottom of the screen and want to let users vertically resize it开发者_开发技巧 (by grabbing a handle on the top of the div and pulling the div up or down). I am using Prototype.js, so it just has to be compatible with that, though if there is a simpler way of doing it than with yet another javascript library that would be much preferred. Anyone found anything like this or have a simple way of doing it?


Here is what you are looking for. It has the sample code using prototype.

0

精彩评论

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

关注公众号