View Full Version : ? re Page text enlarging
Big Dave
8th July 2008, 10:55
You know how on some newspaper pages there is an option to enlarge - zoom the text.
Is that a java script?
Skunk
8th July 2008, 11:12
Can be done with style sheets and dhtml I think too. I just let the users use their browser to do it.
If they need it they must know how...
mowgli
8th July 2008, 11:47
Firefox: View -> Zoom -> Zoom in (ctrl+ +)
Big Dave
8th July 2008, 11:47
Can be done with style sheets and dhtml I think too. I just let the users use their browser to do it.
If they need it they must know how...
Taa - I'll research it. I'm doing a site for an aged care group. It would be handy on each page.
Big Dave
8th July 2008, 11:50
Firefox: View -> Zoom -> Zoom in (ctrl+ +)
Yeah thanks - but see above. It's for old people. They do nae get that two buttons at once thingy.
mowgli
8th July 2008, 11:54
Yeah thanks - but see above. It's for old people. They do nae get that two buttons at once thingy.
In that case java is probably the easiest option. Heaps of examples available via Google. Just be sure to test it on as many platforms/browsers as you can. Java is not as standard as it purports to be.
scracha
8th July 2008, 12:20
Javascript. Add an onclick event handler to invoke the appropriate function. eg
onclick="changeFontSize(-1);return false;"
skelstar
8th July 2008, 12:21
It's for old people. They do nae get that two buttons at once thingy.
Put a proximity sensor on the screen so when they lean in to get a closer look, it enlarges the text for them auto-like.
That might be javascript?
jrandom
8th July 2008, 12:23
Taa - I'll research it. I'm doing a site for an aged care group.
Just use blink tags everywhere.
Morcs
8th July 2008, 12:45
Hold CTRL and wheel your mouse wheel.
Skunk
11th July 2008, 22:58
What did you use Dave?
Big Dave
12th July 2008, 00:02
Nothin' yet.
I'll try scrachys script shortly.
Big Dave
12th July 2008, 01:36
I couldn't get it to run on firefox. (on a mac)
But this looks like a good solution too.
CSS switcher. Just duplicate the style sheet and make the fonts bigger. Works nicely so far
http://www.dynamicdrive.com/dynamicindex9/stylesheetswitcher.htm
Skunk
12th July 2008, 10:55
That's what I was thinking of... Might test that one myself.
Big Dave
12th July 2008, 13:24
Working really well.
Sets a cookie every time font is changed but nothing sinister in the script as far as I can see.
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.