You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, October 27th 2014, 11:12am

openulr set height and width

i want to do social share in krpano, so i tried this social share

which has options to open on same widow or blank but i want open socail share window in the same tab with specific height and width ,
is there away to provide that values to openurl() ?
(or) *confused*

is there any other plugin to resolve this ?

2

Monday, October 27th 2014, 11:46am

Hi,

the openurl() action itself only opens a link.

For opening a browser pop-up window, try to use an external Javascript function and call that function via the js() action.
But I wouldn't recommend doing - several browsers are either blocking such or opening these windows in tabs.

Best regards,
Klaus

3

Tuesday, October 28th 2014, 6:50am

thanks Klaus,

it was very usefull

i called this js function to achive this,


function URLOpen(url)
{
var myWindow = window.open(url, "", "width=500, height=500");
}


*g*