I tried adding a third smaller font size. I added the css fiile, but don't know jazvascript well.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | fontsize.txt | 2.71 KB | bman-1 |
I tried adding a third smaller font size. I added the css fiile, but don't know jazvascript well.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | fontsize.txt | 2.71 KB | bman-1 |
Comments
Comment #1
bman-1 commentedFirst of all, I've never posted before, so let me know if my etiquite is off...
I don't know js, but managed to figure this out with my limited knowledge of C/C++ and copying and pasting;) In 3 steps:
1)I made a file called small.css comprised of html and "{" font-size: 90%; "}"
2)in fontsize.module in fontsize_menu I added a new line right before the javascript line. It looks exactly like the normal.css line, only with small.css substitued for normal.css.
3)in fontsize_block in fontsize.module I added a new line after the line for normal. It looks exactly like the normal.css line, only with small.css and 90% in the proper places.
I can't get this to let me post the actual code, so I'll try to upload it in a .txt file. Also, I have a larger.css file, which appears in my code.
Comment #2
drummThe fontsize module is no longer maintained.