HTML radio buttons

From: 99% of gargoyles look like (MR_BASTARD)10 Feb 2011 22:32
To: Drew (X3N0PH0N) 49 of 95

But this browser-jumpiing/-savvy demographic is hardly representative of the majority though, is it?

 

That majority may be luddites, but they're the luddites that your web sites have to appeal to (unless you build intranets/extranets, or demographically controlled/restricted sites).

 

(What happens when Chrome becomes like FireFox?)

From: Drew (X3N0PH0N)10 Feb 2011 23:23
To: 99% of gargoyles look like (MR_BASTARD) 50 of 95
I think if someone uses not-IE they've already demonstrated their willingness to go elsewhere if something better comes along.

And when Chrome goes the way of FF something else will come along. Maybe even Opera 8-O

And FF's numbers are starting to fall. Up to this point it does seem that Chrome has been taking uses from IE (assuming it's as simple as the stats suggest and not something weird like IE->FF->Chrome). But yeah, the past few months have seen FF's numbers falling too.
From: koswix10 Feb 2011 23:58
To: Drew (X3N0PH0N) 51 of 95
I still use FF, cos I hate Chrome.
From: Drew (X3N0PH0N)11 Feb 2011 00:00
To: koswix 52 of 95
Then you are a worthless anachronism.

