Spoiler code/tags
Spoiler code/tags
On other forums (forum.guru3d.com as example) you can use in order to hide text either to prevent spoiler (in case of that forum games/movies/etc) or when you have large massive amounts of text you can hide the text in there until someone clicks on it and it expands. Could we get such of a thing working on here?
Spoiler:
I am the Watcher.
I am the Wanderer.
I am the Whisper.
I am the Warden.
I am the Weaver.
I am the Wanderer.
I am the Whisper.
I am the Warden.
I am the Weaver.
Re: Spoiler code/tags
Yes, I think this should be possible, the forum lets you define custom BBCode...
Might need to tweak it a little, let's see..
Might need to tweak it a little, let's see..
Re: Spoiler code/tags
Ok, I think it's working, not sure why it's not working above for me right now... Might need some stylesheet adjustments, will give it a proper test here...
(generated with http://www.lipsum.ahyeah.nl/ from twitter with the term Shaman)
If it looks wrong I'll tweak the stylesheets until it's right...
Spoiler: Lorem Ipsum 2.0
If it looks wrong I'll tweak the stylesheets until it's right...
Re: Spoiler code/tags
Well it works as spoiler, but as I mentioned some places its called "code" if you go to guru3d you can see an example of what I meant, it takes text of any lengths and hides it in a compressed "click to reveal" box. It allows you to have tons of lengthy text without it stretching threads to cosmic levels.
I am the Watcher.
I am the Wanderer.
I am the Whisper.
I am the Warden.
I am the Weaver.
I am the Wanderer.
I am the Whisper.
I am the Warden.
I am the Weaver.
Re: Spoiler code/tags
I am the Watcher.
I am the Wanderer.
I am the Whisper.
I am the Warden.
I am the Weaver.
I am the Wanderer.
I am the Whisper.
I am the Warden.
I am the Weaver.
Re: Spoiler code/tags
Suggestion someone gave here http://www.modphpbb3.com/viewtopic.php?f=17&t=403#
The current spoiler= will shrink it, but not until after you reveal and rehide it, still making the page huge.
The current spoiler= will shrink it, but not until after you reveal and rehide it, still making the page huge.
I am the Watcher.
I am the Wanderer.
I am the Whisper.
I am the Warden.
I am the Weaver.
I am the Wanderer.
I am the Whisper.
I am the Warden.
I am the Weaver.
Re: Spoiler code/tags
Yeah, looking into the javascript just now, need to resize it with javascript when the page loads, because setting it to a collapsed height in css makes it behave strangely when you expand it, I'm researching a little as javascript isn't my forte but I am comfortable to make the modification, with a little help from Google
hopefully get it working soon...

Re: Spoiler code/tags
I've just re-read your post, sorry, got a bit excitable [rofl] and implemented the tags there, it should support both types: spoiler and spoiler=, will do a little test..
Hopefully this works 
Spoiler:
Spoiler: Test..

Re: Spoiler code/tags
Awesome ^_^ Great idea, thank you again 

Re: Spoiler code/tags
amazing Sweet!
I am the Watcher.
I am the Wanderer.
I am the Whisper.
I am the Warden.
I am the Weaver.
I am the Wanderer.
I am the Whisper.
I am the Warden.
I am the Weaver.