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 21st 2016, 5:34pm

[showtext] 2 styles in one showtext action bug

Hi im trying to use 2 styles in one showtext action like this:

Source code

1
onhover="showtext([font style='font-size:20px;']Name:xxx[br][font style='font-size:10px;']Email: xxx [br]Phone: xxxxx);"


but it added quotation marks at the begin and end:



does anyone have idea what is causing this problem?
thanks


*edit
oh, i think i found where is the problem-apostrophes
documentation says(for html5):

Source code

1
[font style='font-size:10px;']smaller text[/font]


but then, showtext action is showing also apostrophes
so i deleted them and it works great

i guess it is just typo error in documentation or some kind of bug? can someone confirm?


*edit2
i think there is another bug or error
if i use this formating, and in text is comma like in code

Source code

1
[code][font style='font-size:10px;']smaller, text[/font]

it breaks formating- it is possible to use commas in this type of formating?

This post has been edited 1 times, last edit by "urgot" (Mar 21st 2016, 6:09pm)