a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment by mk
mk  ·  3823 days ago  ·  link  ·    ·  parent  ·  post: HUBSKI ANIME CLUB: because let's do this thing

That ruins our baker's dozen of toggles, but ok. As long as the default is off.

Someday I am going to make a toggle that toggles the toggles.

Actually, maybe there is a more sensible approach. Stay tuned.





kleinbl00  ·  3823 days ago  ·  link  ·  

I will happily accept a preference that says "enable animated .gifs for me because I am mentally twelve years old."

thundara  ·  3823 days ago  ·  link  ·  

An alternative to a bunch of booleans is html's select multiple tag. Then you could just have one form that you select "png", "jpg", "gif", etc to display inline:

    <select multiple="multiple" name="display_inline">

    <option value="png">png</option>

    <option value="jpg">jpg</option>

    <option value="gif">gif</option>

    </select>

The raw POST of what gets sent to the server then will be:

    display_inline: png

    display_inline: jpg

    display_inline: gif

An example in practice:

Sorry if this net nerd talk is tangential from the anime talk >_>