Re: JavaScript, Browser Object, VR with Hotspots?

2017-02-05 Thread Sannyasin Brahmanathaswami via use-livecode
right, you will not be the first one to change file on his own machine think it would magically appear in his browser. time for either a nap or a swim. and "duh" here too… seems the 360 pano in native LC has been a long running topic on the forums already since 2007

Re: JavaScript, Browser Object, VR with Hotspots?

2017-02-05 Thread Mike Bonner via use-livecode
Yeah, pretty sure that will work. I just can't test it locally because I'm not set up to actually be able to test. (the project comes with a bunch of stuff, but doesn't function (missing resources I'm sure) when I try to point to the local file. Still feel silly that I was editing local files..

Re: JavaScript, Browser Object, VR with Hotspots?

2017-02-05 Thread Sannyasin Brahmanathaswami via use-livecode
On 2/5/17, 12:08 PM, "use-livecode on behalf of Mike Bonner via use-livecode" wrote: Thx for the info. Honestly, all I want is for the example in the dictionary to work for me. (and yes, the javascript

Re: JavaScript, Browser Object, VR with Hotspots?

2017-02-05 Thread Mike Bonner via use-livecode
Nevermind, user error. It doesn't matter how many changes I make to local files when i'm actually pointing to an external web page. On Sun, Feb 5, 2017 at 3:08 PM, Mike Bonner wrote: > Thx for the info. Honestly, all I want is for the example in the > dictionary to work

Re: JavaScript, Browser Object, VR with Hotspots?

2017-02-05 Thread Mike Bonner via use-livecode
Thx for the info. Honestly, all I want is for the example in the dictionary to work for me. (and yes, the javascript causes the lc side handler to fire, but.. No parameters passed.) I'll read through the stuff you linked and see what I can learn. Thanks! On Sun, Feb 5, 2017 at 1:41 PM,

Re: JavaScript, Browser Object, VR with Hotspots?

2017-02-05 Thread Sannyasin Brahmanathaswami via use-livecode
Actually you can get it here: http://livecodeshare.runrev.com/stack/817/LC-to-JS-Data-Transfer On 2/5/17, 10:28 AM, "use-livecode on behalf of Sannyasin Brahmanathaswami via use-livecode" wrote: Getting

Re: JavaScript, Browser Object, VR with Hotspots?

2017-02-05 Thread Sannyasin Brahmanathaswami via use-livecode
FYI Mike, Getting those params over to LC is doable… Jonathan wrote me off line.. I will email you a small stack he created that works and perhaps will suffice for your needs. But, beware, you may head into this thinking "Wow, this is so cool. We could do a lot with this." Hold your horses,

Re: JavaScript, Browser Object, VR with Hotspots?

2017-02-05 Thread Mike Bonner via use-livecode
Strange. I've been messing with your project and have some ideas, but I've run into a blocker. I can't seem to get javascript params to pass to the lc handler. The handler fires as expected, but params are empty. *sigh* On Fri, Feb 3, 2017 at 12:26 PM, Richmond Mathewson via use-livecode <

Re: JavaScript, Browser Object, VR with Hotspots?

2017-02-03 Thread Richmond Mathewson via use-livecode
This could be effected as an extension of what I posted here: http://forums.livecode.com/viewtopic.php?f=10=28749=150876#p150876 As my example involves showing a series of static images inside a graphic object "frame" the hotspots might prove 'fun' to make; but I should think, ultimately,

Re: JavaScript, Browser Object, VR with Hotspots?

2017-02-03 Thread JOHN PATTEN via use-livecode
Thanks Mike! I posted this question on Pano2VR ggnome forum with a little animation of the particular challenge. https://ggnome.com/forum/viewtopic.php?f=13=11663 There may be folks interested in what Livecode could do for their workflow

Re: JavaScript, Browser Object, VR with Hotspots?

2017-02-02 Thread Mike Bonner via use-livecode
Hmm. NO easy way to see the critical stuff from here but I found this post. https://ggnome.com/forum/viewtopic.php?f=6=9123=35818=custom+function+hotspot#p35818 I think the key is to do similar to what is being done in the post. Basically,pass the value of me.hotspot.id to livecode as part of

Re: JavaScript, Browser Object, VR with Hotspots?

2017-02-02 Thread JOHN PATTEN via use-livecode
Hi All, I managed to trial and error together a working html5 panorama using Pan2VR (http://ggnome.com/pano2vr ). The interface of their software allows you to attach a javascript action to a vr hotspot. The interface creates the following javascript for the hotspot

Re: JavaScript, Browser Object, VR with Hotspots?

2017-01-30 Thread Mike Bonner via use-livecode
Depending on what version of LC you're using,k and if you're using the widget, or openrevbrowser look at revBrowserAddJavascriptHandler in the dictionary. If using the widget, use the dropdown to select the browser widget in the dictionary and look at the javascripthandlers property. On Mon,

JavaScript, Browser Object, VR with Hotspots?

2017-01-30 Thread JOHN PATTEN via use-livecode
Hi All, I’m not sure if this is possible with Livecode, but I thought I’d ask anyways. I have a html5 panorama I created in a trial version of Pano2VR. I posted it up here: http://jpatten.on-rev.com/vrjs/index.html This pano has one hot spot that