At 3/26/2007 09:19 AM, Kenny Graham wrote:
I don't understand what you mean when you say this involves recursion.

(a)<-+
|   |
(b)  |
|   |
(c)--+
|
(d)

If C takes the route back to A, the whole thing starts back over, so
you'd end up with infinitely nested lists.  The only way I can think
of getting around that would be if there were an idref attribute to
embed list items, so you could have <li id="a"> at the top, and then
for C you'd have <li link="a">.  That'd be.... fun.


Well, I'm not so sure this is an example of recursion, rather just a simple loop.

We can certainly use anchors to link from one item to another, but you'd have to decide on a convention for linking to two different destinations. Perhaps something like this (caps used for visual clarity):

<ol>
        <li id="a">A <a href="b">PROCEED TO B</a></li>

        <li id="b">B <a href="c">PROCEED TO C</a></li>

<li id="c">C <a href="d">PROCEED TO D</a> <a href="a">LOOP BACK TO A</a></li>

        <li id="d">D</li>
</ol>

Regards,

Paul
__________________________

Paul Novitski
Juniper Webcraft Ltd.
http://juniperwebcraft.com


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to