This is a discussion on "Page Zoom" within the JavaScript Forum section. This forum, and the thread "Page Zoom are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Page Zoom
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Page Zoom
Hi all,
Am not sure if this is Java. I am after a web page zoom button. Cheers Daniel |
|
|
|
||||
|
Re: Page Zoom
Most broswers provide this functionality through "text-size" or "page zoom"...
It can be done with javascript using a combination of elastic css layouts and relative text sizing. Basically you have to set everything as a relative size, div widths, font sizes, border widths etc.. use em's as an example. You set the body to have base size of 1em then can resize it with javascript using something like
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 2 ondblclick handlers to zoom-in/zoom-out images | benreynolds4 | JavaScript Forum | 4 | May 23rd, 2008 19:39 |
| Scale/Zoom with AS | PixelLuv | Flash & Multimedia Forum | 8 | Mar 9th, 2007 22:26 |
| image zoom and scrollbar | neo007 | JavaScript Forum | 0 | Feb 15th, 2007 02:54 |
| page zoom issue with IE7 | badlyDrawnToy | Web Page Design | 0 | Jan 30th, 2007 15:57 |
| zoom and scroll | danieldear | Flash & Multimedia Forum | 6 | Jul 7th, 2006 20:45 |