With this tutorial you will have a button to show/hide the message (like a spoiler for all the pages)
if(document.getElementById(divId).style.display == 'none')
document.getElementById(divId).style.display = 'none';
This will show you the button to click to show/hide
And this code will contain the message!
[b]Note: Paste this two latest codes in the same place[/b]
<div class="mid" id="HiddenDiv" style="DISPLAY: none" >
This text was hidden
Customize the tutorial
You can change text style and the messages
Here you are a demo of this: http://codes.forumotion.co.uk/h7-hide-show
|The tutorial was tested on this forum and with the browser Google Chrome; If you notice that the tutorial doesn't work for a browser or for a version of forum (PhpBB2, PhpBB3, PunBB, Invision) contact an administrator and we will fill this field with your reporting.|
Thanks, the staff
|For every problem or question please, contact us in the section Support for the tutorials, The staff will answer you as soon as it is possible...|
The team of the Forum of Codes.