View Full Version : A+ A- text size
thomas
03-21-2006, 12:28 PM
Just wondering if anyone had a script for the text size change
A+ A- which alot of people use to make there site more accessible and user friendly?
ill have a look around and post my responces as well
bopheim
03-21-2006, 01:37 PM
I believe that the script is just a css file switcher.. A very good article about it over at Alistapart.com (http://www.alistapart.com/stories/alternate/)
thomas
03-21-2006, 01:44 PM
ive found this one here http://www.dynamicdrive.com/dynamicindex9/textsizer.htm
kristoz
03-21-2006, 03:51 PM
Could someone add this script to subdreamer...
abcohen
03-21-2006, 04:43 PM
well you could just use the script from this skin (all you need to do is load different CSS files) with different text sizes
thomas
03-21-2006, 09:13 PM
<div class='quotetop'>QUOTE(abcohen @ Mar 22 2006, 04:43 AM) 4690</div>
well you could just use the script from this skin (all you need to do is load different CSS files) with different text sizes
[/b]
Thanks guys, 2 options i need to decide on.
Both have there pros and cons. Ive implemented the script i found, and just testing a range of options.
you can see it at beetlehosting.com
Adam - ill try swapping css too :P
kristoz
03-22-2006, 07:05 AM
How can I do that, like the thing is I would like to add this A+ A- to news system.
Example:
TITLE OF NEWS
Date added
Print | Email | + Larger Font | + Smaller Font
news text
-----------------------------------------------------------------------------
All these would be icons not text:
Print | Email | + Larger Font | + Smaller Font
And the thing is I would like to do like when I click Larger font then text will increase or decrease in news not anywhere else! I hope you understand what I mean. Could someone help me to do it?
thomas
03-22-2006, 07:45 AM
i believe you can target certain div tags, and you would need to mod the news plugin to make those changes
but as adam pointed out, you could do this easly with swapping the style sheets
paranoid
12-06-2007, 07:57 AM
Hey guys, sorry for dragging up such an old thread.
I have got this working on a test page on my site. The only thing is we want the change to be global ie if you change the text size on one page, then go to another page, the text stays the same size instead of reverting to the default.
Is this possible?
Robert_J_Ellis
12-06-2007, 09:58 AM
This is possible,
but truly this is something for the subdreamer CMS team to implement. Having a certain class to disallow this is crucial. Therefore, by creating a plugin to do this is quite costly to other developers here. Only by a standard, can this feature be used within the limitiations which the developer sets.
I plan on attempting something of this nature, and the class of "sd_noresize" is what I will use from now on to prevent any breaking of divs, tables, categories and so on.
paranoid
12-06-2007, 10:11 AM
Thanks for your reply.
:)
72dpi
12-17-2007, 06:05 AM
oops, missed this one:
http://www.72dpi.net.au/Downloads/p13_sectionid/2/p13_fileid/5
U just need to mod your CSS, to use ems or %, not px. Explained on the download page..
Robert_J_Ellis
12-17-2007, 06:12 AM
Using ems is not a very good idea, since mac and linux and older windows versions. Truly a substandard percentage rule, as it differs from system to system.
Take my advice and stick to point (pt). In all essences it is superiour - because originally it was designed for type writers it is a standard. Typewriters, both electronic and not have been around for a lot longer than the internet - see the way.
Not windows, not mac, not linux, it is a universal rule - as such how can one discount its amazingly versatile nature? I cannot - and neither should anyone who uses font for web applications. I use to think pixels were better, yet I was wrong.
Ems are an amazing advance, but because every browser developer, and os provider keep fighting over what is right and what is wrong there is no standard. Just like firefox, and internet explorer there are always unfortunate, and unexpected results. I do love the css way, but css zealots often do dismiss the realities of real world dillemas.
72dpi
12-20-2007, 10:52 AM
Sorry Robert, i gotta disagree with you on this.
http://www.w3.org/QA/Tips/font-size
If it's good enough for w3c to use em's, then it's all good for me.
Browsers are moving forward. I don't care if there are slight variations in looks across browsers, developers have enough trouble as it is. e cannot make sites look exactly the same on every browser.
I'll stick with ems, but some nice history & points made, cheers..
Robert_J_Ellis
12-20-2007, 07:14 PM
Sure, to each his own mate :). I just like everything to stay even crossbrowser.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.