Sie sind nicht angemeldet.

1

Samstag, 19. September 2009, 22:28

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

2

Dienstag, 22. September 2009, 00:06

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:

Quellcode

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


html/js:

Quellcode

1
2
3
4
function openwindow(url, width, height, xpos, ypos)
{
 //... ?
}


best regards,
Klaus