zmughal / jsgantt

Automatically exported from code.google.com/p/jsgantt
0 stars 1 forks source link

Set popup size #43

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Are there any specific API changes you would like to see?
g.setPopupSize (width, height)

Please provide any additional information below.
It's useful, when it's possible to define the popup size.

Original issue reported on code.google.com by supp...@scripting-base.de on 2 Jun 2009 at 8:44

GoogleCodeExporter commented 9 years ago
I actually changed the code, since I didn't want it to pop up, but change where 
the 
link went.

//var OpenWindow=window.open(pRef, "newwin", 
"height="+vHeight+",width="+vWidth); 
window.location = pRef;

Original comment by goofyg...@gmail.com on 12 Nov 2009 at 10:42

GoogleCodeExporter commented 9 years ago
sorry, but i change the code in this mode:

 if(pWidth)  vWidth =pWidth;  else vWidth =700;
    if(pHeight) vHeight=pHeight; else vHeight=700;

But the popup stay at 300 x 250!!!

after, i change the code in this mode:

    var OpenWindow=window.open(pRef, "newwin", "height="700",width="700");

But the popup stay at 300 x 250!!!

where i set the size???
it's possible set the position of popup??
thank you all

Original comment by esseee...@gmail.com on 3 Jan 2010 at 4:08

GoogleCodeExporter commented 9 years ago
Have you already cleared your cache?

Original comment by supp...@scripting-base.de on 3 Jan 2010 at 4:29

GoogleCodeExporter commented 9 years ago
yes, i've cleared the cache.
but, the solution is modify first part of code or second??

Original comment by esseee...@gmail.com on 4 Jan 2010 at 12:48

GoogleCodeExporter commented 9 years ago
The solution is that there are many occurences of 300 x 250. Afaik you have to
replace these measures six or seven times with your own.

Original comment by supp...@scripting-base.de on 4 Jan 2010 at 1:49