{"action":"created","issue":{"url":"https://api.github.com/repos/PixelsCommander/Propeller/issues/12","labels_url":"https://api.github.com/repos/PixelsCommander/Propeller/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/PixelsCommander/Propeller/issues/12/comments","events_url":"https://api.github.com/repos/PixelsCommander/Propeller/issues/12/events","html_url":"https://github.com/PixelsCommander/Propeller/issues/12","id":69644023,"number":12,"title":"Control from another div","user":{"login":"bryane92","id":11799755,"avatar_url":"https://avatars.githubusercontent.com/u/11799755?v=3","gravatar_id":"","url":"https://api.github.com/users/bryane92","html_url":"https://github.com/bryane92","followers_url":"https://api.github.com/users/bryane92/followers","following_url":"https://api.github.com/users/bryane92/following{/other_user}","gists_url":"https://api.github.com/users/bryane92/gists{/gist_id}","starred_url":"https://api.github.com/users/bryane92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryane92/subscriptions","organizations_url":"https://api.github.com/users/bryane92/orgs","repos_url":"https://api.github.com/users/bryane92/repos","events_url":"https://api.github.com/users/bryane92/events{/privacy}","received_events_url":"https://api.github.com/users/bryane92/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-20T17:54:25Z","updated_at":"2015-04-21T15:31:52Z","closed_at":"2015-04-20T18:42:42Z","body":"Is it possible to control the propellor from another div? I have a div called pano and when the mouse dras on that div I want my other div named ng to rotate instead of the pano div. Is this possible?"},"comment":{"url":"https://api.github.com/repos/PixelsCommander/Propeller/issues/comments/94839782","html_url":"https://github.com/PixelsCommander/Propeller/issues/12#issuecomment-94839782","issue_url":"https://api.github.com/repos/PixelsCommander/Propeller/issues/12","id":94839782,"user":{"login":"bryane92","id":11799755,"avatar_url":"https://avatars.githubusercontent.com/u/11799755?v=3","gravatar_id":"","url":"https://api.github.com/users/bryane92","html_url":"https://github.com/bryane92","followers_url":"https://api.github.com/users/bryane92/followers","following_url":"https://api.github.com/users/bryane92/following{/other_user}","gists_url":"https://api.github.com/users/bryane92/gists{/gist_id}","starred_url":"https://api.github.com/users/bryane92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryane92/subscriptions","organizations_url":"https://api.github.com/users/bryane92/orgs","repos_url":"https://api.github.com/users/bryane92/repos","events_url":"https://api.github.com/users/bryane92/events{/privacy}","received_events_url":"https://api.github.com/users/bryane92/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T15:31:52Z","updated_at":"2015-04-21T15:31:52Z","body":"Okay it works in either chrome or safari. But when you drag the panorama I\nwant the red dot with the green light coming off it to rotate so you can\nsee where you are looking. http://turing.plymouth.edu/~besopko/SnrProj/\n I've attached two files the propeller code is in index.html\n\nOn Tue, Apr 21, 2015 at 11:23 AM, Denis Radin <notifications@github.com>\nwrote:\n\n> Lets try to figure it out. Let me have a look at your project to get big\n> picture of what you are trying to achieve.\n>\n>\n> 2015-04-21 17:19 GMT+02:00 bryane92 <notifications@github.com>:\n>\n> > Denis,\n> >\n> > Thanks that helped but I cant seem to get the first div to not rotate. So\n> > now they just both rotate when i call onRotate for the first div heres\n> what\n> > I have\n> >\n> > var prop = new Propeller(document.getElementById('pano'),{\n> > angle:0,\n> >\n> > onRotate: function(){\n> >\n> > $(\"#naviGuy\").css(\"webkitTransform\",\n> > \"rotate(\"+this.angle+\"deg)\");\n> > console.log(this.angle);\n> >\n> > }\n> >\n> > });\n> >\n> >\n> > On Mon, Apr 20, 2015 at 2:42 PM, Denis Radin <notifications@github.com>\n> > wrote:\n> >\n> > > Closed #12 <https://github.com/PixelsCommander/Propeller/issues/12>.\n> > >\n> > > —\n> > > Reply to this email directly or view it on GitHub\n> > > <\n> https://github.com/PixelsCommander/Propeller/issues/12#event-285488773\n> > >.\n> >\n> > >\n> >\n> > —\n> > Reply to this email directly or view it on GitHub\n> > <\n> https://github.com/PixelsCommander/Propeller/issues/12#issuecomment-94836822\n> >\n>\n> > .\n> >\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/PixelsCommander/Propeller/issues/12#issuecomment-94837934>\n> .\n>\n"}}