I have done this before. The old way is to refresh the page. The new way is to 
toggle the rest of the content into view using Javascript.

Include JQuery

<div id="snip">
#left(var,500)#
</div>
<div id="btnA" 
onclick="$('#moreDiv').slideDown();$("#snip").hide()$(this).hide();$('#btnB').show()">MORE</div>
<div style="display:none" id="moreDiv">
#var#
</div>
<div style="display:none"  id="btnB" 
onclick="$('#moreDiv').show();$("#snip").show();$('#btnA').show();$(this).hide()">LESS</div>

Untested. You can put it into a function and pass in your div parameters, etc. 
Faster than reloading the page. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327929
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to