The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Producing a nested collapsible list for a sidebar
Melinda
post Mar 7 2012, 11:29 AM
Post #1





Group: Members
Posts: 3
Joined: 6-March 12
Member No.: 16,648



Hi,

Could I get some assistance with producing code for a collapsible list please?

Ive fond some tags/ code but I dont know what the ahref should refer to.

CODE
<ul id="someID">
  <li>The January Garden
    <ul><a href="java script:cl_expcol('ex3');">[+]</a>
      <li><a href="someHref">The lawn</a></li>
      <li><a href="someHref">The Greenhouse</a></li>
      <li><a href="someHref">Vegetables</a></li>
      <li><a href="someHref">FRuit</a></li>
    </ul>
  </li>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
Melinda
post Mar 7 2012, 12:55 PM
Post #2





Group: Members
Posts: 3
Joined: 6-March 12
Member No.: 16,648



Sorry for not explaining more clearly.

I would like a list of the months of the year with a nested list of gardening activities inside.

When the activity is clicked, it should link to that activity in the specific month.

But I dont want the activities to be visible all the time- hence the need for it to be collapsible

This post has been edited by Melinda: Mar 7 2012, 12:55 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th March 2024 - 02:20 AM