Close div when clicked
Close div when clicked
Out of context: Reply #12
- Started
- Last post
- 25 Responses
- ********0
Giving a class to the objects you want to hide-on-click will futureproof your page a bit. If you just targetted div, it means any element on the page you decide to add later on that happens to be a div will fade-on-click.