Forum Ford Club Polska

Forum Ford Club Polska (https://forum.fordclubpolska.org/index.php)
-   Wasze propozycje (https://forum.fordclubpolska.org/forumdisplay.php?f=116)
-   -   Nowy tag - [SPOILER] [/SPOILER] (https://forum.fordclubpolska.org/showthread.php?t=260604)

Eatal 17-03-2017 15:50

Nowy tag - [SPOILER] [/SPOILER]
 
Da rade to dokonfigurować?

[Only registered and activated users can see links. Click Here To Register...]

Kod:

<div style="margin:20px; margin-top:5px"> <form> <div class="smallfont" style="margin-bottom:2px"><b>Spoiler:</b> <input type="button" value="Show" style="width:45px;font-size:10px;margin:0px;padding:0px;" onClick="javascript:if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Show'; }"> </div> <div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;"> <div style="display: none;"> {param} </div> </div> </form> </div>

.:WiLu:. 27-03-2017 13:25

Odp: Nowy tag - [SPOILER] [/SPOILER]
 
Cześć,

dodatkowy BBCode spoiler został dodany. Aby z niego skorzystać należy między znaczniki ["spoiler"][/"spoiler"] wstawić tekst, który zostanie ukryty (znaczniki wpisujemy bez użytych w powyższym przykładzie apostrofów "").
Działaie przedstawione poniżej działania poniżej:

Spoiler:
Cytat:

Napisał Eatal (Post 2769852)
Da rade to dokonfigurować?

https://www.vbulletin.com/forum/foru...-a-spoiler-tag

Kod:

<div style="margin:20px; margin-top:5px"> <form> <div class="smallfont" style="margin-bottom:2px"><b>Spoiler:</b> <input type="button" value="Show" style="width:45px;font-size:10px;margin:0px;padding:0px;" onClick="javascript:if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Show'; }"> </div> <div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;"> <div style="display: none;"> {param} </div> </div> </form> </div>



Eatal 27-03-2017 16:37

Odp: Nowy tag - [SPOILER] [/SPOILER]
 
Super! Dziekuje!
Spoiler:

:one:



Czasy w strefie GMT +1. Teraz jest 11:22.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Tłumaczenie: vBHELP.pl - Polski Support vBulletin
części do Fordów - tarcze i klocki EBC
Regeneracja wtryskiwaczy - Regeneracja wtryskiwaczy benzynowych
Regeneracja turbosprężarek - Regeneracja czyszczenie filtrów DPF FAP
serwis komputerowy Białystok - naprawa laptopów


User Alert System provided by Advanced User Tagging (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.