MyBB Community Forums

Full Version: Online Hidden like Spoiler
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This isn't really a general support thread more for like my own curiosity. I seen a forum which has the currently online hidden, similar to a spoiler, you click it and it'll show you who is online.

[Image: 291e2717e2cb61f4a4cf64147763ddf4.png]

Anybody got any ideas? I tried a few things and came to no joy a while back. Still really curious on this matter.
Probably something like this:

<div style="display:none" onclick="javascript:this.style.display='block';">hidden until clicked</div>
The div would then be hidden until you click it.
(01-01-2017, 10:38 PM)Matt Wrote: [ -> ]Probably something like this:

<div style="display:none" onclick="javascript:this.style.display='block';">hidden until clicked</div>
The div would then be hidden until you click it.

I had to do some messing about with it on a local host but it worked eventually.