Inline Show/Hide toggle between 2 divs

Try this script block before end Body

<script id="domloaded" type="text/javascript">
document.observe("dom:loaded", function() { $('InitiallyHidden').hide();});
document.observe("dom:loaded", function() {
	$('ShowButton').observe('click', function(evt){
$('InitiallyHidden').show();
$('InitiallyVisible').hide();
	});
$('HideButton').observe('click', function(evt){
$('InitiallyHidden').hide();
$('InitiallyVisible').show();
	});
});
</script>

This could be rewritten to be much more concise and use other methods.

Remove the display:none attribute from InitiallyHidden in Extended

D


freewaytalk mailing list
email@hidden
Update your subscriptions at: