Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rich Green 2246 posts 4006 karma points
    Dec 08, 2009 @ 19:55
    Rich Green
    0

    Alternative stylesheets

    I need to offer my (front end) user the option to switch stylesheets, in .NET I'd use themes.

    Just wondering how people deal with this in Umbraco?

    Cheers

    Rich

  • Kim Andersen 1447 posts 2196 karma points MVP
    Dec 08, 2009 @ 22:27
    Kim Andersen
    0

    I would make some kind of dropdownlist, or radiobuttons. Depending on what option the user choose, I would make some kind of "choose" in XSLT to change between some different stylesheets. This could be an idea.

  • Rich Green 2246 posts 4006 karma points
    Dec 08, 2009 @ 23:11
    Rich Green
    0

    Hi Kim,

    Thanks for your idea, using XSLT to switch the stylesheets is a nicer way of doing it.

    Just found that Warren has done this before http://www.creativewebspecialist.co.uk/2007/05/31/a-css-style-switcher-for-umbraco-cms.aspx

    Many Thanks

    Rich

     

  • bob baty-barr 1180 posts 1294 karma points MVP
    Dec 09, 2009 @ 05:40
    bob baty-barr
    0
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies