User:LionsPhil/TemplateHide: Difference between revisions

From questden
Jump to navigationJump to search
m (Experimenting. I'm not sure inline JS is even let through.)
 
m (JS is verboten. I don't believe this will work either.)
 
Line 1: Line 1:
<noinclude>'''Prototype.''' Don't use this.</noinclude><includeonly
<noinclude>'''Prototype.''' Don't use this.</noinclude><includeonly
><div><div style="color: white; background-color: black;" onclick="alert('clicked');">Hide/show</div><div>{{{1}}}</div></div
><style type="text/css">
.hideheading { color: white; background-color: black; }
.hideobscurer { z-index: 1; pointer-events: none; background-color: black; }
.hideobscurer:hover { background-color: transparent; }
.hidecontent { z-index: 0; }
</style><div><div class="hideheading">Hover to reveal</div><div class="hideobscurer"><div class="hidecontent">{{{1}}}</div></div></div
></includeonly>
></includeonly>

Latest revision as of 04:12, 27 July 2013

Prototype. Don't use this.