Installation Instructions:
1) Place ubbc.js (from your Public HTML folder) inside the main YaBB Folder, so the Mod can find it!
2) Install the Mod
3) Upload YaBBC.pl to your Sources Directory
4) Upload Post.pl to your Sources Directory
5) Upload Maximize.gif, Minimize.gif and hidden.gif to your Images directory.
6) Move ubbc.js back to the Public HTML folder, and upload it!
^_ Go to Top _^
Hidden text Examples:
The easiest way to insert a Spoiler is to just type:
[hidden] Hidden Text Goes Here [/hidden]
[EXAMPLE]
H i d d e n T e x t :
|
|
|
This will create a table with a Maximize button and a Minimize button.
When you click on Maximize, it will display another table below it
where the hidden text is displayed, thus, it remains a secret until
you click on Maximize! You can also press Minimize to hide it again.
|
^_ Go to Top _^
If you add the Title atribute, then you can chose a custom title to be
displayed instead of the default "H i d d e n T e x t" that appears
in the first table. This is how you do it:
[hidden title=Your Custom Title Goes Here] Hidden Text! [/hidden]
[EXAMPLE]
My very own title!
|
|
|
This is basically exactly the same as Example 1, yet you get to add your very own title! Neat!
|
^_ Go to Top _^
The other atribute that exists in the Style atribute.
the Default Style is Style 1, which is just the same as not writing style at all.
If you choose style 2, then the whole Spoiler changes. Style two does
not have the Maximize/Minimize buttons, and is always displayed, yet
to have it be hidden, the background color and text color of the new
tables are the same color, so it appears as if there is no text, until
you click and drag inside the table, revealing the text word by word.
Here you also have a Title, which is displayed in a color
that is always visible. You can change the style like so:
[hidden style=2] Hidden Text, Select it to View! [/hidden]
[EXAMPLE]
Hidden Select text to view!
|
This is style 2, which is completly different from Style 1, yet still pretty cool.
Note that you can change the above two (2), for a one (1), to make it be exactly
the same as if you did not put the style atribute at all.
|
^_ Go to Top _^
You can add a title even though you already added the style atribute, just do it
like this:
[hidden style=2 title=Title Goes Here] This is the Hidden Text [/hidden]
[EXAMPLE]
My own 'lil Title! =) Muahaha Select text to view!
|
Here just make sure you have the Title atribute displayed after the style atribute. If not, then your style tag will be part of the title! =)
|
^_ Go to Top _^
Tips, Tricks, and Things to Know!
1) If you write two of the exactly same kind of Spoilers, then it will mess up.
But there is an easy way to get around this: If the tags are of slightly
different form, then it will work! I dont mean different title, I mean
different form... Examples:
[hidden] Hidden Text Goes Here [/hidden]
[hidden] More Text Goes Here [/hidden]
This will mess up the page!
While the following will not:
[hidden] Hidden Text Goes Here [/hidden]
[hidden style=1] Works Perfect [/hidden]
These two will work, because the code is different, Yet they have absolutly no visual differences!
[hidden title=Here's my title!] Hidden Text Goes Here [/hidden]
[hidden style=1] Hidden Text Goes Here [/hidden]
[hidden style=1 title=Here's my title!] Hidden Text Goes Here [/hidden]
[hidden] Hidden Text Goes Here [/hidden]
All this will not mess up the post! They all look the same (except for the
title on two of them) but they are different, so they do not conflict with
eachother. Now, if your Spoiler is of Style 2, then you can have unlimited
number of them, without having ANY conflicts, even if they are exactly the
same. So this is a Pro for Style 2!
^_ Go to Top _^
2) What you can use this Mod for:
Lets say you have a lot of code, yet using the [code] [/code] tag will still
make a huge page full of code if it is a lot of it, but if you enclose it in
something like [hidden title=CODE] ... Code goes Here ... [/hidden] then it
all is enclosed in a small area that is scrollable, so it does not use up the
whole page!
You can use it for what it was meant to be used for, a Spoiler.
This way, if you are writing say a game or movie review, and are talking about
a secret part of about the ending, then you can enclose it in this tag, and
people will only read it if they WANT to!
^_ Go to Top _^
Version History:
Version 2.0
- Works in Netscape (Both Styles)!
- There is now two styles to chose from!
- You can now use more then one (Style 1) Spoiler per Post! (up to 4) ... Read "tips and tricks" to find out how.
- Added this handy Manual
Version 1.0
-First Release! Welcome SpoilerMod!
^_ Go to Top _^
Copyright and Contact Info.
This was made by Chicano and Darkened (muahaha!). You can use freely and do
whatever you want to, but please do not edit it and re-release it! If
you have ideas, send them to us, and we will implement them in the next
release (with Credit to you of course!) Also, you may re-distribute this
zip file, as long as all its contents remain intact. (You may add other
files, like your own ReadMe or something, but please leave the files already in here,
completly alone).
Contact:
Chicano's Email is elchicano99@yahoo.com
Darkened's Email is zeke_summers@yahoo.com
^_ Go to Top _^
Thanks for using our Mod!!!
If you find any errors or TipOhZ in this Manual, then please send a message to Chicano describing it and stuff... so we can fix it in the next release.