Questions about this topic? Sign up to ask in the talk tab.
Difference between revisions of "Template:Exploitation"
From NetSec
m (moved User:Hatter/Template:SH to Template:SH) |
|||
Line 3: | Line 3: | ||
function toggle() { | function toggle() { | ||
$('#display_text').html($('#hidden_display').html()); | $('#display_text').html($('#hidden_display').html()); | ||
− | $('#hidetext').html(' | + | $('#hidetext').html($('#hide_msg').html()); |
$('#hidetext').attr('onClick','vape();'); | $('#hidetext').attr('onClick','vape();'); | ||
} | } | ||
function vape() { | function vape() { | ||
$('#display_text').html(''); | $('#display_text').html(''); | ||
− | $('#hidetext').html(' | + | $('#hidetext').html($('#show_msg').html()); |
$('#hidetext').attr('onClick','toggle();'); | $('#hidetext').attr('onClick','toggle();'); | ||
} | } | ||
− | |||
</script> | </script> | ||
<a id='hidetext' onclick="toggle();">{{{2}}}</a><br /> | <a id='hidetext' onclick="toggle();">{{{2}}}</a><br /> | ||
<div id='display_text'></div></html> | <div id='display_text'></div></html> | ||
<div id='hidden_display' style='visibility:hidden;'>{{{1}}}</div> | <div id='hidden_display' style='visibility:hidden;'>{{{1}}}</div> | ||
+ | <div id='hide_msg' style='visibility:hidden;'>{{{3}}}</div> | ||
+ | <div id='show_msg' style='visibility:hidden;'>{{{2}}}</div> |
Revision as of 08:03, 29 April 2012
{{{3}}}
{{{2}}}