Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 21 Sep 2012, 23:24
Lilmikeishere Lilmikeishere is offline
 
Join Date: Dec 2008
jQuery slideUp() and slideDown() problem

I'm trying to make it so when you click a button, information appears and when you click it again, it slides back.

CSS:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

HTML:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Script:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

It works but only for the first poster.
Reply With Quote
  #2  
Old 21 Sep 2012, 23:47
AcheronAI's Avatar
AcheronAI AcheronAI is offline
 
Join Date: Aug 2012
Because the first button is named the same as the rest, they each need to be different if I am not mistaken, like mybutton1 mybutton2
Reply With Quote
  #3  
Old 21 Sep 2012, 23:53
Lilmikeishere Lilmikeishere is offline
 
Join Date: Dec 2008
Originally Posted by AcheronAI View Post
Because the first button is named the same as the rest, they each need to be different if I am not mistaken, like mybutton1 mybutton2
The purpose is for the button to make the text slide out, and then slide in after another click.
Reply With Quote
  #4  
Old 22 Sep 2012, 00:01
AcheronAI's Avatar
AcheronAI AcheronAI is offline
 
Join Date: Aug 2012
Yes but if there is more then one button they each need their own id's
Reply With Quote
  #5  
Old 22 Sep 2012, 00:13
Lilmikeishere Lilmikeishere is offline
 
Join Date: Dec 2008
Originally Posted by AcheronAI View Post
Yes but if there is more then one button they each need their own id's
I see only a single button.
Reply With Quote
  #6  
Old 23 Sep 2012, 17:05
Lilmikeishere Lilmikeishere is offline
 
Join Date: Dec 2008
Switched the id to classes and it works now for all the boxes but the first poster of the thread controls them all the page of posts.
Reply With Quote
  #7  
Old 27 Sep 2012, 18:05
Scanu's Avatar
Scanu Scanu is offline
 
Join Date: Nov 2010
You can take a look to my mod "collapsible sognature" it does it in a hacky way
Reply With Quote
  #8  
Old 28 Sep 2012, 18:32
Lilmikeishere Lilmikeishere is offline
 
Join Date: Dec 2008
Originally Posted by Scanu View Post
You can take a look to my mod "collapsible sognature" it does it in a hacky way
I'm assuming your mod mimics a hide/show or a spoiler button. That can be done with HTML and I'm currently using that but I would really like to get the sliding effect to work.
Reply With Quote
  #9  
Old 02 Oct 2012, 18:17
Scanu's Avatar
Scanu Scanu is offline
 
Join Date: Nov 2010
It use a jquery slide effect
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 17:54.

Layout Options | Width: Wide Color: