I am having a problem with this, if you could help me I would really appreciate it. I uploaded the files to their respective spots on the server and installed the XML. It created the spoiler_template and spoiler shows up in the addons page, however it doesn't parse at all, I just getAwesome, thank you very much.
For all non-developers, including myself that took more than an hour to get this working, I will attach the add-on.
I installed this, and it kind of works. When I load or refresh a page with a spoiler, I can see the hidden text while the page loads, and it's only hidden when it has finished loading.
.bbCodeSpoiler .spoilerContent
{
display: none;
}
Thats absolutely intended. If you made the spoiler text hidden by default, then someone who doesn't have javascript enabled on their browser will NEVER be able to see the spoiler text. This way, the text is shown by default, and then hidden after it is confirmed that the user has javascript.I installed this, and it kind of works. When I load or refresh a page with a spoiler, I can see the hidden text while the page loads, and it's only hidden when it has finished loading.
How did you rename them and using only one button?Yup. You can see my test of it HERE.
Thats absolutely intended. If you made the spoiler text hidden by default, then someone who doesn't have javascript enabled on their browser will NEVER be able to see the spoiler text. This way, the text is shown by default, and then hidden after it is confirmed that the user has javascript.
This is something called graceful degradation and it is something very important to good design.
It would be easy to add this to Minorin.Have you been able to add this BB code to the TinyMCE editor?
Jaxel, any chance you can release this as a small addon with the installation included. You new style is nice and would love to implement this on my board. Have you been able to add this BB code to the TinyMCE editor?
I've updated the first post with my new HTML and CSS.That install doesn't have the phrases pre-installed or Jaxel's latest CSS work.
We use essential cookies to make this site work, and optional cookies to enhance your experience.