Re: How can I determine size of popup window based on text assigned to body?
- From: "Ken Varn" <nospam>
- Date: Fri, 5 Aug 2005 16:30:16 -0400
I tried calling getBoundingClientRect(), but the resulting rectangle size is
always 0. I think it is because the popup object has no size until you call
the show method.
--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.
EmailID = varnk
Domain = Diebold.com
-----------------------------------
"Joe Fawcett" <joefawcett@xxxxxxxxxxxxxxxxx> wrote in message
news:eCIGJidmFHA.1412@xxxxxxxxxxxxxxxxxxxxxxx
> "Ken Varn" <nospam> wrote in message
> news:Om%23Zu$SmFHA.3300@xxxxxxxxxxxxxxxxxxxxxxx
> >I am calling the popup.show method to display a popup object. I have
> > pre-set the InnerHTML of the popup object. How can I determine what to
pass
> > to the show method so that my InnerHTML is always displayed without
being
> > clipped?
> >
> >
> > --
> > -----------------------------------
> > Ken Varn
> > Senior Software Engineer
> > Diebold Inc.
> >
> > EmailID = varnk
> > Domain = Diebold.com
> > -----------------------------------
> >
> Not something I've used but try:
>
>
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/methods/getboundingclientrect.asp
>
> --
>
> Joe (MVP)
>
>
https://mvp.support.microsoft.com/profile=8AA9D5F5-E1C2-44C7-BCE8-8741D22D17A5
>
>
.
- Follow-Ups:
- References:
- Prev by Date: Re: implement banker's rounding for decimals
- Next by Date: Re: How can I determine size of popup window based on text assigned to body?
- Previous by thread: Re: How can I determine size of popup window based on text assigned to body?
- Next by thread: Re: How can I determine size of popup window based on text assigned to body?
- Index(es):
Relevant Pages
|