Online Arantor

  • Wedgeward
  • Posts: 10,364
  • The Twelve Tasks of Asterix is awesome.
    • View profile
    • Innovate, not Imitate
Re: Selectbox
« Reply #135 on February 14th, 11:28 PM »
Quote
There's no 'better' way than doing .sb() in the method chain after loading the value.
That's fine, just wanted to check whether there was or not. Given how rare it is, I don't even feel a burning need to add an updater method (that would update both the physical select and the div structure then trigger events) since calling .sb() is fine. It's still a one line call, heh.

I have no intention of touching sbox.js for just that reason ;)
   computer-aided
   community building
             

Other stuff:

Online Nao

  • Wedgeward
  • Posts: 10,275
  • Reality check: I just discovered that Wedge already has a 'Mark unread' button for PMs, a feature in my to-do. Uh. It just isn't in the 'right' place...
    • View profile
    • Cynacittà @ noisen
Re: Selectbox
« Reply #136 on February 14th, 11:56 PM »
Exactly the thing. There aren't THAT many opportunities to run sb(), so why waste time checking all other select boxes, I'd rather we get multiple user reports of select boxes that should be refreshed and aren't ;)
  I say Wedge Wedge (in the butt)
« Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)

Online Arantor

  • Wedgeward
  • Posts: 10,364
  • The Twelve Tasks of Asterix is awesome.
    • View profile
    • Innovate, not Imitate
Re: Selectbox
« Reply #137 on February 15th, 12:00 AM »
*nods* Works for me :)
   computer-aided
   community building
             

Other stuff:

Online Arantor

  • Wedgeward
  • Posts: 10,364
  • The Twelve Tasks of Asterix is awesome.
    • View profile
    • Innovate, not Imitate
Re: Selectbox
« Reply #138 on February 17th, 03:55 PM »
On a related note, if we're styling selectboxes, would we not want to custom style checkboxes and radio buttons as well?
   computer-aided
   community building
             

Other stuff:

Online Nao

  • Wedgeward
  • Posts: 10,275
  • Reality check: I just discovered that Wedge already has a 'Mark unread' button for PMs, a feature in my to-do. Uh. It just isn't in the 'right' place...
    • View profile
    • Cynacittà @ noisen
Re: Selectbox
« Reply #139 on February 17th, 05:02 PM »
..Because they're already styled..? Or so?
My main issue with non-select box styling is that select boxes have this nice rounded corner effect, but I want the default skin to have straight corners, and I have trouble determining whether I should give select boxes rounded corners or not. Hence, same issue for the rest...
  I say Wedge Wedge (in the butt)
« Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)

Online Arantor

  • Wedgeward
  • Posts: 10,364
  • The Twelve Tasks of Asterix is awesome.
    • View profile
    • Innovate, not Imitate
Re: Selectbox
« Reply #140 on February 17th, 05:09 PM »
No, that's not what I mean - the select box actively looks different to what you get with the standard UI of your browser+operating system, and looks better for it, while the checkboxes/radio buttons are whatever you get served as standard, which varies from browser to browser and OS to OS. It just occurred to me it might be nice to put an image in for them (since IIRC it should be possible to do in CSS) instead of the stock ones, might give themers something nice to play with at least.
   computer-aided
   community building
             

Other stuff:

Online Nao

  • Wedgeward
  • Posts: 10,275
  • Reality check: I just discovered that Wedge already has a 'Mark unread' button for PMs, a feature in my to-do. Uh. It just isn't in the 'right' place...
    • View profile
    • Cynacittà @ noisen
Re: Selectbox
« Reply #141 on February 17th, 05:53 PM »
I don't know... I'm afraid it'd break something somewhere.

Any opinions?

(Also, the select box is styled entirely manually, except for the arrow. I like manual styling better :P)
  I say Wedge Wedge (in the butt)
« Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)

Online Arantor

  • Wedgeward
  • Posts: 10,364
  • The Twelve Tasks of Asterix is awesome.
    • View profile
    • Innovate, not Imitate
Re: Selectbox
« Reply #142 on February 17th, 05:59 PM »
If you did it with custom markup, sure it would break something. But it should be doable just with styling IIRC, in which case it shouldn't be able to break anything.

