Hi, thanks for your answer.
I have tried this now (see code below), but does not work.
I did hardcode the image name first, just to see it changing, but it
doesn't...
Please, any hints?
<script type="text/javascript">
$(function() {
$("#bord").resizable({
aspectRatio: true,
grid: 50
});
});
$('#bord').resizable({
stop: function(event, ui) {
// square image, so just one size needed
var newWidth = $(this).width();
// hardcoded for trying to change
$(this).css({'background-image' :
'url(images/bord/bg350.png)'});
}
});
</script>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---