User:Seaside98/Sandbox/Box2

$('.show-hide > .toggle-show-hide').toggle('slow',function {	$(this).parent.children('.spoilerTrigger').html('Hide spoiler');	$(this).parent.children('.spoilerText').toggle;},	function {		$(this).parent.children('.spoilerTrigger').html('Show spoiler');		$(this).parent.children('.spoilerText').toggle;	} ); $('.show-hide > .toggle-show-hide').mouseenter(function {	$('.text-show-hide').toggle('fast');       $('.toggle-show-hide').html('Hide'); }); $('.show-hide > .toggle-show-hide').mouseleave(function {	$('.text-show-hide').toggle('slow');       $('.toggle-show-hide').html('Show'); });

$('.spoiler > .spoilerTrigger').toggle(function {	$(this).parent.children('.spoilerTrigger').html('Hide spoiler');	$(this).parent.children('.spoilerText').toggle;},	function {		$(this).parent.children('.spoilerTrigger').html('Show spoiler');		$(this).parent.children('.spoilerText').toggle;	} );