SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jul 2006
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Javascript to change CSS Dynamically using HTML 5 Local Storage

    Hi all, I am a bit stuck and looking for a way to do the same :
    http://www.thesitewizard.com/javascr...e-sheets.shtml

    but not using cookies...instead using local storage...

    It is a bit new to me.....any help would be great

    Many Thanks

  2. #2
    om nom nom nom Stomme poes's Avatar
    Join Date
    Aug 2007
    Location
    Netherlands
    Posts
    10,269
    Mentioned
    50 Post(s)
    Tagged
    2 Thread(s)
    Even though this new Javascript API came with parts of the HTML5 spec, I'd still push this thread over to Javascript since this doesn't actually involve markup. I'll flag the thread and if a mod agrees, it'll get moved there. No worries.

    So, do you have, like the article you linked to, two css files, both linked or listed in the HTML file, and do you want to set/get a localstorage DB item and use it to set "disabled" or not on one of the linked CSS files?

    Or something much looser?


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •