Hi Everyone,
I’m trying to use the Remote Actions Builder (https://myintuiface.intuilab.com/remote-actions-builder/ ) to trigger a change in my presentation. It works perfectly fine but the buttons I made using the outputted link from the builder takes the user to another page.
I need the link to trigger without taking the user away from the page they will be on. Assume that is possible but I can’t work it out.
Thanks,
James
Seb
August 4, 2016, 9:55am
2
Hi James,
I think you just need to do a GET call in your Button callback in javascript in your HTML file.
Ex below:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script>
nextSpace = function()
{
$.get("http://127.0.0.1:8000/intuifacepresentationplayer/presentation/Next?transition=Wipe&duration=&direction=Left%20to%20right");
}
</script>
<button style="width: 200px; height: 200px; background-color: grey;" name="button" onclick="nextSpace()">Next</button>
1 Like
Ok, that looks interesting and potentially like it might work. Will give it a whirl and feedback. Thanks
@Seb Sorry for the long, that worked fine.
However how can I use it to load a specific scene?
I tried:
http://10.0.0.152:8000/intuifacepresentationplayer/presentation/gotospace?target=1&transition=Wipe&duration=00:00:02
Having a scene called “1”
Thanks,
James
Seb
August 16, 2016, 1:44pm
5
Hi @jamesroseuk
I tried http://127.0.0.1:8000/intuifacepresentationplayer/presentation/GoToSpace?target=1 and it worked fine for me. Same with a transition parameter.
Check the uppercase / lowercase letters of GoToSpace
Seb
Thanks, sorted it now. Great.
1 Like