(Mind you, I have in one project actually implemented totally manual checkboxes before now, wasn't that much work and worked really well, IMO, better than using actual checkbox elements at least, heh. But I specifically didn't have to care about accessibility or anything like that)
   computer-aided
   community building
             

Other stuff:

Online Arantor

  • Wedgeward
  • Posts: 10,364
  • The Twelve Tasks of Asterix is awesome.
    • View profile
    • Innovate, not Imitate
Re: Selectbox
« Reply #143 on February 26th, 06:40 PM »
Random oddity - it looks a bit weird on the gender selector in the profile area, seeing how there's only three options, the first is blank, so it collapses the width of the selectbox to fit.
   computer-aided
   community building
             

Other stuff:

Online Nao

  • Wedgeward
  • Posts: 10,275
  • Reality check: I just discovered that Wedge already has a 'Mark unread' button for PMs, a feature in my to-do. Uh. It just isn't in the 'right' place...
    • View profile
    • Cynacittà @ noisen
Re: Selectbox
« Reply #144 on February 26th, 08:06 PM »
Yep... I noticed that and found it funny, but didn't feel like it was worth adding a "Choose your gender" thing because people can choose an empty answer.

Could use a fixed class on it, though. It'd ensure the largest width is used. Would make more sense I guess!
  I say Wedge Wedge (in the butt)
« Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)

Online Arantor

  • Wedgeward
  • Posts: 10,364
  • The Twelve Tasks of Asterix is awesome.
    • View profile
    • Innovate, not Imitate
Re: Selectbox
« Reply #145 on February 26th, 08:17 PM »
Alternatively, how about "Prefer not to say" as the default?

(And, can we add the male/female icons via CSS like is done elsewhere? No sense having a fancy selectbox if it isn't using it to potential)
   computer-aided
   community building
             

Other stuff:

Online Nao

  • Wedgeward
  • Posts: 10,275
  • Reality check: I just discovered that Wedge already has a 'Mark unread' button for PMs, a feature in my to-do. Uh. It just isn't in the 'right' place...
    • View profile
    • Cynacittà @ noisen
Re: Selectbox
« Reply #146 on February 27th, 12:19 AM »
Icons? Good idea.
Want to do it? It's easy ;)

Prefer not to say: in 95% of cases it means I'm a woman and I'm taken so don't fuck with me. I'd rather avoid this choice ;)
  I say Wedge Wedge (in the butt)
« Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)

Online Arantor

  • Wedgeward
  • Posts: 10,364
  • The Twelve Tasks of Asterix is awesome.
    • View profile
    • Innovate, not Imitate
Re: Selectbox
« Reply #147 on February 27th, 12:20 AM »
Quote
Icons? Good idea.
Want to do it? It's easy
I haven't looked at anywhere else it's done but I kind of get the feeling that we don't just drop the raw HTML into the select (because that wouldn't work for folks who don't have JS enabled)

Quote
Prefer not to say: in 95% of cases it means I'm a woman and I'm taken so don't fuck with me. I'd rather avoid this choice
Fair enough, heh.
   computer-aided
   community building
             

Other stuff:

Online Arantor

  • Wedgeward
  • Posts: 10,364
  • The Twelve Tasks of Asterix is awesome.
    • View profile
    • Innovate, not Imitate
Re: Selectbox
« Reply #148 on March 8th, 03:48 PM »
Oops, found a bug. Note that I'm not sure what the behaviour *should* be in this case, just that I know it's currently wrong.

 wedge_selectbox_size_bug.png (16.28 kB, 640x114 - viewed 25 times.)
   computer-aided
   community building
             

Other stuff:

Online Nao

  • Wedgeward
  • Posts: 10,275
  • Reality check: I just discovered that Wedge already has a 'Mark unread' button for PMs, a feature in my to-do. Uh. It just isn't in the 'right' place...
    • View profile
    • Cynacittà @ noisen
Re: Selectbox
« Reply #149 on March 8th, 03:58 PM »
It's a design choice, actually... Don't you like it? :^^;:
Look at Font Face, it'll also use the new font.
  I say Wedge Wedge (in the butt)
« Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)