How to make a spoiler. Options

There are a lot of people who want to create sites. Most users learn this on their own, using different sources. And, of course, there are concepts that future owners have not even heard of. But if you got down to business, then you need to study it thoroughly. Therefore, the article will examine in detail the question of how to make a spoiler on your resource.

We begin, naturally, with the very concept of what it is and what this object will be needed for. So, quite often on the websites there is information of various kinds, which (for various reasons) must initially be hidden from visitors. That is, it’s not that it should not be shown at all, but simply provided only at will. Here is the spoiler in html just for this and used. It saves originally hidden content for the site. But this is not reflected in any way when ranking a resource by search engines, since for them this design is open and there is no negative influence. Any hidden information is disclosed when you click on the specified link.

, , , ? . , , , . , , ( ). . , , .





, . , . , , .. -. html- input class="button". , , , .

, Ucoz. , . – . – , . , , , , , . , , .

, , WordPress. Advanced Spoiler, . :

- ;

- - ( – Total Commander);

- ;

- , « – » . . , , , html, «Spoiler». [spoiler][/spoiler] . , .

, . jQuery «» JS, , . , , . , , CSS- .splCont{display:none; padding:3px 5px;}. , . , – . , , ... .




All Articles