TextField ignoring style tags

  • I have a question regarding the TextField plugin, when using the style tag inside any html tag... it seems like the plugin is ignoring them. For example I have the following script:

    The only part that's shown on screen is the last div from the data tag.

    Code
    <div>Esta nota de krpano el drag lo hace muy suave, hay que mover bastante en direccion vertical para que coja</div>

    . Why is happening this? Thanks a lot.

  • Ok, so the problem as stated in the textfield plugin page, is that actually div tags aren't suuported on the plugin. However.. I have seen other posts where the html tag in fact contains some div elements like this: "html=[div style="float:left;"]", my guess is that onlye the HTML 5 version of textfield supports that. I am correct??? If so... how could I force the krpano viewer to use only the html5 textfiel version regarding if it's running on a desktop machine or tablet?

  • You can't mix and match flash and js krpano plugins.
    use p and other tags and classes
    instead
    html:
    <p class="class1">
    css:
    p.class1{border: 1px solid black;float: left; width: 350px;height: 100%}

    etc

    Here's some reading material.
    http://republicofcode.com/tutorials/flash/css/
    http://www.actionscript.org/resources/arti…2004/Page1.html

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!