TheLiveLemon Posted December 11, 2014 Share Posted December 11, 2014 Just a tiny thing, When im on the Tab, i like to view it in Whenever i got to another tab and then come back, it will reset to Possibility to leave it to save it so it is constantly on what you have set? So dont need to keep changing? Thankyou - Seb Link to comment Share on other sites More sharing options...
Guest Netduma_Iain Posted December 11, 2014 Share Posted December 11, 2014 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. Link to comment Share on other sites More sharing options...
abc123 Posted December 11, 2014 Share Posted December 11, 2014 cookies? Link to comment Share on other sites More sharing options...
Guest Netduma_Iain Posted December 11, 2014 Share Posted December 11, 2014 I was thinking of cookies, but haven't actually looked into it. Wonder what the legal issue would be as well. Do you know? Link to comment Share on other sites More sharing options...
abc123 Posted December 11, 2014 Share Posted December 11, 2014 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. Link to comment Share on other sites More sharing options...
Guest Netduma_Iain Posted December 12, 2014 Share Posted December 12, 2014 Great, I'll look into localstorage that sounds ideal. I'd rather avoid the cookie thing if I can. Link to comment Share on other sites More sharing options...
abc123 Posted December 12, 2014 Share Posted December 12, 2014 Great' date=' I'll look into localstorage that sounds ideal. I'd rather avoid the cookie thing if I can. [/quote'] WINDOW.LOCALSTORAGEInstead 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.