FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Script

 


Dakafall
I need a script that will change the resolution of my website to the size of my viewers screen, so that when they look at it it will be the same size as there browser. Or at least I need a script that will center my site...

I really need this....

Thanks!

-Dakafall
badai
i don't have the "universal" script, but what i did is use floating div that will be position and resize according to inner width/height of browser.
X3 Talk
Sounds a little difficult. Although, there may be some new backdoor of doing it.
badai
no, it's not that difficult. all u need is a ratio of top left position and width/height of each div depend on inner width/height of browser.

first create your website as usual, get all the position and dimension of all your div and resolution of your screen. do a screen cap of your website, open up image editor, resize the cap to other "resolution" and if your image editor support it, when you move your mouse around it will show the position of your cursor, and from there you can get the different position and dimension of all you divs (don't have to be really accurate), and from there you can calculate the ratio for top-left position, width and height for whatever screen resolution the user set.
Reply to topic    Frihost Forum Index -> Miscellaneous -> Marketplace

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.