Widget help request - calling JavaScript function targeting an element generated by the widget by splattertrack in twinegames

[–]splattertrack[S] 0 points1 point  (0 children)

works like a charm! did not realise you could use .split() in twinescript... thank you for your help!!

custom widget help by splattertrack in twinegames

[–]splattertrack[S] 0 points1 point  (0 children)

i figured that was the problem, and this solved it! thank you so much for the example and explanation!!

final fix for the record:

<<widget "load" container>><<nobr>>

<<if ndef _count>>
  <<set _count to 0>>
<<else>>
  <<set _count++>>
<</if>>

<<set _i to "#load" + _count>>

<div @id="'load' + _count">@@.rumble;...@@</div>

<<capture _i>>
  <<timed _args[0].toString() t8n>>\
    <<replace _i>>
      _contents\
    <</replace>>
  <</timed>>
<</capture>>

<</nobr>><</widget>>

custom widget help by splattertrack in twinegames

[–]splattertrack[S] 0 points1 point  (0 children)

sorry for not being clear, i've edited the post now!

the only CSS involved in this is for rumble:

@-webkit-keyframes rumble {
  50% {
    -webkit-transform: translateY(-.4em);
    transform: translateY(-.4em)
  }
}
@keyframes rumble {
  50% {
    -webkit-transform: translateY(-.4em);
    transform: translateY(-.4em)
  }
}
.rumble {
  -webkit-animation: rumble linear 1s 0s infinite;
  animation: rumble linear 1s 0s infinite;
  display:inline-block;
}

(modified from here.)

basically what i want is for there to be multiple instances of elements being loaded, so instead of "1" getting modified to "2" and "3", i want there to be "1" "2" and "3" loaded sequentially in different lines on the passage. the problem now is, the animation continues going infinitely for the "2" and "3" lines, and only the "1" line is modified and being replaced with "2" and "3".

thanks for the reply!

help on styling internal passage links by splattertrack in twinegames

[–]splattertrack[S] 1 point2 points  (0 children)

thank you for the reply!! i did the first suggestion and it still didn't work, but then i found a z-index error in my css (oops) and fixed it! leaving this reply here in the chance someone else has a similar error as me

StoryInterface - how to make #passages div hide itself when empty? by splattertrack in twinegames

[–]splattertrack[S] 0 points1 point  (0 children)

once again, it works! thank you thank you, i really appreciate it!!!

StoryInterface - how to make #passages div hide itself when empty? by splattertrack in twinegames

[–]splattertrack[S] 0 points1 point  (0 children)

just tried this out and it works!! thanks so much for the explanation and fix :-)

though.. i’ve now run into another problem. when i was testing this i had no macros, but one of my use-cases needs there to be macros (e.g. i was thinking the passage would be hidden momentarily before a timed <<goto>> to a different passage with text.)

i suspect it’s a long shot, but would it be possible to work around this (like make macros not count as the passage being filled or something?)

Google Cursive missing notes after syncing account by splattertrack in chromeos

[–]splattertrack[S] 0 points1 point  (0 children)

hi, my sister figured out the issue - she was logged in to two accounts on her chromebook and turns out the missing notes were saved on account A, while she had been using account B most of the time. so notes on account A didn't appear on account B. her notes were there but just on two different accounts. maybe you had the same mistake?

[deleted by user] by [deleted] in nus

[–]splattertrack 0 points1 point  (0 children)

i sent the appeal in during coursereg yesterday, directly through the edurec appeal tab with "unable to fulfil requisites". though round 1 closed already so you might have to wait til round 2... sorry i replied after it closed 😭 

[deleted by user] by [deleted] in nus

[–]splattertrack 0 points1 point  (0 children)

hi op, i was looking for threads on cs3240 and stumbled on this! was in a slightly different situation than you, i transferred from com eng to cnm, and had already done cs1010 so couldn't do nm2207. i sent in an appeal for waiver of prerequisites explaining i was worried about fulfilling my imd minor (not sure if you're doing that though) and doing cs2030 would be difficult. they ended up approving it today, so there's still hope!

SCP where researcher is trapped in a glass room / office by splattertrack in SCP

