Page 1 of 1

Dynamic Size

Posted: Sat Aug 01, 2009 10:29 am
by davidbeckam
Hi!

Is there anyway in HTML (I would prefer this) or PHP to create a button that allows you to "zoom" or make the web page larger and smaller?

The effect I'm referring to is the same as when you press (on a mac) cmd and + and (i think) on a pc ctrl and +

Any ideas? Thanks in advance

Re: Dynamic Size

Posted: Sat Aug 01, 2009 12:06 pm
by garvinhicking
AFAIK, there is no such thing.

You can use HTML+Javascript to use different stylehseets, but then you need a stylesheet for each "zoom level" that you want to offer, with specific font and aother sizes.

If there is another way, you might want to search for a web developer forum, there could be more people with knowledge about this, than here on the Serendipity boards, where we are more Serendipity specific...

HTH,

Garvin

Re: Dynamic Size

Posted: Sat Aug 01, 2009 2:51 pm
by onli
With JavaScript, you could manipulate the css, and so achieve a zoom. http://docs.jquery.com/CSS/css could help.
sincerely

Re: Dynamic Size

Posted: Sat Nov 28, 2009 11:14 am
by fernandos
Page Zoom Buttons is an add-on for Firefox that allows you to control the full page zoom feature that is in Firefox 3.