views:

35

answers:

1

HI all,

Anyone know how to limit the overlay window size of slimbox to be a percentage of the user's window size (like prettyphoto does)

Thanks

Here's the module code: http://paste.ly/3Kz

And the slimbox js: http://paste.ly/3L0

+1  A: 

capture the users window resolution and set the overlay's width and height according to captured info...

$('#overlay').width($(window).width()).height($(window).height());
Ninja Dude
Where would I plug this?I'm trying to adjust images that are dynamically called from a module in Joomla - and usually i can figure our the jquery, but in this instance, i'm stumped
Jason
I didn't get you :( can u show your actual code (or) a screen shot of the module , I mean in which module are you going to use this ?
Ninja Dude
code posted aboce
Jason