I have something that looks like this:

$(this.container).resizable({
        handles : 'w, e',
        alsoResize : 'div.stretchable',
        minWidth : 57,
        containment : 'div.drop_area',
});

But I will have a bunch of these objects so I cannot use unique Ids so
I must stick with classes.

Usually I would simply do $(this div.stretchable) to acquire the
element to alsoResize, but in this instance it only takes a string. I
would like to do something like this:

        alsoResize : this + ' div.stretchable'

but that does not work.

I would really appreciate any ideas. Maybe some way of evaluating the
statement as a string before parsing? This is really making it hard to
do OOP using jQuery!

Shoot me an email at mattmue...@gmail.com or reply to this post!

Thanks in advance,
Matt Mueller

Reply via email to