Evertjan.
6/8/2015 5:45:00 PM
bit-naughty@hotmail.com wrote on 08 jun 2015 in comp.lang.javascript:
> OK, as I've said before here, I'm a beginner - for the purposes of this
> post, what I'm trying to do is pretty simple - when I click a particular
> link on a page, I want a blue box to fade onto the screen. How do I do
> that?
>
> The "box fade", I think I can look at my CSS book for. But how do I
> trigger the animation *when the link is clicked*?
You cannot "click a link".
A link is a way to go to another page, "html".
You probably mean "when an element is clicked".
Nowadays we do that with CSS, off topic on this NG.
> Does this have anything to do with className?
Please ask specific Qs.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)