pass value of variable in url?

  • Hi
    for a multilanguage plugin I ask myself if it's possible to pass a value for a variable within the url.
    Normally I start the tour with onstart=set(cur_lang, _en) or set (cur_lang,_de)
    can I do this within the url sth like http://myweb.com/tour.html?cur_lang="_en" ? Or as I know that in this way it's not possible how can it go?

    thanks and merry christmas to all *smile*

  • oops, I was too fast asking. Found the solution:

    Code
    var so = new SWFObject("krpano.swf", "krpanoSWFObject", "100%", "100%", "9.0.28","#000000");
    if(qs_params['cur_lang']) so.addVariable('cur_lang', qs_params['cur_lang']);

    cheers

Participate now!

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