Glen Lipka wrote:
> What if I had the *interface* plugins in there?
> Could you leverage resizable and draggable?
Glen, This is where I wanted to take the plugin next. Well, not
exactly modding the plugin into an obtrusive complexity -- but to
provide demonstrations showing jqModal working in conjunction with
resizable & draggables. As I prefer markup & styling to remain
abstracted from the code, it is up to the user to come up with means for
fancy effects, image galleries, etc. etc. through the use of JS
callbacks and straight forward HTML + CSS.
As the plugin is unobtrusive; attaching draggable + resizable events to
a window displayed with jqModal will work out-of-box -- I just need to
pioneer some good looking demos to show how easily it can be done ;)
Unfortunately I'm a terribly slow designer... but I do plan on porting
all the uses I find for jqModal into an example on the plugin page.. so
eventually it should grow into a resourceful repository of designs &
effects.
> Also, is it possible to set opacity with FadeTo() so it has a nice
> vista glass see-through effect?
This could be interesting.. right now the window is "popped" via
show()/hide().. although a fadeTo(0.90) may be nice. Maybe I'll add
another parameter to set window opacity... although this can be
accomplished via the callback functions, e.g.
function fadeWindow(w,hash) { $(w).fadeTo(0.90); }
var t = ('a.trigger');
$('#jqmWindow').jqm({trigger: t},fadeWindow); // sets up #jqmWindow to
display when 'a.trigger' is clicked. fadeWindow will be executed on
window display.
I still need to provide more examples & better documentation. If you
have any suggestions or requests for things you'd like to see
implemented, my ears are gladly open!
~ Brice
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/