.resizable()


#1


My code works but it only resizes the width. Is there a way to resize / scale the height as well?


Replace this line with your code.


#2

@jaydacoder,

Please display your FULL HTML code
and your FULL script.js code...


#3

If you click on the block and pull it down it will resize the height

.resizable allows you to resize height and width


#4

That's funny, it only allows me to resize the width, not the height. Below is my code. I'm using Chrome. Not sure if that may be a factor. Anyhow, good to know. I will take it as lesson passed :slight_smile:

$(document).ready(function(){
    $('div').resizable();
});

#5

Your code is correct click anywhere in the div and then click again and drag your mouse/cursor down should work :slight_smile:


#6

Thank you, but it still doesn't drag vertical. Only horizontal. Perhaps a glitch or just the browser?


#7

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.