change textfield css style

  • Hi

    is it possible to change dynamically the CSS rules of the textfield plugin?

    i tried:

    Code
    set(plugin[mytextfield].css,data:newscss);

    and

    Code
    set(plugin[mytextfield].css,get(data[newscss].content));

    with no luck, althoug this code works to change html data...

    thanks!

  • Dear Klaus,

    After some tests it appear the code above works like a charm with HTML version of KRPANO.

    On Flash version i have to change the html value of the textfield so the new css rule is applied . yes i said "change" because a simple update of the html doesn't work.

    Had to empty the html and set it again to the same value to fake a change of the html.

    then it works.

    i use last version of KRPANO + Texfield plugin (1.8.0.15 built 2012-10-05)

    would be a lot smoother if textfield works like the html5 version.

    Best regards!

Participate now!

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