Click to See Complete Forum and Search --> : Check boxes as headers?


redakasasha
06-23-2005, 01:44 PM
I need to make a list but instead of bullets I need check boxes. Can someone help me out?
Thanks.

felgall
06-23-2005, 04:44 PM
For non-working checkboxes use <ul style="list-style-type:square;">

For working checkboxes you will need to put the checkboxes into the links separately.

redakasasha
06-24-2005, 02:20 PM
I tried that but there was one problem. I am trying to make a folding menu tree. which does something like:

-Item 1 (unclicked)
-Item 2 (unclicked)
-Item 3 (unclicked)

-Item 1 (if you click on it)
-item1 a
-item1 b
-Item 2 (unclicked)
-Item 3 (unclicked)


so when I tried puting in the checkboxes in the links what it did was rather than expanding the subitems it expands the checkbox or if I have the checkbox infront of the item then it expands the item. Anyone know what I can do to fix that? That part of my code for 2 items looks like this:


i was puting the checkbox code where Item 1 is

<li id="foldheader" title="Item 1">Item 1</li>
<ul id="foldinglist" style="display:none" style=&{head};>
<li><a href="url:1 ">item 1 a</a></li>
<li><a href="url:2 ">item 1 b</a></li>
</ul>

<li id="foldheader" title="Item 2">Item 2</li>
<ul id="foldinglist" style="display:none" style=&{head};>
<li><a href="url:1 ">item 2 a</a></li>
<li><a href="url:2 ">item 2 b</a></li>
</ul>

ray326
06-24-2005, 06:53 PM
Are these "checkboxes" just decoration or do you expect them to be functional?