Forum Autoresize?


Subject: Forum Autoresize?
www.portalpez.com

When you navigate at resolution of 1024x768 the forum show well, but if you navigate at resolution of 800x600 the forum is so large and not show well. Is there a funtion to autoresize?

Could you help me to solve this problem?

Thanks you very much!

Subject: Re: Forum Autoresize?
If you maximise the window, then the broweser contents should fit to that window, regardless of resultion.

That said, it is possible to obtain a user's screen resultion in javascript, using screen.width and screen.height variables (this depends on the browser supporting this, but as most people are using the latest versions of the different browsers, there shouldn't be any probs). With the size information, one could put a javascript window resize function in overall_header.tpl. Javascript is the only way to get this sort of information about the client environment.

This is a nice little tutorial on javascript size detection:
http://www.phpbuddy.com/article.php?id=8

and this is a nice tutorial on using javascript to resize windows (nice in that it mentions the differences between IE and Netscape/Mozilla):
http://www.javascripter.net/faq/resizing.htm

Profile PM  

Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1604s (PHP: 10% SQL: 90%)
SQL queries: 10 - Debug Off - GZIP Enabled