Forum Discussion
WebObject and Storyline Variable
Hi!
I have a problem, I need to use a webobject with my project, but my webobject needs some informations. So, I put them in variables in Storyline and now my problem is how I can give them in the query string like this :
http://mywebobject.com/mysite.php?info1=VariableSL1&info2=VariableSL2
Do you have any idea?
Thank you very much!
Hi Zsolt,
Thanks for sharing here. As for the notifications perhaps they were disabled within your profile? If you're set to auto-subscribe that'll include you on threads on which you've replied and then you can control each individual thread using the "subscribe" button at the top or access the subscriptions from your profile.
Hi Richard! The last response from Zsolt on this thread was a while back and I'm not sure that he's still subscribed here. If you do not hear back soon, feel free to reach out to the user directly via the 'Contact Me' option on the user profile.
- ZsoltOlahSuper Hero
Yes, the link is dead because I changed jobs since the post and my Inkling account was deleted. Unfortunately, it took all the session info with it...
So, I reposted just the integration package and the demo here:
Thanks Zsolt :)
- CdeTorresCommunity Member
Is there a way to trigger different JavaScript elements depending on whether a course is being viewed with Flash or HTML5? How do we do this?
- JohnBoulayCommunity Member
Very helpful html5 test Matthew, love simplified code, thanks!
- LNoelJeffersonCommunity Member
I realize it has been some time since this last post, however, I'm still trying to get the above code to work. I found a storyline file that contained the the following script and it' works perfectly until you change the URL to something else. I've tried a number of different urls, but I'm not getting any of them to open. I can't even get https://www.articulate.com to open.
Ultimately, what I'm wanting to do is create a url by passing a a variable.
https://lab4.nog-oc.org/Variable1@netops.org/
I've tried everything with no luck. Anyone have any thoughts?
LaRhonda
- Jean-Guy-BoulayCommunity Member
I believe the function OpenWebObject was deprecated since "story.js" is no longer used.
You can target a web object (containing a transparent png) that you place in the story though.
I tried it out and it is loading with Jacqui Yoo's modified script (attached).
Alternatively, if you are feeling adventurous, you could create an iframe element dynamically and target its content window with your new URL. I've never done this with a full site, but I have done this with audio. I just don't know how it would impact the main storyline project. - LNoelJeffersonCommunity Member
Jean-Guy,
Thanks so much for your response.
LaRhonda
- KrisNCommunity Member
Just be mindful - iFrames break a lot of security; and in some browsers, don't function as they once did (part of this has to do with stricter https enforcement, and disallowing the behaviour that iFrames allowed). iFrame's were always "a bad idea(tm)" -- its just that they provided a work around for many for such a long time.