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_TopicIcon
theme switcher plugin + jqgrid in a whole site
01/12/2009
01:33
Avatar
phicarre
Member
Members
Forum Posts: 132
Member Since:
09/11/2009
sp_UserOfflineSmall Offline

It's a little bit out of context but who knows ...

I tested jqgrid with the jquery theme switcher plugin and jqgrid changes perfectly !

Now I would like to change the whole page on my web site:

I downloaded the file themeswitchertool.js in order to use it locally.

The whole pages have the same header, footer

But only the page which has the switch button is able to change its theme.

Normally the cookie of the switcher should be in my site ?

Does someone try to use this plugin with a whole application built with jqgrid ?

01/12/2009
19:18
Avatar
markw65
Member
Members
Forum Posts: 179
Member Since:
30/07/2009
sp_UserOfflineSmall Offline

Looks like you need to load the themeswitcher javascript in each page, and call the themeswitcher() method on an element of the page in order to trigger the reload of the theme.

You can always hide the element if you only want the switcher button to appear on the main page.

Mark

02/12/2009
01:28
Avatar
phicarre
Member
Members
Forum Posts: 132
Member Since:
09/11/2009
sp_UserOfflineSmall Offline

Thank you.

I didn't think to that !

But there is still one problem: the grids are displayed with the default theme during one/two seconds and after they are displayed with the selected theme !!

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
54 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