how to add text hotspot use html without using textfield.swf plugin

  • hi everyone:
    i need to add text hotspot with html, any plgin can use ??
    below is using the flash plugin to show the text hotspot:

    code in xml:
    .......
    <hotspot name="textfieldhotspot"
    url="textfield.swf"
    width="150"
    height="100"
    ath="0.7747"
    atv="-11.2726"
    distorted="true" rx="0.0" ry="0.5" rz="0.2"
    html="[p]Helo[/p]"
    css="p{color:#000000; font-family:Arial; font-weight:bold; font-size:14; margin-left:5; margin-right:5; text-align:center; }"
    backgroundcolor="0xFFFFFF"
    backgroundalpha="1.0"
    roundedge="5" shadow="1" borderwidth="0" glow="4" glowcolor="0xFFFFFF" autosize="center" />
    ......

    the "url" is only support jpg,png,gif and swf; Anyone have a good idea?

    thank you

  • First, I don't understand what you mean by text hotspot. You want to have text displayed over the hotspot all the time, you want hotstpot to be just a text, or?
    Second, what is the reason why not to use textfield as his purspose is to display text?
    Other option is to have image with text instead of textfield but I don't think you want to go in this direction
    Examples for texts:
    https://krpano.com/examples/118/e…textstyles.html
    https://krpano.com/examples/118/e…s/tooltips.html
    https://krpano.com/examples/118/e…gtextfield.html

    EDIT: Reading your other post I realized you need text in non Flash. So, I told you already textfield works in HTML5 as internal viewer implementation so this is the way you should proceed.

  • First, I don't understand what you mean by text hotspot. You want to have text displayed over the hotspot all the time, you want hotstpot to be just a text, or?
    Second, what is the reason why not to use textfield as his purspose is to display text?

    Hi Umalo:
    thank you for reply!
    first, yes i want hotspot just to be a text;
    second, because i want the proglem run in mobile, and it does not need flashplayer,just use html

    thank you

  • Other option is to have image with text instead of textfield but I don't think you want to go in this direction

    yes this option is not adapt to me, because i want get the user input message, then add a hotspot just use the message text
    ; this is my first step, second I want to achieve a hotspot use both image and text; but i do not find some sample code in offical demo code

    thank you

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!