CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Prototype vs. JQuery [solved]

Print topic Send  topic

Author Message
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 8-)
_________________
thanks
Kevin

======================
CCS 3.2.x / ASP / MS Access /mySQL / PHP / jQuery / jQuery UI / jQuery Mobile
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.