-
Switch Content II
1) Script Title:
Switch Content II
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...chcontent2.htm
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.
Last edited by Mminnig; 02-14-2007 at 03:38 PM.
Reason: additional info
-
-
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.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks