1
indaya
working on CSS
  • 2004/9/25 8:52

  • indaya

  • Just popping in

  • Posts: 7

  • Since: 2004/9/2 8


Hi guys:

I`m making a new module, but i`ll need some information about how can I change de fonts size by a link.

I don`t know if some of you have seen some of this page than in the top have images, and once you make click there the font size change, some thing like this is what I want.

If some boddy can give me a hand with it I`ll apresiere it too much

greetings

2
JMorris
Re: working on CSS
  • 2004/9/25 13:30

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


Here's a basic example of how to change font size on hover:
{font-size12px;}
a:hover {font-size14px;}

You can use the same method for several effects like swapping background images
{background-imageurl(img1.gif);}
a:hover {background-imageurl(img2.gif);}

....adding text decorations
{text-decorationnone;}
a:hover {text-decorationunderline overline;}

....changing text color
{color#990000;}
a:hover {color#FF0000;}

....or any combination thereof
{
font-size12px;
color#990000;
text-decorationnone;
}
a:hover {
font-size14px;
color#FF0000;
text-decorationunderline overline;
}

Of course, there's a ton more that can be done; this is just a basic example.

Hope this helps.

JMorris

3
JasonMR
Re: working on CSS
  • 2004/9/25 13:43

  • JasonMR

  • Just can't stay away

  • Posts: 655

  • Since: 2004/6/21


I believe JMorris got the question wrong, while providing a valid answer (that hopefully will answer someone elses questions).

The parent is asking for changing the size of a pages font rendering. This is done via stylesheet switching.

I use the UC Berkeley liquid theme, which has this integrated.
Have a look athttp://jason.jayro.net.

I have named the links
- Cramped
- Conventional
- Considerable
...just to be different

You may want to take a look at this theme, and see if it helps you.

ps: I'm currently integrating WF sections into my site (even if one shouldn't do so with a beta-I know, but I'm confident and backed-up), so please excuse the mess!

4
JMorris
Re: working on CSS
  • 2004/9/25 15:16

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


Thanks JasonMR. I guess I did misunderstand what was being asked.

5
indaya
Re: working on CSS
  • 2004/9/25 22:58

  • indaya

  • Just popping in

  • Posts: 7

  • Since: 2004/9/2 8


Is the same than JasonMR says, thanks, and thanks to JMorris too.

Seeya guys

6
Alan-A
Re: working on CSS
  • 2004/9/28 12:46

  • Alan-A

  • Not too shy to talk

  • Posts: 191

  • Since: 2004/2/17


Hi,
am I right in seeing that we have here a tool with wich we can significantly improve the accessibility of XOOPS sites for visually impared users?
Or does style sheet switching cause problems with the other possibilities available such as magnifiers?
Best wishes,
Alan

Login

Who's Online

201 user(s) are online (117 user(s) are browsing Support Forums)


Members: 0


Guests: 201


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits