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

Tuesday, July 21st 2015, 9:52pm

How to make text on plugin's div be selectable

Hi. I use krpano 1.18.3

I made a plugin in krpano.xml

Source code

1
2
3
4
5
6
<plugin name="name" type="container" 
alturl="%BASEDIR%/KrpanoPlugin.js"
devices="html5" keep="true" 
bgcolor="0xFFFFFF" bgalpha="0.5" align="bottomright"
x="10" y="90" y_opened="90" y_closed="30"
width="20%" height="264" />


then placed a text on it. But how to make it selectable?

I did it only for FF - by using "-moz-user-select: text" css property for div with text. For Chrome and IE (-webkit-user-select and -ms-user-select accordingly) it does not work. In Chrome "-webkit-user-select: none;" is set for body element every time when I click on this text. Maybe there is some krpano property?


Thanks in advance.

Similar threads