Hi Everyone,
I'm using onclass and offclass to style my menu in css but now the remember state doesn't function. Is there a solution?
Thanks. Steve
Remember State - {SOLVED}
Re: Remember State
After a good night sleep I woke up to see the obvious - solved 

Re: Remember State


Ruth
Re: Remember State - {SOLVED}
Sorry Ruth - I have been so stressed designing a new site for a client I'm really not thinking straight anymore.
The solution was to include the remember state code in the data.js file as below
This may or may not be the correct solution but it does work 
The solution was to include the remember state code in the data.js file as below
Code: Select all
with(Headmenu=new mm_style()){
offclass="menuOff";
onclass="menuOn";
pagebgcolor="#8dc63f";
pagecolor="#ffffff";
}

Re: Remember State - {SOLVED}
Hi,
You're talking about the page properties? Sorry, but I'm as frazzled as you! Anyway, if you are, just for your info, since you seem to be using css as noted with the off and on class, there is also a pageclass and a pageonclass available.
As far as I know you're solution is fine. Since I'm not a programmer and my solutions come from 'twiddling' until I find one, whatever works is fine as far as I'm concerned
Ruth
You're talking about the page properties? Sorry, but I'm as frazzled as you! Anyway, if you are, just for your info, since you seem to be using css as noted with the off and on class, there is also a pageclass and a pageonclass available.
As far as I know you're solution is fine. Since I'm not a programmer and my solutions come from 'twiddling' until I find one, whatever works is fine as far as I'm concerned

Ruth
Re: Remember State - {SOLVED}
Hey, that's what most of us so called programmers do, Ruth - It's called hackingRuth wrote:Since I'm not a programmer and my solutions come from 'twiddling' until I find one

But it gets the job done