Jump to content

Jquery Slide Toggle Effect Customization


Recommended Posts

Hello guys, I would really appreciate if you guys can point out or help me with some minor customization on codes for  "Jquery Slide Toggle Effect" that can be seen here:

https://www.w3schools.com/jquery/tryit.asp?filename=tryjquery_slide_toggle

 

When you click on header or text or button whatsoever, a content will appear or display, it will also slide up when clicked back.

Now, I create a multiple section or toggle to display and hide, but the problem is the other toggles won't close automatically when I open other toggle.

Is there a way or some code to add so it closes the other toggles when you open up a new toggle?

Hope this is clear or please let me know if you guys need more information.

 

Thanks guys.

Lorienz

Link to post
Share on other sites

There could be many things going wrong here, but we won't know it until you include some code. Try the forum's code block feature.

XcQfW3F.png

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...