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.

esys

Intermediate

  • "esys" started this thread

Posts: 267

Location: Balazé France

Occupation: photographer

  • Send private message

1

Thursday, June 2nd 2011, 7:07pm

Problem with hotspot and crop function !

Hi,

It seems possible to set a crop onvercrop ondowncrop function on a hotspot (documentation). But it doesn't work with me. The same code is working as a plugin !?
Any suggestion would be pleased.

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
	<hotspot name="Infos"
			 url="plugins/infos_BB.png"
			 keep="true"
			 visible="true"
			 alpha="0.9"
			 effect="dropshadow(2,0x000000,4,0.8);"
			 distorted="true"
			 ath="66"
			 atv="-1.8"
			 crop="0|0|90|80"			
	         onovercrop="0|80|90|85"
	         ondowncrop="0|170|90|80"
			 devices="all"
			 onclick="showinfos();"
			 />

*smile*
Steph

VN2011

Professional

Posts: 1,336

Location: Duluth MN

  • Send private message

2

Thursday, June 2nd 2011, 7:33pm

try with distorted="false" just a guess.

esys

Intermediate

  • "esys" started this thread

Posts: 267

Location: Balazé France

Occupation: photographer

  • Send private message

3

Saturday, June 4th 2011, 12:46am

Hi VN2011,

Thanks for your guess.
It's working but it's not really esthetique this way.
No way to get the hotspot "sticked" into the pano ?

Thanks. *thumbsup*
Steph

Similar threads