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

Thursday, October 29th 2009, 12:47pm

Map spots made with Textfield but we have a problem, selectable="false" not solve the problem

Hello,

We made a new project and we put text to map for mapspot, but we have a problem with it, the text on the map comes with selectable cursor, we couldn't find the problem,

This is the link http://www.ankamall.com.tr/ankamall3d/magazalar/pidekoy

Thanks

Quoted


This is the xml file

<textstyle name="DEFAULT" alpha="1" background="false" bold="false" border="false" effect="glow(0x000000,0.7,4,2);dropshadow(2,45,0x000000,2,1);" font="Arial" fontsize="12" italic="false" textcolor="0xffffffff"/>
<plugin name="map" url="pidekoydata/map/map.png" keep="true" align="leftbottom" x="10" y="10" width="204" height="491" handcursor="false" onclick="action(closemap);"
scalechildren
="true"/>

<plugin keep="true" name="mapspot1" handcursor="true" url="%SWFPATH%/plugins/textfield.swf" html="[p]Masa 1[/p]"
fontsize
="11"
background
="false"

textglow
="4"
textglowcolor
="0xFFFFFF"
textshadow
="2" width="75" height="20" onhover="set(fontsize,16)" onout="set(fontsize,12)"
zorder
="3" align="righttop" edge="center" x="141.924" y="547.5" onclick="loadpano(%CURRENTXML%/pidekoy4.xml,null,null,BLEND(1)); wait(blend) ;action(panoradar4); lookto(392.555,14.1972,35,smooth(400,20,100)) " parent="map"/>

This post has been edited 1 times, last edit by "AKSAN Bros (ULSAKS)" (Oct 29th 2009, 1:38pm)


michel

Professional

Posts: 1,153

Location: ANDORRA

Occupation: TV

  • Send private message

2

Thursday, October 29th 2009, 12:57pm

Hi,

See about selectable attribute for textfield plugin: http://krpano.com/plugins/textfield/

selectable="false"


Salut.

3

Thursday, October 29th 2009, 1:05pm

selectable="false"
wow, you're fast

4

Thursday, October 29th 2009, 1:22pm

thanks for both of you , but when you made selectable="false" handcursor not seen, and users couldn't understand it is a button :)

is there any solving?

5

Thursday, October 29th 2009, 1:49pm

in this case add also:

Source code

1
children="false"


the internal Flash Textfield is a 'child' object of the plugin and has its own mouse handling,
and this can be disabled with this setting,
then you will get the handcursor back

best regards,
Klaus

6

Thursday, October 29th 2009, 2:07pm

Thank You very much ...