(hug)
From: koswix11 Feb 2011 00:05
To: Drew (X3N0PH0N) 53 of 95
I could be the new TAK.
From: Drew (X3N0PH0N)11 Feb 2011 00:06
To: koswix 54 of 95
:'D
From: Peter (BOUGHTONP)11 Feb 2011 00:08
To: Drew (X3N0PH0N) 55 of 95
I use Chrome too, but not for customisability (in fact it's the frustrating lack of being able to get my preferences which is likely to see me switch to Opera 11 or Firefox 4).

quote:
I think if someone uses not-IE they've already demonstrated their willingness to go elsewhere if something better comes along.

Depends why they're not using IE - did they actively choose, did they stumble upon the Browser Choice shortcut, did their techy friend/relative make the choice for them, etc?

I wouldn't be surprised if Firefox was falling - in the past it was really just IE vs not-IE (Netscape/Mozilla/Firefox).

Now there's a choice of non-IE browsers (with a huge simplification of...) one for people who just want a browser, and one for people who want their browser to work their way. (not necessarily a direct correlation to techyness)

Firefox may well lose most of the first (much larger) camp to Chrome, and only lose some of the smaller second camp (if you've got your browser working exactly how you want, you need inertia to move).

It'll still be one of the top three browsers though, and remain relevant - even if it does drop below 10% it's still have a very vocal group of people using it.


As for Opera... dunno what to make of them. There's a couple of Opera guys doing HTML5-related presentations at a conference I'm going to in a few weeks - might see if I can ask them "why have you only got 2%" and see what they say. :)
EDITED: 11 Feb 2011 00:09 by BOUGHTONP
From: Peter (BOUGHTONP)11 Feb 2011 00:21
To: Drew (X3N0PH0N) 56 of 95
quote:
And FF's numbers are starting to fall


From what source?

Wikipedia is not showing statistically significant change:



(Well, I haven't actually calculated, because I don't remember how, but it seems pretty steady around 30% for the past year, and up from 27% at the end of 2008.)


Oooh, they've got a non-IE chart too:


From ~Nov 2009 there's a slight downward trend, but it'd have to accelerate a lot to go anywhere any time soon?
From: Drew (X3N0PH0N)11 Feb 2011 00:27
To: Peter (BOUGHTONP) 57 of 95
I said in the last coupla months and you show me year by year graphs? And wonder why you don't see a dip?

http://www.w3schools.com/browsers/browsers_stats.asp
From: Peter (BOUGHTONP)11 Feb 2011 00:47
To: Drew (X3N0PH0N) 58 of 95
What? You don't expect me to actually pay attention to what you're saying?

Not sure how reliable monthly charts are, but certainly I'm not going to pay attention to w3schools ones.
quote: that page
the browser figures above are not 100% realistic


Even assuming it's a profile of web developers is wrong, because sensible web devs don't use the site.
From: Drew (X3N0PH0N)11 Feb 2011 00:52
To: Peter (BOUGHTONP) 59 of 95
There are no reliable stats. Because it's something which differs vastly from site to site and any site-neutral means of measuring tend towards self-selection.

I trust the w3schools one because it most closely reflects the analytics on the sites I work on (which tend to be big, non-technical stuff relating to TV/Popular music - very general audience).
From: ANT_THOMAS11 Feb 2011 01:05
To: Drew (X3N0PH0N) 60 of 95
Is it a fair reflection that there's more FF users than IE? I'm not disputing the numbers, I'm just surprised and didn't realise FF had overtaken IE.
From: Drew (X3N0PH0N)11 Feb 2011 01:24
To: ANT_THOMAS 61 of 95
Like I say, varies a lot per site but yeah, a lot of sites show FF at about 40%. And some show IE on 40%. Kinda weird but... yeah, these stats are fairly useless.
From: Drew (X3N0PH0N)11 Feb 2011 01:28
To: ANT_THOMAS 62 of 95
(By which I mean the stats are useless to use in absolute terms. But so long as the site measures the same thing each time, any trends are generally going to be indicative of the whole picture)
From: Radio11 Feb 2011 10:07
To: ALL63 of 95

Yay, time for me to use my favourite picture!

 

And to be really boring and on topic - attached is an anonymised version of what I was trying to do, although it would then be extended/copy+pasted for multiple countries.

 

I like how it looks, but I'm sure that the coding is terribly inefficient and when actually extended for lots of countries would probably become unmanageable.

From: 99% of gargoyles look like (MR_BASTARD)11 Feb 2011 11:14
To: Drew (X3N0PH0N) 64 of 95
I think if someone uses not-IE they've already demonstrated their willingness to go elsewhere if something better comes along.

I think that's an oversimplification, but how substantial or not I cannot say. From personal experience, I moved away from IE when I moved to Mac since Microsoft dropped IE for that platform. I suspect the number of people who've dropped IE because it's Windows-only is relatively minor, but then there are others that have been scared off by security threats. While no browser is immune, IE's ties to the OS make it more of a liability, and once people have rid themselves of that, they may just be happy where they are.

All speculation, though. I have no stats to back this up.
From: Matt11 Feb 2011 12:54
To: ALL65 of 95
Do you all think Chrome be as popular if Google didn't advertise it to IE users on their homepage, or if they were required to advertise other browsers as well?

Likewise would Firefox be any more likely to see a similar climb in usage to Chrome if Mozilla operated the world's favourite search engine instead of Google?

Me, I use Firefox and Chromium (specifically SRWare Iron). I had started to favour Chromium, but have since gone back to Firefox, specifically the 4.0 betas because they rock.
From: Matt11 Feb 2011 12:58
To: 99% of gargoyles look like (MR_BASTARD) 66 of 95
quote:
Microsoft


You're aware $t€v€ J¤b$ beloved Appl€ is now worth more than Microsoft, right?
From: milko11 Feb 2011 13:09
To: Matt 67 of 95
dang, I thought we had a filter on that nonsense anyway. Time to go fix, perhaps.
From: af (CAER)11 Feb 2011 14:30
To: Radio 68 of 95
quote:
And to be really boring and on topic - attached is an anonymised version of what I was trying to do, although it would then be extended/copy+pasted for multiple countries.

I like how it looks, but I'm sure that the coding is terribly inefficient and when actually extended for lots of countries would probably become unmanageable.

If something can be copied+pasted to deal with multiple things, it's almost always better to write it once to handle multiple things instead, because as you said, it does indeed become unmanageable.

This sort of thing, repeated 20 (!) times:
code:
//Check which checkboxes/options are selected
var f5 = (document.listofoptions.elements['Check5'].checked);
//Check if 'f5' is "true" and set to price, else set to zero
if(f5 == true)
{
var f5 = 50;
var w5 = 30;
}
else
{
var f5 = 0;
var w5 = 0;
}
Could be replaced with a loop like this:
javascript code:
// Checkbox values must be in the format: "normal,wholesale"
var checkBoxes = document.querySelectorAll("input[type=checkbox]"),
    max = checkBoxes.length, values,
    i, total = 0, totalWholesale = 0;
 
for (i = 0; i < max; i += 1) {
    if (checkBoxes[i].checked) {
        values = checkBoxes[i].value.split(",");
 
        // The + on the end is to convert the value to a number.
        total += +values[0];
        totalWholesale += +values[1];
    }
}


If you were using IE < 8, btw, querySelectorAll() would need to be replaced with a custom function to enumerate the checkboxes, which shouldn't be too complicated; probably something like this:
javascript code:
var getCheckboxes = function () {
    var i, elements = document.getElementsByTagName("input"),
        max = elements.length,
        result = [];
 
    for (i = 0; i < max; i += 1) {
        if (elements[i].type === "checkbox") {
            result.push(elements[i]);
        }
    }
    return result;
};
EDITED: 11 Feb 2011 17:33 by CAER