View Full Version : Switch Content II

02-13-2007, 02:49 PM
1) Script Title:
Switch Content II
2) Script URL (on DD):
3) Describe problem:
I used a text link for one of my expand/contract elements instead of the usual plus/minus.gif and now I am having trouble getting the new area to contract by default. All of the other areas on the page contract automatically except the table referenced by the text link.

I simply switched this code:
<img src="img/minus.gif" class="showstate_vertical" onClick="expandcontent(this, 'login');">

With this code:
<a class="showstate_login" onClick="expandcontent(this, 'login');">Sign In</a>

I did add a new style to my css to format the text link, but I didn't see anything in the old showstate_vertical style that would have seemingly effected the expand/contract features.

The full page can be viewed at: http://www.kydex.com/test It is the "Sign-In" area in the upper right.

02-14-2007, 03:38 PM
Is there any additional information that I could provide to make it easier to trouble-shoot this? As you can see when you visit the link, the Sign-In area displays by default and I would like it to be hidden by default.

Any suggestions are greatly appreciated.