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.

1

Monday, March 29th 2021, 11:09pm

Different alpha values on hotspot bg and bgborder

Hi, I'm trying to create a dynamic circle shaped hotspot using the showtext plugin. According to the documentation you can have different alpha values for the bgalpha and the border's alpha but it seems to only be reading the bgalpha value. I've also set 'mergedalpha' to 'false' but that didn't make a difference:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<hotspot name="mytext"
 type="text"
 ath="0" atv="0" edge="center"
 renderer="css3d"
 html="[br]"
 css=""
 vcenter="false"
 padding="0"
 mergedalpha="true"
 bg="true"
 bgcolor="0xFFFFFF"
 bgalpha="1"
 bgroundedge="20"
 bgborder="7 0x000000 .5"
 width="13"
 height="13"
 interactivecontent="true"
 onover="set(bgborder, 7 0x000000 .5)"
 />

This post has been edited 1 times, last edit by "tshah" (Mar 29th 2021, 11:21pm)