>From looking at the code in gb_scripts.js, I would think that you
could just pass in % with no changes:
GB_showCenter=function(_4c,url,_4e,_4f,_50){
var _51={caption:_4c,center_win:true,height:_4e||500,width:_4f||
500,fullscreen:false,callback_fn:_50};
var win=new GB_Window(_51);
return win.show(url);
};
The subsequent AJS calls, as near as I can figure out, doesn't add a
measure to width (tho it's certainly convoluted, so I could be
wrong!).
Try it out with % and let me know what happens!
Tyler
http://nirdvana.com
http://malthusian-solutions.com
On Jan 1, 8:38 am, savonge <[email protected]> wrote:
> I would like to know if there's any way to define the height of
> greybox in precentage instead of pixels.
>
> thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"GreyBox" 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/greybox?hl=en
-~----------~----~----~----~------~----~------~--~---