Tiny Spoiler

Kleines Plugin für Inhalte die nicht sofort sichtbar sein sollen. Zum Beispiel Spoiler oder Frage-Antwort-Spielchen.

top secret
shows/hides this text


spoiler 2
shows/hides another text


Download bei Wordpress

Tiny Spoiler 0.2


Contributors: Tom Braider
Donate link: http://www.unicef.org
Tags: spoiler, secret, post
Requires at least: 2.5
Tested up to: 2.7
Stable tag: 0.2

[spoiler name="top secret"]shows/hides this text[/spoiler]

Description


  • shows/hides text in spoiler shortcode
  • name of spoiler area can be given
  • only one little button [+] or [-]

Installation


  1. unzip plugin directory into the /wp-content/plugins/ directory
  2. activate the plugin through the Plugins menu in WordPress
  3. insert [spoiler name="top secret"]...[/spoiler] in your post or page

Frequently Asked Questions



Need Help? Find Bug?



read and write comments on plugin page

Who can i change the style?



You can change the Stylesheet in you own theme style.css.
.spoiler is the outer border/area.
.spoiler legend is the title.
.spoiler legend input is the button.
.spoiler div is the content area.

Screenshots


  1. 1. closed and open spoiler

Arbitrary section



Filelist
  • spoiler.php

Changelog

Version 0.2

new: several spoiler can have same name

Version 0.1
  • first release
created by Readme Parser

RSS-Feed 48 Kommentare

alle Kommentare anzeigen / show all comments
  1. r4ibOm sagt:

    strange, when I put in style.css not worked, I had to edit the spoiler.php to work, thx!

  2. r4ibOm sagt:

    I have to align the content of the spoiler in the center?

  3. [...] + 버튼으로 숨겨주고 보여주는 기능을 하는 플러그인 제작자 홈페이지: http://www.tomsdimension.de/wp-plugins/tiny-spoiler 경로: wordpresswp-contentplugins 에 추가 다운로드 링크: Tiny-Spoiler 0.2 [...]

  4. [...] Tiny Spoiler – Tiny Spoiler se utiliza para mostrar y ocultar fragmentos de texto. [...]

  5. sherly sagt:

    [spoiler]just testing spoiler tags in comment[/spoiler]

  6. Tathagata sagt:

    Your spoiler uses a plus and a hyphen-minus signs for the hide/show button. But the hyphen-minus has different level and narrower than the horizontal bar of the plus in many typefaces (e.g. Arial). That make it looks kind of awkward while triggering that button.

    It would be very nice if you fix that by using a minus sign instead of a hyphen-minus in your spoiler plugin (spoiler.php). You can put this symbol (a minus sign) using HTML mnemonics (&minus or &#x2212) or just from your keybord as other Unicode symbols (depends on your operating system).

    Thanks for your Tiny Spoiler plugin.

    • Tom sagt:

      Sorry, i can’t change the code to &minus. Then the button shows &minus instead of -. Javascript issue?
      But i set the size of the button per CSS. See the sample. So it looks nice.

Kommentare Seite:«123
alle Kommentare anzeigen / show all comments

Kommentar schreiben




Quicktags:

Stoppt die Vorratsdatenspeicherung! Jetzt klicken & handeln!Willst du auch bei der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien:
Tiny Corner