| | |
auto resizing the web page help!!
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
design your layout, in em and %
no pixel layouts, no pixel font sizes,
set your image sizes, in px,
and float text around them dont try to rigidly structure it
dont expect the site to look the same,
if it looks the same 2048*1520 as it does 640*480,
it will look stupid on both
just make how it does look, look good
Mozilla, Opera, IE, Avant, text readers,
what happens if the next user is on a Mac, Safari looks different on a Mac to what it does on windows
just for self confidence, go here BrowserShots and put the url of a site you think is pretty good, into the system.
over the next few minutes it will load screen dumps of the site in dozens of different browsers and resolutions
Every site looks like **expletive deleted** in some combination of res and browser
no pixel layouts, no pixel font sizes,
set your image sizes, in px,
and float text around them dont try to rigidly structure it
dont expect the site to look the same,
if it looks the same 2048*1520 as it does 640*480,
it will look stupid on both
just make how it does look, look good
Mozilla, Opera, IE, Avant, text readers,
what happens if the next user is on a Mac, Safari looks different on a Mac to what it does on windows
just for self confidence, go here BrowserShots and put the url of a site you think is pretty good, into the system.
over the next few minutes it will load screen dumps of the site in dozens of different browsers and resolutions
Every site looks like **expletive deleted** in some combination of res and browser
Failure is not an option It's included free, you don't have to do anything to get it
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
•
•
Join Date: Mar 2009
Posts: 1
Reputation:
Solved Threads: 0
This is an example of the sort of thing I'm trying to achieve and I think it might be what theOP wants:
http://www.dannylane.co.uk/main.php#
The whole web page fits my browser window by just scaling up or down. It's done in Javascript but I think it uses an external file. I can make it work with an image file in Javascript or with frames in HTML but only pictures will resize and the code seems flakey.
Does anyone know how to do it?
http://www.dannylane.co.uk/main.php#
The whole web page fits my browser window by just scaling up or down. It's done in Javascript but I think it uses an external file. I can make it work with an image file in Javascript or with frames in HTML but only pictures will resize and the code seems flakey.
Does anyone know how to do it?
![]() |
Similar Threads
- Any way to see ALL code snippets? (DaniWeb Community Feedback)
- Auto replace hotlinked Image Javascript? (JavaScript / DHTML / AJAX)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Stop executing script
- Next Thread: w3schools examples don't work
| Thread Tools | Search this Thread |
Tag cloud for JavaScript / DHTML / AJAX
ajax ajaxexample ajaxjspservlets array autoplay blackjack browser captchaformproblem checkbox child class close codes date debugger dependent developer disablefirebug dom editor element embed engine events explorer ext file firefox flash form forms game gears getselection google gxt hiddenvalue highlightedword hint html ie7 ie8 iframe internet java javascript javascripthelp2020 jquery jsf jsfile jsp jump libcurl maps marquee masterpage math matrixcaptcha media mysql object onerror onmouseoutdivproblem onreadystatechange parent passing paypal pdf php player position post programming rated redirect runtime safari scriptlets scroll search security session shopping size software solutions star stars stretch synchronous toggle tweet unicode variables web webkit webservice window wysiwyg \n






