Mortgage Calculator - Bleach 151 . Bleach 152 - Loans - Military Videos - Loans

PDA

View Full Version : Small help with expand/collapse form needed


mickscool
Nov 3rd 2007, 2:25 pm
Hi Friends,
I have this piece of code where a user clicks "show form" and a form shows up,and when the user clicks "hide" form,the form hides.I want to always show the form and remove this show/hide option. Here's the code:
****************************************************************
<div id="collapsed" class="usrcomment">
<div class="expand-collapse"><a onMouseOver="this.style.cursor='pointer'" onMouseOut="this.style.cursor='default'" onClick="return mxfunc('expanded', 'collapsed')">SHOW_FORM</a></div>
</div>

<div id="expanded" class="usrcomment-expand">
<div class="expand-collapse"><a onMouseOver="this.style.cursor='pointer'" onMouseOut="this.style.cursor='default'" onClick="return mxfunc('collapsed', 'expanded')">HIDE_FORM</a></div>

****************************************************************
Can someone please help me. Basically, i want to take out this "return mxfunc('expanded', 'collapsed')" out of the onClick action and show it directly.

Please help guys...