Well, if you don't put this UL / LI things on the root level, you should be 
able to do whatever you want, setting your own CSS and JS files for it. Just 
put your stuff in a DIV like the followings

<body>

  <div id="lists" title="Lists">

    <a onclick="your_js_function">List tab 1</a>
    <ul id="list1">
      <li>item 1</li>
      <li>item 2</li>
      <li>item 3</li>
    </ul>

    <a onclick="your_js_function">List tab 2</a>
    <ul id="list2">
      <li>item 1</li>
      <li>item 2</li>
      <li>item 3</li>
    </ul>

    <a onclick="your_js_function">List tab 3</a>
    <ul id="list3">
      <li>item 1</li>
      <li>item 2</li>
      <li>item 3</li>
    </ul>

  </div>

</body>

R.

Le 30 juin 2010 à 04:37, Andrew a écrit :

> Hi Folks,
> 
> I was hoping to do something as described below with iUI.  Does anyone
> know if it is possible?
> 
> Say I have 3 lists:
> 
> <ul id="list1" title="List 1">
> <li>Item 1</li>
> <li>Item 2</li>
> <li>Item 3</li>
> </ul>
> <ul id="list2" title="List 2">
> <li>Item 1</li>
> <li>Item 2</li>
> <li>Item 3</li>
> </ul>
> <ul id="list3" title="List 3">
> <li>Item 1</li>
> <li>Item 2</li>
> <li>Item 3</li>
> </ul>
> 
> Is it possible to have this so that on page load List 1 is expanded,
> but the other two just show the "List 2" and "List 3" titles, so that
> when you click on either of  them they expand and the other lists
> collapse again?
> 
> I guess I'm envisaging something sort of like this menu:
> 
> http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu-apple.htm
> 
> Many thanks,
> Andrew.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "iPhoneWebDev" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/iphonewebdev?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en.

Reply via email to