kevind
Posts: 251
|
| Posted: 10/18/2008, 6:39 AM |
|
Hi,
i'm coding a site in CCS where i want an IFrame to size to fit the dimensions (height) of the available viewport.
i've downloaded and referenced prototype.js (latest build) and can't seem to get the viewport function to work in CCS code - i'm not yet in 4.x of CCS, but thought i could use some of the prototype features in CCS 3.x by manually configuring
in an on-load event i've placed the line:
document.write(document.viewport.getHeight());
it doesn't seem to write in Chrome or IE and when it writes in FF it doesn't change when i change the dimension of the window and refresh the page
can anyone point me to a simple example of using prototype to get the browser's current height/width
is JQuery a better way to go - it seems there's more community and plug-ins and documentation for that library
thanks in advance for any input
Kevin
_________________
thanks
Kevin
======================
CCS 3.2.x / ASP / MS Access /mySQL / PHP / jQuery / jQuery UI / jQuery Mobile
|
 |
 |
|