New Browserwindow with OpenURL() ?

  • Hi,


    I am getting deeper into krpano and want to open a new url with some specs. Unfortunately I've found that openurl just accepts the file and if it should run in a new frame.

    Can I do something like this within my panorama: Open a new window width 320 height 240 posx 10 posy 10 ?


    Regards

  • Can I do something like this within my panorama: Open a new window width 320 height 240 posx 10 posy 10 ?

    Hi,

    I think opening such windows will be only possible via Javascript...
    e.g. call your own javascript function that will open that window:

    xml:

    Code
    .. onclick="js( openwindow(http://test.com, 320,200,10,10) );"

    html/js:

    Code
    function openwindow(url, width, height, xpos, ypos)
    {
     //... ?
    }

    best regards,
    Klaus

Participate now!

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