Drunkard's Walk Forums
test - spoiler tag - Printable Version

+- Drunkard's Walk Forums (http://www.accessdenied-rms.net/forums)
+-- Forum: General (http://www.accessdenied-rms.net/forums/forumdisplay.php?fid=1)
+--- Forum: Forums (http://www.accessdenied-rms.net/forums/forumdisplay.php?fid=3)
+--- Thread: test - spoiler tag (/showthread.php?tid=13942)



test - spoiler tag - robkelk - 09-14-2020

this is not spoilered
EDIT: Okay, it works as designed here. So why can't I reveal the spoiler in this post by clicking on it?


RE: test - spoiler tag - classicdrogn - 09-14-2020

... huh. I have no idea. Since I leave scripts turned off, the spoiler buttons never work for me anyway (I either hit Reply or turn off CSS to see what's in them) and I didn't notice. Maybe it's the links inside the tags? Not that that would make sense either, but it's the only thing I can think of.


RE: test - spoiler tag - robkelk - 09-14-2020

EDIT: Spoiler with one link works as designed - but it's a pretty simple link.


RE: test - spoiler tag - Bob Schroeck - 09-14-2020

It's a good question overall. I noticed the problem late last night, but was sufficiently drowsy that I didn't want to try to puzzle it out then.

I do know that the board markup works as a simple find-n-replace that substitutes predefined HTML markup when generating the page code but because the spoilers are implemented as a plug-in, I can't just look at what they use without diving into the SQL table behind the custom MyCode. What I do recall from when I first added it to the board was that it's just a div with the relevant visibility features toggling. Why it seems to break when there's more than one link in it, I don't know. Yet.