Reputation: 974
I'm trying to make a website builder based on grid column.
To make the columns I want to resize the width with images using jQuery UI library, I do not find the option to use image resizing.
Is it possible to resize with next
and prev
images arrows?.
Here I have this example but without arrows:
$(function() {
$( "#resizable" ).resizable({
grid: 50
});
});
Can you help please?
Upvotes: 0
Views: 276
Reputation: 6907
Here,
$('#prev').click(function(){
$("#resizable").css({"width": $("#resizable").width()-10});
});
$('#next').click(function(){
$("#resizable").css({"width": $("#resizable").width()+10});
});
Upvotes: 1