05-03-2009, 04:48 AM
|
#2 (permalink)
|
|
The Contributor
Join Date: Sep 2008
Posts: 36
Thanks: 2
|
that would be javascript, not php
Code:
var w = screen.width;
var h = screen.height;
document.getElementByID('hiddendiv').style.width=w;
document.getElementByID('hiddendiv').style.height=h;
I would test this in different browsers first, I don't recall if this works in earlier versions of IE.
It might just be easier to use shadowbox, as it is nice and fluid - and best of all - already written :P
__________________
Jason Corradino
Applications Developer, Interactive Support - Tribune Technology
J2EE Development, Script Tinkering - Develop, Support, and Maintain Tribune websites.
|
|
|
|