You are not logged in.

1

Monday, June 10th 2013, 5:03pm

Close a window

Hi,

I have my help button. When i click on, a window ( a help screen .png file) appears. I have made a cross in the upper right corner, for close the window. But, when i pass the mouse over it, the hand cursor has disappeared... The hand cursor appears only in the middle of the window. What is the solution?

Best regards

2

Monday, June 10th 2013, 8:23pm

Hi,

sorry, but without much more informations or an example, it will be not possible to answer your question.

Best regards,
Klaus

3

Tuesday, June 11th 2013, 9:31am

Hi Klaus,


Sorry if I was not specific enough. I have made a screen capture.

Best regards.

4

Thursday, June 13th 2013, 7:21pm

Hi,

what's the xml code of these elements?

Best regards,
Klaus

5

Friday, June 14th 2013, 2:45pm

Hi Klaus,

My code for this help button and helpscreen is :

Source code

1
2
	<plugin name="btn_help"  align="bottom" url="help.png" scale="0.8"    devices="desktop" x="+220"  y="15" style="" crop= "0|0|60|60" onovercrop= "0|60|60|60"  ondown="" onup=""   onhover="showtext(Fermer/Ouvrir l'aide);" onclick="displayHelp();" />	
		<plugin name="helpScreen" url="ecranaidesite.png" alpha="1"  origin="mid" width="50%" height="prop" visible="false" keep="true" onhover="showtext(Cliquer pour fermer);" onclick="closeHelp();" />

Taurus

Trainee

Posts: 140

Location: Belarus

Occupation: photographer & virtual tour developer

  • Send private message

6

Friday, June 14th 2013, 4:30pm

in your code there is no separate plug-in for the close button
add a separate plugin as children and place it on righttop of the plugin helpscreen

Source code

1
2
3
4
5
6
7
8
<plugin name="btn_help"  align="bottom" url="help.png" scale="0.8"    devices="desktop" x="+220"  y="15" style="" crop= "0|0|60|60" onovercrop= "0|60|60|60"  ondown="" onup=""   onhover="showtext(Fermer/Ouvrir l'aide);" onclick="displayHelp();" /> 


<plugin name="helpScreen" url="ecranaidesite.png" alpha="1"  origin="mid" width="50%" height="prop" visible="false" keep="true" onhover="showtext(Cliquer pour fermer);" onclick="closeHelp();" />



 <plugin name="closeButton" url="closeButton.png" alpha="1"  parent="helpScreen" align="righttop" edge="center" visible="false" keep="true" onhover="showtext(Cliquer pour fermer);" onclick="closeHelp();" />


regards
Serge
--
in order to comply the word with the affairs, you need to keep quiet and do nothing!

Virtual tour Gomel
Virtual tour
Virtual tour
Elbrus
...

Windows 10x64 & krpano 1.20