Support » Plugin: Collapse-O-Matic » How to use horizontal UL as trigger?

  • I am creating a class schedule chart. Under the day of the week, I want to display one horizontal list that indicates class time, name and teacher, like this:

    SUNDAY
    –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
    10:00-11:30am CLASS TITLE TEACHER NAME
    –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––

    I’d like the entire line (time, class, teacher) to be the trigger, that expands to show the class description. Can’t figure out how to indicate that the UL is the trigger. I would be open to having just the time be the trigger as well, but previous attempts break it out of the line.

    Any help much appreciated!

    http://wordpress.org/extend/plugins/jquery-collapse-o-matic/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Baden

    (@baden03)

    Link Please

    Hi Baden, thanks for responding. This link is to the layout only, as I have not been able to put it in code yet:
    https://www.dropbox.com/s/0f5d7mr1zont7g2/class_schedule.jpg

    Again, looking for the line that includes the class time and title to act as the trigger, which would drop down to show the class description area. I figured the line had to be coded as a horizontal UL, similar to a nav menu.

    Your help is much appreciated!

    Plugin Author Baden

    (@baden03)

    In the screenshot I see that only ONE item is clickable (the title) and this will expand the content below it. Do you no loner want all items on the line (time, title, teacher, level) to trigger the content? Also, have you read the documentation on the roll-your-own method?

    You are correct, that’s what the layout shows. I was considering having any of the words be clickable but if one word is a more feasible solution I can go with that. But I still have to have that content in a UL to display it that way (I think), which is where I get hung up.

    I have gone through the documentation but couldn’t translate any examples into how I could make a target out of a word (or words) enclosed in a list. Coding is not my forte, so it takes me a long time to wrap my head around these things.

    Hi Baden, Checking in…any suggestions or further thoughts you can share?

    thanks again.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to use horizontal UL as trigger?’ is closed to new replies.