Forum


03:32

Moderators
30/10/2007

Hello Matt,
Yes, this is really a problem and is conected with the modals that I use.
I will try to resolve the problem changing the position of the modals
to relative, but not sure if this will be successfully.
Thank you
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:51

Moderators
30/10/2007

Hello,
There are top and left options of the modals, but the position
is fixed (since of IE) and not relative, so setting them will not help.
Regards
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.
17:38

13/11/2008

I see… I have Linux+FF so can't realy test this much, buch couldn't we just alter the jqModal.css file responsible for styling. After all, the one thing that the author of jqModal claims is that it is flexible.
We could have a container div and then create the modal div inside the container. The container could be relative position and that way we could get absolute/relative position for the modal. (not sure if this is possible but will look into it when I have a bit more time) What do you think Ton?
Just thought
02:30

Moderators
30/10/2007

Hello,
Thank you. Any help on solving this is welcome. I will be happy with this.
Be a sure that other people will be happy with this too.
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.
18:40

13/11/2008

Hi Tony.
Sorry for the long absence, but my schedule has been crazy these past few weeks.
Anyway, I started looking into this issue and here are my findings.
In my opinion, the best way to solve this problem would be to have the ability to specify where we want the modal created. From what I gathered, you append it to the body in all but one case so it is after everything else.
If we could append it to say a container div with an id specified by us, we could have greater control of the modal window position.
Container div would have position:relative and then the modal window could be postion:absolute, but relative to container div.
Hope this makes some sense...
Is this change possible?
Cheers,
P.
08:15

Moderators
30/10/2007

Hello,
This is not true. The modal is created right before the header. Also I use toTop feature in jqModal. This of course is connected with IE problems. I have play little something like your suggestion, but the only result is - everything works fine in all browsers except in IE all versions.
Best 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.
16:08

18/01/2009

Here's some precisions, I only have one Grid on my page and the modal is appearing almost entirely off the screen when I click on the Add a new row button, if I click on Delete selected row button the modal appears straight in the middle of the screen. So for some reason the issue is isolated to the Add a new row modal.
11:23

Moderators
30/10/2007

Hello,
It depends on how you call the method. Do you have set a top and left property?
Remember the position of the modal is fixed - so if you have scrolling page it will be quite possible that this window will appear above and below the grid.
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.
Most Users Ever Online: 715
Currently Online:
35 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