Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_Related Related Topics sp_TopicIcon
small incompatibilities to jQuery UI Theme
30/06/2011
15:05
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

Hello Tony,

one question on the stackoverflow took my attention at the problem of small incompatibilities of jqGrid to jQuery UI Theme.

If you look inside of ui.jqgrid.css you will find two places where the background-color style are defined explicitly:

.jqmOverlay { background-color: #000; }

and

.ui-jqgrid .ui-jqgrid-resize-mark { width:2px; left:0; background-color:#777; cursor: e-resize; cursor: col-resize; position:absolute; top:0; height:100px; overflow:hidden; display:none; border:0 none;}

If one color is good for Smoothness theme for example it will be not so good for UI darkness, Hot sneaks or Pepper Grinder theme. Exactly because of that the ui-widget-overlay class from the jQuery UI Theme defines the background collor and the sometimes the background image of the overlay. For example like

.ui-widget-overlay { background: #f7f7ba url(images/ui-bg_white-lines_85_f7f7ba_40x100.png) 50% 50% repeat; opacity: .80;filter:Alpha(Opacity=80); }

from the jquery-ui.css or jquery.ui.theme.css. The class ui-widget-overlay are used already by jqGrid in the most cases, but not in with jqModal.js.

So my first suggestion is to set overlayClass parameter of $.fn.jqm method to 'ui-widget-overlay' or 'ui-widget-overlay jqgrid-overlay'. It sees to me that adding the parameter in the first statement of viewModal (o = $.extend({...) could solve the problem. Of cause one should remove the jqmOverlay from the ui.jqgrid.css.

I don't know what is the best solution for the .ui-jqgrid .ui-jqgrid-resize-mark, but I am sure that background-color attribute should be removed and the border color from the theme should be used. Probably no background color is really needed be defined or one needs to use just some additional class from the standard theme class at the div definition from here. I have not enough experience in the subject, but I am sure that you Tony will find the solution of the problem yourself.

Best regards
Oleg

14/08/2011
12:35
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello Oleg,

Thanks for all improvemets fixes and suggestions.

As you can see today is a bug fix day for jqGrid Wink

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.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
52 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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information