www.webdeveloper.com
Results 1 to 2 of 2

Thread: Dynamic text resizing?

  1. #1
    Join Date
    Aug 2005
    Location
    USA
    Posts
    116

    Dynamic text resizing?

    I found this website that the government has called 508, it deals with accessibility for website and such. I'm trying to incorporate something very similar to what they have on there page that would allow the end user to change font sizes. But, I need to accomplish this with out the use of JavaScripting. Does anyone have any ideas on how that might be accomplished? I'm thinking you could maybe use multiple style sheets, but it still seems like you would need some Javascripting to make that happen since the changes would be client side.

    Here's the website: http://www.section508.gov/

    Any ideas or leads would be greatly appreciated.

  2. #2
    Join Date
    Sep 2006
    Location
    Kentucky
    Posts
    56
    The best way would be the use of client-side scritping, JavaScript.

    You could use server-side scripting to accomplish this; however, this would require the page to reload itself after a font-change-click.

    There is AJAX, but that needs JavaScript as well.

    You can use multiple style sheets, but you would need a client-side way of switching the style sheets, which of course is JavaSript. Or create duplicate pages of content and when the user clicks a button or link, they are redirect to the bigger/smaller font sized page; however, that would double/triple/etc your work load due to the use of duplicating content.

    I believe you would have to use some JavaScript to accomplish this.
    Microsoft Certified Professional (MCP), future Microsoft Certified Database Administrator (MCDBA) - May 2007

    Programmer of ASP.NET 1.1/2.0, HTML, Classic ASP, CSS, SQL, JavaScript, VB, AJAX, XML.
    User of Photoshop, Illustrator, Visual Studios, SQL Enterprise Manager

    Sites: www.uscav.com, www.uscavonpoint.com

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
  •  
HTML5 Development Center



Recent Articles