Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post 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!
 




____________
Acuarios, mascotas
Forografia, fotos
Informatica, pc
 
portalpezSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post 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
 



 
moreteavicarSend private message  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
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


  

 

  cron