I am working on a tease and would like for a notification to redisplay 5 seconds after its been pressed. I tried creating a eval action with get("edge"); (edge is the notificationID of the notification I want to display.
Looking at the instance members in the API reference it doesn't look like there is an easy way to display a notification with javascript.
Is there something I'm missing or maybe another way to do this?
Thanks a ton!
EOS tease ditor question
-
stardustafterdark
- Curious Newbie

- Posts: 3
- Joined: Fri Jan 07, 2022 1:13 am
-
undeniable_denial
- Explorer At Heart

- Posts: 110
- Joined: Sat Aug 24, 2019 11:42 am
- Gender: Male
- Location: Germany
Re: EOS tease ditor question
I guess not. What you can do is make a dedicated page for the notification creation and use dynamic gotos.
store the current page in a variable:
last_page=pages.getCurrentPageId()
then on button press go back to your notification page and after creation have a goto-action with toggled "eval" to last_page to continue were you left.
You'd just have to work around your dialog, maybe accept some repetition or skipping since pages start at the top.
store the current page in a variable:
last_page=pages.getCurrentPageId()
then on button press go back to your notification page and after creation have a goto-action with toggled "eval" to last_page to continue were you left.
You'd just have to work around your dialog, maybe accept some repetition or skipping since pages start at the top.
- PlayfulGuy
- Experimentor

- Posts: 1084
- Joined: Sat Jul 07, 2012 10:08 pm
- Gender: Male
- Sexual Orientation: Bisexual/Bi-Curious
- I am a: Switch
- Dom/me(s): No domme
- Sub/Slave(s): No sub
- Location: British Columbia, Canada
Re: EOS tease ditor question
I did up a demo on counting edges for someone else a while back.
You can preview it here,
https://milovana.com/webteases/showtease.php?id=54659&key=3501decd8f
and review the code to see how it's done.
Each time you click the edged button it counts the edge, says "Edged" to acknowledge it, and recreates itself. Basically it's a series of notifications within notifications.
I modified the "Counting Edges 2" example to include a 5 second delay before adding the Edged button back.
Hopefully it helps you out.
PG
You can preview it here,
https://milovana.com/webteases/showtease.php?id=54659&key=3501decd8f
and review the code to see how it's done.
Each time you click the edged button it counts the edge, says "Edged" to acknowledge it, and recreates itself. Basically it's a series of notifications within notifications.
I modified the "Counting Edges 2" example to include a 5 second delay before adding the Edged button back.
Hopefully it helps you out.
PG
I'd rather be stroking!
New tease downloader for GuideMe with EOS support.
Downloads of teases I've converted to GuideMe
New tease downloader for GuideMe with EOS support.
Downloads of teases I've converted to GuideMe
