Results 1 to 15 of 15

Thread: ? re Page text enlarging

  1. #1
    Join Date
    3rd January 2005 - 11:00
    Bike
    All of them
    Location
    Brisvegas
    Posts
    12,472

    ? re Page text enlarging

    You know how on some newspaper pages there is an option to enlarge - zoom the text.

    Is that a java script?

  2. #2
    Join Date
    20th November 2002 - 11:00
    Bike
    SW-125R(F4-TF125), ZXRD400, RD250LC
    Location
    Wellington, New Zealand,
    Posts
    5,963
    Blog Entries
    36
    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...

  3. #3
    Join Date
    16th December 2007 - 12:29
    Bike
    2005 Triumph Speed Four
    Location
    Havelock North
    Posts
    1,235
    Firefox: View -> Zoom -> Zoom in (ctrl+ +)
    Manawatu Tag-o-rama Website. Mowgli's score: 38


  4. #4
    Join Date
    3rd January 2005 - 11:00
    Bike
    All of them
    Location
    Brisvegas
    Posts
    12,472
    Quote Originally Posted by Skunk View Post
    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.

  5. #5
    Join Date
    3rd January 2005 - 11:00
    Bike
    All of them
    Location
    Brisvegas
    Posts
    12,472
    Quote Originally Posted by mowgli View Post
    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.

  6. #6
    Join Date
    16th December 2007 - 12:29
    Bike
    2005 Triumph Speed Four
    Location
    Havelock North
    Posts
    1,235
    Quote Originally Posted by Big Dave View Post
    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.
    Manawatu Tag-o-rama Website. Mowgli's score: 38


  7. #7
    Join Date
    28th April 2004 - 11:42
    Bike
    tedium
    Location
    earth
    Posts
    3,526
    Javascript. Add an onclick event handler to invoke the appropriate function. eg
    onclick="changeFontSize(-1);return false;"
    Attached Files Attached Files
    Quote Originally Posted by Kickha
    Fuck off, cheese has no place in pies
    Quote Originally Posted by Akzle
    i would could and can, put a fat fuck down with a bit of brass.

  8. #8
    Join Date
    31st July 2005 - 21:18
    Bike
    99 RSV Matte Mille, Bus 150 & 121
    Location
    Kelson, Wgtn
    Posts
    5,693
    Quote Originally Posted by Big Dave View Post
    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?

  9. #9
    Join Date
    3rd July 2003 - 12:00
    Bike
    Scorpio, XL1200N
    Location
    forests of azure
    Posts
    9,398
    Quote Originally Posted by Big Dave View Post
    Taa - I'll research it. I'm doing a site for an aged care group.
    Just use blink tags everywhere.
    kiwibiker is full of love, an disrespect.
    - mikey

  10. #10
    Join Date
    3rd August 2006 - 19:35
    Bike
    B12
    Location
    West Auckland
    Posts
    2,800
    Hold CTRL and wheel your mouse wheel.
    Quote Originally Posted by NinjaNanna View Post
    Wasn't me officer, honest, it was that morcs guy.
    Quote Originally Posted by Littleman View Post
    Yeah I do recall, but dismissed it as being you when I saw both wheels on the ground.
    Quote Originally Posted by R6_kid View Post
    lulz, ever ridden a TL1000R? More to the point, ever ridden with teh Morcs? Didn't fink so.

  11. #11
    Join Date
    20th November 2002 - 11:00
    Bike
    SW-125R(F4-TF125), ZXRD400, RD250LC
    Location
    Wellington, New Zealand,
    Posts
    5,963
    Blog Entries
    36
    What did you use Dave?

  12. #12
    Join Date
    3rd January 2005 - 11:00
    Bike
    All of them
    Location
    Brisvegas
    Posts
    12,472
    Nothin' yet.
    I'll try scrachys script shortly.

  13. #13
    Join Date
    3rd January 2005 - 11:00
    Bike
    All of them
    Location
    Brisvegas
    Posts
    12,472
    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/dynamici...etswitcher.htm

  14. #14
    Join Date
    20th November 2002 - 11:00
    Bike
    SW-125R(F4-TF125), ZXRD400, RD250LC
    Location
    Wellington, New Zealand,
    Posts
    5,963
    Blog Entries
    36
    That's what I was thinking of... Might test that one myself.

  15. #15
    Join Date
    3rd January 2005 - 11:00
    Bike
    All of them
    Location
    Brisvegas
    Posts
    12,472
    Working really well.
    Sets a cookie every time font is changed but nothing sinister in the script as far as I can see.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •