media 65
Home | Login | Register | Password Reset |

Media 65 Technologies | Beta 0.6 |
User Name:   Password: 

Password Reset
Close


Go Back   Media 65 Forums > Joomla > Joomla Templates

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 01-11-2008, 05:50 AM
Junior Member
 
Join Date: Jan 2008
Posts: 3
Default Accessibility Buttons

Hi there, I'm working on a template for our new site using your template designer product, which has been an excellent purchase!

I'm wanting to add to the template, buttons that change the size of the text and also the contrast of the colours for people with viewing difficulties.

I've seen this kind of feature on some Joomla sites and would love to add it to mine!

Does anyone have any experience of these features and would they care to share?

Cheers

Leigh
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-12-2008, 04:48 AM
Administrator
 
Join Date: Sep 2006
Posts: 316
Wink

HI I can explain the full code because it gets to long.

Here is the idea.
1. JavaScript
2. CSS files or code that overwritten via JavaScript write value to document.

With just plain JavaScript you can change the properties of any HTML
tag like the Body tag you can change the background color font size etc..

with an <a href="#" onclick= somefunction(); event added to the links like 50 80 100 percent page
width.

you have the CSS change to another if if X link is clicked.

you will also need to write a cookie so that when the user clicks a
link on the page the users choices of font and colors are remembered for that user.

here is an example of a CSS switcher.
Dynamic Drive DHTML Scripts- Style Sheet Switcher (v1.1)

Good resource
JavaScript Tutorial

As for font sizes I personally think if needed to see a web page
in a large font. I would have my browser setup that why and not
have to wait for a web designer to think of me.

Some stuff we web designers do is just nuts if you think about it.
Anyway I hope that above links help you on your design.

Cheers,
Brian

Last edited by admin; 01-12-2008 at 04:51 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT -4. The time now is 06:34 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0