Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Harlow Cycling Links Trouble - more than one cycling link

I've got a lot of questions about this beast, enough that it probably merits a separate thread. (Some of them have already been brought up here . And I'm STILL flailing around.)

Thanks in advance for your patience and advice, everyone.

1. Does Furkle's java tweak (mentioned in the above link) only support the use of ONE cycling link per game? I've got one passage with a cycling link that works perfectly, and another passage with a cycling link (identical format) that creates an error message.
<img src="http://twinery.org/forum/uploads/Uploader/b6/e98396bf2044b0456c6229566115a2.png"; />

2. When I tested the "out" and "end" functions... They don't work as described in the guide to using the script. I found that "out" (NOT "end") makes the link vanish after the item preceeding it in the array is clicked. Meanwhile, "end" will remain clickable but does not cycle (like "out" is supposed to)... but the word "end" stays there rather than the item preceeding it. Hmmmmm.

Comments

  • Ugh, it looks like I goofed. I was trying to link to a post HERE in the first paragraph:

    http://twinery.org/forum/discussion/2878/problems-with-cycling-links-in-harlowe
  • I created the following simple test:
    cycle link 1: (set: $varA to "AAAA")<tw-link class='cyclingLink' data-cycling-texts='["AAAA", "BBBB", "CCCC"]' onclick='clickCyclingLink(this, "$varA");'>$varA</tw-link>
    
    cycle link 2: (set: $varB to "1111")<tw-link class='cyclingLink' data-cycling-texts='["1111", "2222", "3333"]' onclick='clickCyclingLink(this, "$varB");'>$varB</tw-link>
    
    ... and they both worked correctly without an error.

    One thing to note is that I used a different $variable for each of the cycle links. ($varA and $varB)
Sign In or Register to comment.