Search the Community
Showing results for tags 'restoring a users prefs'.
-
Hi there! I posted a question on the php6/Mysql forum a while back about making popup tooltips with content filled through a mysql database connection. I was pointed towards the ajax quick project book, and as near as can be.. it is almost ready for uploading to my isp's server. The project is to allow the user access to live popup tooltips over bible scripture containing the original greek/hebrew definitons from the Mysql database. The connection is through ajax. I have a couple of enduring small problems... I have a small form with three radio buttons linked to onchange handlers in the window.onload = init; function. They allow the selection of no markup, single character markup and dictionary subject_key superscript markup within the text on the page. It is this markup that acts as the triggers for the popup tooltips. All I would like to be able to put together now is some kind of client side storage of the state of the users choice for the appearance of the markup (the radio buttons) . Enduring beyond the user's current session is preferable,.. but across tabs desirable and between pages in the browsing "lane" is essential. I have ruled out sessionStorage for this, and MS userData wouldnt work either as I would browse across folders. - Help? The radio buttons appear on the page if ajax is supported. Can you help me with some advice and / or assistance on putting together something that will work on most browsers? I can happily rule out any that do not support ajax through XMLHttpRequest or ActiveX. After that, I would like to be able to keep a clientside stored history list of popup's visited, but only through an onclick event, not the mouseover/mouseout. This can wait,.. but initial help with things stored client side would help a great deal! Thanks for any help you can offer - I am finding javascript very confusing, (I much prefer ansi C) I know its a little off topic ajax wise, but it is a web site using ajax,.. and i could really use the help Alex
- 13 replies
-
- clientside storage
- storing a forms state
- (and 3 more)