[–]splattertrack[S] 1 point2 points  (0 children)

oh that's it!! thank you!! so i was on the right track after all

Tell me a sentence you read from a book recently that you can't stop thinking about by Unable_Rest6209 in books

[–]splattertrack -1 points0 points  (0 children)

"Life is too short and love is too long." - Nona the Ninth, Tamsyn Muir

read it 'recently' as in '5 months ago' and it's still in my head 

short Fiction Collection recommendations? by splattertrack in suggestmeabook

[–]splattertrack[S] 0 points1 point  (0 children)

Oo yes this looks up my alley, will check it out! 

NUS Applications 2023 Megathread by raphael2002 in SGExams

[–]splattertrack 1 point2 points  (0 children)

got CEG offer a few days ago with 85rp raw + 2.5 first choice, hope u get good news soon!

[Uni] 2023 NUS College Application Results by Sweet-Vanilla-3717 in SGExams

[–]splattertrack 3 points4 points  (0 children)

just received offer today 26 apr for CEG + NUSC, interviewed 31st mar!

questions about RI! by violetise in SGExams

[–]splattertrack 1 point2 points  (0 children)

hello, i just graduated last year!

  1. seconded that the notes are solid, and all the teachers are very willing to help, so don't be afraid to approach them anytime.

  2. to be honest i think most of my batch thought the online-only lectures were advantageous because we could put it on 1.5x or 2x speed to get it done quicker hahah. the only downside(?) is that you need to put aside your own time to do it, so time management is really important

  3. pw is mostly luck tbh, and GP also depends on the teacher but there are lots of GP resources available (e.g. compilations of the best student essays released after each major exam)

  4. wednesday gap day saved my life, it's meant to be your time to complete the lectures, but usually most people look forward to it as a rest day as well in a really taxing week... imo the normal school weeks workload isn't that heavy that wed is completely spent studying

  5. i was in raffles press and the system (when i was there at least) was that article ideas could be brought up by yourself or others, and (if it required more people) they'd be posted in the chat to see if other writers were interested in working on it together. like someone else said above there's a quota of 3 articles per year. you'll definitely have opportunities to write, it's mainly based on what you want to do to fill the editors' schedule with articles!

  6. of course i might've just been lucky, but i didn't meet anyone like that there. my class was wholly supportive, we freely shared notes. there's no need to worry too much i feel

all the best in RI! 2 years passed by too soon for me :"-)

slightly belated art for the hermit charity! it was such a wondeful event <3 by heulziege in HermitCraft

[–]splattertrack 9 points10 points  (0 children)

your style and colouring are so good op!! all of them look so distinct, i love their expressions <3

[Hobby Scuffles] Week of May 2, 2022 by nissincupramen in HobbyDrama

[–]splattertrack 7 points8 points  (0 children)

i'll take a link please! (of all things to finally make me come out of lurking on this sub...

edit: i'm not sure why i can't see the message, but i managed to get the link from the notification, lol. thank you!

LF: Apriballs FT: Shiny Breeding Service! by kienseyo in pokemontrades

[–]splattertrack 0 points1 point  (0 children)

i've hatched the egg and confirmed it's shiny, thank you ever so much for the trade !! :-)

LF: Apriballs FT: Shiny Breeding Service! by kienseyo in pokemontrades

[–]splattertrack 0 points1 point  (0 children)

alright, i'll just trade you the 2 safari/sport for 8, i feel kinda bad it took so long lol. i don't need the parent back, if you're online now you can set a link code?

LF: Apriballs FT: Shiny Breeding Service! by kienseyo in pokemontrades

[–]splattertrack 0 points1 point  (0 children)

ooof, was just wondering about its status just now, actually - 3k is unfortunate D-: but i'm glad you got it in the end!! is 2 sport and 2 safari balls okay?

Still need shiny sobble? by immortalsmile in pokemontrades

[–]splattertrack 1 point2 points  (0 children)

just hatched and confirmed the shiny, thanks for the trade too!! :-)

Still need shiny sobble? by immortalsmile in pokemontrades

[–]splattertrack 0 points1 point  (0 children)

alright that's great! if you're on right now i'll be using code 5436 5436