in reply to Re^6: Challenge: Hidden Message (click here)
in thread Challenge: Hidden Message

Ah, I see we've got a design conflict between the old design and the new design.

Yep, thats it in a nutshell. :-)

Make sense?

I think so. To recap the essence: make showspoiler additive in some situations, make showspoiler handle ID as well as ID-N, with the former meaning 'for all N'. Introduce new links and reorganize.

Oh, I like it by the way. Except maybe the last two links, i wonder if they should only show up once per node, probably on the first spoiler.

---
$world=~s/war/peace/g

  • Comment on Re^7: Challenge: Hidden Message (click here)

Replies are listed 'Best First'.
Re^8: Challenge: Hidden Message (click here)
by tye (Sage) on May 11, 2006 at 18:53 UTC

    Yes, extra links only on the first spoiler would probably be good.

    - tye        

      Is it about right now? And i assume we are trying to minimize calls to linkNode()? Thats why we are doing the tricks with s///? (I have a weird feeling I should be asking myself that :-)

      ---
      $world=~s/war/peace/g

        No, you've got 5 links showing not 3(max) and the wording doesn't make sense to me, offering to "reveal ... only this node".

        I showed two lines, one for nodes with multiple spoilers, one for nodes with a single spoiler. I'm not sure what all of the extra links are for but I don't have time to look further at this time.

        - tye