Anyway of detecting appropriate width based on page content for a JS popup?

41 Views Asked by At

Is there a way of detecting the width of the content that will contain a JavaScript popup?

I'm trying to avoid hard-coding a width, as the content within the page that is the location for the JavaScript popup could change at any given time.

0

There are 0 best solutions below