Moderators: e_phoenix13
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
HXH
Member
Posted
Is there anyway to dynamically change the size of content via Javascript? Actually I want the VET occupy the whole client area of browser.
 
Posts: 12 | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
<Erik>
Posted
I know that if you put in "100%" for each of the width and height parameters, it will fill the screen. Perhaps if a variable was used and then the var was changed to "100%"?
 
Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of viewpoint d-d
Posted Hide Post
As Erik said, you can use 100% instead of a pixel value to fill the client area. But if you want to do it dynamically you can also change layer sizes.

Here's some reference material:

http://www.google.com/search?sourceid=navclient&q=javascript+layer+size+dynamically+change

-Derek
 
Posts: 793 | Location: Viewpoint, New York, New York | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community