You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

michel

Professional

  • "michel" started this thread

Posts: 1,153

Location: ANDORRA

Occupation: TV

  • Send private message

1

Friday, June 18th 2010, 1:04am

Custom arrow cursor when onover a plugin/hotspot.

Hi KLAUS,

Could you implement a new feature to give the possibility to customise the default arrow cursor when onover a plugin/hotspot *love* ?.... This request comes from this thread: 360 cities virtual tour..how to do something like it.

Thank you.

Graydon

Professional

Posts: 614

Location: Texas

Occupation: Industrial gas turbine services.

  • Send private message

2

Wednesday, June 30th 2010, 2:50pm

In the download package under "examples / cursors" there is a demo that shows how to change the cursor using some actions.

Your onover event can call an action to change the cursor and then reset it with an onout event.

If you have a large number of plugins / hotspots... I could see where that would be cumbersome to set the onover / onout for everyone... so a "global" method of defining an onhover cursor would be convenient.

michel

Professional

  • "michel" started this thread

Posts: 1,153

Location: ANDORRA

Occupation: TV

  • Send private message

3

Wednesday, June 30th 2010, 3:34pm

Hi Graydon,

Thanks for answering *smile* ...
You are right in saying that there is already the possibility to customize the cursor as it is show in the "examples / cursors"...
But note that this do not apply to the arrow cursor or hand cursor that appears onover a plugin .... it only apply to the cursor onover the pano itself...
As an exemple to demonstrate this, edit the cursors example erasing the b1 plugin, with the following one :

Source code

1
2
3
4
5
6
7
	<plugin name="b1" style="buttonstyle"
			visible="true" enabled="true" handcursor="false" capture="true" children="true"
	    	html="[p]move[/p]"
	    	align="bottom" x="-240" y="25"
	    	onclick="action(movecursor);"
			onhover="action(arrowcursor); "
	    	/>

You can also change the settings for the handcursor and capture attributes... no changes...

Surely this can be done in using AS3... It would be great to have this feature able directly from xml ;-) ... KLAUS please *love* *smile* ...

SAlut.

DorinDXN

Trainee

Posts: 103

Location: Timisoara, Romania

  • Send private message

4

Wednesday, March 23rd 2011, 11:49am

Please, any news about this? onover cursor?



thanks,
Dorin
www.livepanoramas.com

danimorgo

Beginner

Posts: 42

Location: argentina

Occupation: diseƱador

  • Send private message

5

Friday, September 20th 2013, 12:10am

hello custom handcursor

Please, any news about this? onover cursor?
hello have news? I need change handcursor select but my png cursor .
thanks


thanks,
Dorin
www.livepanoramas.com