|
You could use the layerpos extension (in
ccreationExt) I posted to richard's site ( http://www.richardinfo.com ) I
figure. I haven't tested it with dynlayers bigger than the window itself, but it
just calculates it, so it probably will go.
First make sure you include.
DynAPI.include('dynapi.ccreationExt.layerpos');
then the call should be like:
myLayer.positionInParent('middlecenter');
if it doesn't work you could also try something
like:
myLayer.positionInParent('middlecenter',-600,-600);
Let know which works.
----- Original Message -----
Sent: Sunday, January 14, 2001 6:51
AM
Subject: [Dynapi-Help] It's late again
and I've been doing some more pondering
Resizing a window.
Has anyone put together anything along these lines already:
I'm thinking about generating an image that is about three times
as big as a browser window and placing it on a dynlayer (draggable), let's
say 2500 pixels square and I would like to center it in a browser window and
basically fill the window to the edges with the image. Is there a facility
for repositioning the image in the center upon resizing the window in
a DynAPI object, or do I need to work on it in JS ? Thanks
--
bobb
http://64.33.167.222/
|