Posted by Cool Shaker on 08/22/06 11:46
>> How would I keep the number of the item that was selected from the list
>> after changind
>> the text size please?
>>
>> Many thanks
>
> If you are doing a query and the query is fairly consistent you could
> create another table that stores the current user's selection, that way
> you merely query for the choice (of the previous query) and always place
> it in the page *if* it has been chosen in the first place.
>
> (Sessions and Cookies are also an alternative here.)
>
> I would like to applaud you though, whether by accident or no, not
> modifying those font sizes via JavaScript is a valiant effort in the right
> direction of not misusing it.
>
> Hope that makes sense...
>
> -Lost
>
Hi Lost
Thanks for the rely and the compliment!
In fact since I posted the message i seem to have worked out how to do it
using a second cookie. The first is used by the switcher and the second I
use to store the value of the memory required.
Your idea of the second table is a good one for another part of the site so
that a user can step forward and backward only through a sub set of the data
which will be obtained from a query.
Many thanks
Navigation:
[Reply to this message]
|