Support » Plugins » CSS Style Switcher…. part deux

  • I've been a busy beaver tonight. I took Alex's wonderful CSS Style Switcher and added a little twist of my own. I didn't care too much to have all the styles listed in one massive list, and because some of the styles don't markup unlinked bullet items, it was difficult to tell which one actually was selected.
    So, I added an additional function, wp_style_switcher_dropdown, which returns the lsit of styles in a dropdown list (see/get/grab/steal code from my site here.
    It takes two parameters. The first is $in_list, and works like it does on the original function. If set to 1 (default) the resulting form will be wrapped in

  • tags (handy for the menu.) If set to 0, then it will not add the
  • tags. Second parameter $submit, is the text of the submit button (default is "View Style").
    I've got it up on my site if you want to see it running. Comment/Suggestions (both good & bad) are welcome.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Looks good TG! 🙂 I will have to try this next week and then add it to the tutorial.

    Uh-ooh, this page looks messed up with IE 6 😮

    I don’t know what you are talking about…. seriously…. It works fine for me in IE6. Could you expound a little? I know some of the themes are messed up, but in that case, it’s the theme, not the browser….

    yup, I see it too, though I’m using avant browser version 9.01.
    I uploaded a screenshot to so you can see.

    I looked at this site yesterday with IE 6 and it is very messed up. Thanks for the screen shot, erica. I use Firebird 97% of the time, so I never saw what you were talking about MaThIbUs until yesterday. 🙂

    Whenever I’ve been forced to look at this site in IE the results have not been pretty. But hey, I’m all for making regular IE users realise that their browser is a crock 😉

    I would like to make the style switcher with a drop-down menu. Does anyone have this working on the latest and greatest WP?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘CSS Style Switcher…. part deux’ is closed to new replies.