Jump to content

Another SMALL bug


Recommended Posts

Posted

Just a tiny thing, When im on the

6829a94.png Tab,

i like to view it in 21ba7da.png

 

Whenever i got to another tab and then come back,

it will reset to 862b7e6.png

Possibility to leave it to save it so it is constantly on what you have set?

So dont need to keep changing?

 

Thankyou :D

 

- Seb

Guest Netduma_Iain
Posted

Thanks for letting me know Seb. This is already on the list, we will try save the options per browser. So different people at the home can have different settings. I'm not sure if it will be ready for first patch but will try.

Guest Netduma_Iain
Posted

I was thinking of cookies, but haven't actually looked into it. Wonder what the legal issue would be as well. Do you know?

Posted

if you don't support (IE7), then you can use `localStorage`.

 

Otherwise, you have to use cookies.

 

Cookies Legality:

You have to be `Cookie Law` Compliant...however, since the hosting is done technically by the user, they have to be cookie law compliant with themselves...Yup...that's circular logic for you.

Guest Netduma_Iain
Posted

Great, I'll look into localstorage that sounds ideal. I'd rather avoid the cookie thing if I can.

Posted

Great' date=' I'll look into localstorage that sounds ideal. I'd rather avoid the cookie thing if I can.

[/quote']

 

WINDOW.LOCALSTORAGE

Instead of the sessionStorage object of the window' date=' we use the localStorage object. All the methods of localStorage are the same as sessionStorage.

 

we set items with setItem

we get items with getItem

Because items on the localStorage will persist forever, we may want to delete them. We can do this with localStorage.removeItem(key), using the key for the item we want to remove.

 

If we want to delete the entire localStorage, we can use localStorage.clear(). But, be warned, anything your app has saved to localStorage for this user is gone for good.[/quote']

 

There is an IE7 localstorage =http://www.jstorage.info/ but, really i'd just stick with window.localStorage

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...