The first part of this can easily be demonstrated through a simple jQuery example. When the page is initially loaded, the cookie ( or other type of value) is read and the appropriate backgroundĬhanging the Color through the Client-Side As far as persisting the changes, the site is likely creating some form of temporary storage like a Cookie that contains the users preferences.When you select a particular color from the set of colors, a Javascript call is made to set the current background to the color that was selected. The initial changes are simply handled through Javascript or jQuery.There are likely a few things going on here :
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |