Forum


15:39

16/09/2008

Don't know if this is a bug but I can not create a popup window in a cell link.
The href link opens in a new window if I use target="_blank" but I can not use any javascript to open the link in a new popup window (where box dimensions are adjustatble).
This only seems to affect any kind of link within the grid and the toolbar. All links outside this popup fine.
02:26

Moderators
30/10/2007

Hello,
How look the links inside the cell and how you call this with javascript?
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
03:21

16/09/2008

Tony I could not get the jquery popup feature to work.
Have now reverted to basics and have a solution using plain javascript window open.
In the json string I now have:
*****************
$time = ‘[a href="#" onclick="javascript:window.open(\\'/data/' . trim($row[url]) . ‘.php\\’,\\’popup\\’,\\’width=400,height=200\\’);â€]’ . trim($row[time]) . ‘[/a]‘;
*****************
This works fine.
Cheers.
Most Users Ever Online: 715
Currently Online:
95 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66