WordPress.org

Ready to get started?Download WordPress

Forums

Collapse-O-Matic
How to use horizontal UL as trigger? (6 posts)

  1. rkread59
    Member
    Posted 1 year ago #

    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/

  2. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    Link Please

  3. rkread59
    Member
    Posted 1 year ago #

    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!

  4. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    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?

  5. rkread59
    Member
    Posted 1 year ago #

    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.

  6. rkread59
    Member
    Posted 1 year ago #

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

    thanks again.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic