SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Dec 2010
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Toggle All Open / Closed: with toggles opened and closed on load

    Hi
    I am not a js developer. Using js libraries, and a slowing increasing understanding I have created a number of "toggles" for clients. I am stumped on this one. The client wants a number of toggles on a page. Some of them will be open by default when the page loads and some of them will be closed. I can do this. Then there will be a "meta-toggle" at the top of the page which will allow the user to toggle all the toggles into an open or a closed position. I have used "accordion toggle" to create a page with a number of toggles which are all closed by default when the page loads -- and the html page has a meta-toggle at top to open and close all the previously closed (or then opened) toggles -- but the open and closed default on load with a meta-toggle has me completely stumped. Can anyone help???

  2. #2
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    5,938
    Mentioned
    214 Post(s)
    Tagged
    12 Thread(s)
    Hi,

    Welcome to the forums

    Quote Originally Posted by dmenyuk View Post
    Can anyone help???
    Probably. We would need to see some HTML and JS first, though.
    If possible, please use this template to make a short example that reproduces your issue.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •