Good morning gentlemen, all right?
I made a script in jquery to rotate an icon , I wonder if I can boot it into my tour, and if so how?
Inserting jquery scripts in my tour
-
-
krpano can do most or a lot of the interesting effects that jquery can do. I would suggest trying that first.
tween(layer[icon].rotate,360); etc..otherwise, you can put your icon as a div or span, make it look right with css, and set your krpano wmode to "opaque"? so that the icon will appear over the player. then you put your jquery in a function, and call that with krpanos js();
the drawback for that is, flash fullscreen mode will hide any html overlays, so you have to try webkit fullscreen. -
Assim que eu uso?
how to use tween(layer[icon].rotate,360);?
costaria of aplicalo that my plugin:
<plugin
name="logoGyro"
url="skin/logoGyro.png"
keep="true"
devices="all"
visible="false"
enabled="true"
handcursor="true"
align="rightbottom"
onClick = "switch(fullscreen); openUrl(http://www.gyro.com.br,_blank)"
zorder="99"
x="10"
y="10"
/>already taking other doubts . you can tell me why the openUrl ( http : //http://www.gyro.com.br,_blank ) is not catching ?
-
Capital LeTtErs. Pretty sure krpano is case sensitive.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!