Dynamic Size

Discussion corner for Developers of Serendipity.
Post Reply
davidbeckam
Posts: 1
Joined: Fri Jul 31, 2009 5:14 am

Dynamic Size

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Dynamic Size

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
onli
Regular
Posts: 2828
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Dynamic Size

Post by onli »

With JavaScript, you could manipulate the css, and so achieve a zoom. http://docs.jquery.com/CSS/css could help.
sincerely
fernandos
Posts: 1
Joined: Sat Nov 28, 2009 11:08 am

Re: Dynamic Size

Post 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.
Post Reply