| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Feb 2008
Posts: 51
|
How do I make it one button?
how do I make this one button ? It's one slide down and one slide up button now I want just one that does both. Here's the code: Code:
|
|
|
|
|
|
#3 (permalink) |
|
Registered User
Join Date: Feb 2008
Posts: 51
|
how about now ? Code:
|
|
|
|
#5 (permalink) |
|
Registered User
Join Date: Feb 2008
Posts: 51
|
Now ? Code:
sorry I don't have a link. |
|
|
|
#6 (permalink) |
|
Jack of all trades
|
Ok, the easiest way would be to have both of those, but hide one and show the other... then when it changes, show one and hide the other. You can do that by wrapping each in their own element, like a span with an id. Then hide one by default with a CSS class. When you click the one thats shown, change the class on the hidden one to make it show up, and then change the class on the one you clicked to hide it. They should appear to be just one link that updates. Something like this... this may not work but it should help to get you close. Code:
|
|
![]() |