Search found 140 matches

by Don
Fri Mar 15, 2013 12:03 am
Forum: Pano2VR general
Topic: call api for source "press" action "pan right/left"
Replies: 11
Views: 4144

Re: call api for source "press" action "pan right/left"

...this works for me. Left Button: <input type="button" id="button1" value="Pan Left" onmousedown="javascript:pano.startAutorotate(-1,0,0);" onmouseup="javascript:pano.stopAutorotate();" /> Right Button: <input type="button" id="button2" value="Pan Right" onmousedown="javascript:pano.startAutorotate...
by Don
Wed Mar 13, 2013 4:27 pm
Forum: Pano2VR general
Topic: call api for source "press" action "pan right/left"
Replies: 11
Views: 4144

Re: call api for source "press" action "pan right/left"

Here is a list of events you can use. Each event on the list comes with an example: http://www.w3schools.com/jsref/dom_obj_event.asp Assigning the OnMouseDown event to a button in a form looks like this: <form> <input type="button" value="test button" onmousedown="javascript:alert('Hello World');" /...
by Don
Tue Mar 12, 2013 8:33 pm
Forum: Pano2VR general
Topic: call api for source "press" action "pan right/left"
Replies: 11
Views: 4144

Re: call api for source "press" action "pan right/left"

I assume you mean a button on the web page, not a button on the tour skin? Did you see this Garden Gnome example? http://gardengnomesoftware.com/wiki/Pano2VR_-_Flash_-_JavaScript_API I'm not sure how much you know about javascript, so here is a simple example of a button onClick event, in a form, on...
by Don
Sat Mar 09, 2013 1:32 am
Forum: Pano2VR general
Topic: Direct Node Access # Sign Removed by Web Server
Replies: 3
Views: 1798

Re: Direct Node Access # Sign Removed by Web Server

This works well for me and will handle additional future pan, tilt, and fov variables. I'm open to better ideas and expect to get better as I learn more about the Javascript API for HTML5 tours. Paste this javascript into the tour HTML file immediately after the <body> tag, and before any Garden Gno...
by Don
Thu Mar 07, 2013 5:01 pm
Forum: Pano2VR general
Topic: Direct Node Access # Sign Removed by Web Server
Replies: 3
Views: 1798

Direct Node Access # Sign Removed by Web Server

Direct Node Access uses a hash sign “#” before the word “node”. My web server (asp.net on IIS) removes all of the querystring beginning with the # sign to the Right. This is a common server side problem with hash signs (aka pound sign, anchor tag, actionlink) in the URL. Removal of the # occurs at t...