jquery - How do you create a resizable and resize it in one go? (programmatically starting the resize) -


i trying create resizable div @ mouse position , resize desired size. failed attempt far:

http://jsfiddle.net/yknfr/1/

any ideas on how achieve behaviour?

add css above #block1 selector:

#blocks > div {     width: 200px;     height: 200px; } 

no need resizable script involved until want user resize it. fyi, css clearer :not selector this:

#blocks > div:not(#block1) {     width: 200px;     height: 200px; } 

but ie doesn't support :not, , i'm not sure how degrades. that's why need put first example above #block1 selector.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -