You are not logged in.

gkaefer

Trainee

  • "gkaefer" started this thread

Posts: 46

Location: Salzburg

  • Send private message

1

Thursday, February 11th 2010, 2:07pm

background image for menu to get more contrast...

If I review this menu...

http://www.krpano.com/examples/buttons/

if the menu and the pano background is quit the same color, the menue gets invisible.... I can produce new single button images - that way is clear for me.

Can I (and if yes how can I) also place an additional image in the background of the menu bar buttons so that theres a contrast to the pano image and the buttons are visible even if buttons color and pano color is identical?



I did try it with plugin blendmode options, but than allway this image overlaps the buttons, the buttons cant be clicked anymore...



regards,

Georg

michel

Professional

Posts: 1,153

Location: ANDORRA

Occupation: TV

  • Send private message

2

Thursday, February 11th 2010, 2:36pm

Hi,

Quoted

but than allway this image overlaps the buttons, the buttons cant be clicked anymore...
You can add a greater value to the zorder attribute of your buttons plugin. See here for plugin attributes http://krpano.com/docu/xml/#plugin

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
<plugin name="in"
	keep="true"
	align="bottom"
	x="-160" y="10"
	url="buttons.jpg"
	crop="160|0|40|40"
	onovercrop="160|40|40|40"
	ondowncrop="160|80|40|40"
	blendmode="screen"
	ondown="set(movevectorz,-1);"
	onup="set(movevectorz,0);" 
	zorder="1"
	/>

Note line 12 -- zorder="1"
This way, the button will be inside your background image....

SAlut.

gkaefer

Trainee

  • "gkaefer" started this thread

Posts: 46

Location: Salzburg

  • Send private message

3

Thursday, February 11th 2010, 3:35pm

Hi,

Quoted

but than allway this image overlaps the buttons, the buttons cant be clicked anymore...
You can add a greater value to the zorder attribute of your buttons plugin. See here for plugin attributes http://krpano.com/docu/xml/#plugin

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
<plugin name="in" 
keep="true" 
align="bottom" 
x="-160" y="10" 
url="buttons.jpg" 
crop="160|0|40|40" 
onovercrop="160|40|40|40" 
ondowncrop="160|80|40|40" 
blendmode="screen" 
ondown="set(movevectorz,-1);" 
onup="set(movevectorz,0);" 
zorder="1" 
/>

Note line 12 -- zorder="1"
This way, the button will be inside your background image....

SAlut.

perfect. simple & fast. works great.

Georg

Similar threads