MyBB Community Forums
Online Hidden like Spoiler - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Online Hidden like Spoiler (/thread-207058.html)



Online Hidden like Spoiler - Nasyr - 2017-01-01

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.


RE: Online Hidden like Spoiler - Matt - 2017-01-01

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.


RE: Online Hidden like Spoiler - Nasyr - 2017-01-01

(2017-01-01, 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.