Forum:Identify user's location template. Possible?

On the WikiGardener site there is a need to identify the user's location to adjust the page display. (If a user is from North America, there's no point showing them when you should sow a plant's seeds if you're in the UK). Is it possible to identify where a user is accessing the site from so that this information can be incorporated into a template to show/hide tables accordingly? OllieMartin 09:25, August 10, 2010 (UTC)
 * With Javascript, it is one the the statistic Google Analyics pulls with it. -- 09:28, August 10, 2010 (UTC)
 * How complex is this to produce? (I know nothing about Javascript except inserting pre-written code) OllieMartin 09:56, August 10, 2010 (UTC)


 * Alternative idea - Instead of getting involved in complex javascript coding to detect were a user is (possibly located) & display a different chart is just create the charts for the different time / seasonal zones & Display then using the navbox with collapsible groups, with the variations hidden by default. Then if somebody in say the southern hemisphere wanted to they could create a region variation for their seasons easily & add a new section. The alt sections could be in collapsed boxes by default to reduce page space using wikipedia:Template:Navbox_with_collapsible_groups (Yes I have cautioned against people using wikipedia templates in the past, but I have used it on my wiki successfully with wikipedias navbox core code and it may be simpler than getting involved with custom javscript to select an option to display) - BulldozerD11 11:12, August 10, 2010 (UTC)


 * It's a good idea (as usual Bulldozer), so good in fact that I'd already thought of it and applied it to this page for the different varieties of cabbage and here for different harvest periods of peas, rather than different seasonal zones. It would simply be a matter of changing the titles to the location rather than the type/harvest time. However, it would be nice if the page automatically uncollapsed the table that was appropriate, or even didn't show the inappropriate ones.
 * This will certainly do for the time being though. No point over-complicating it until I get a bit more traffic. OllieMartin 13:12, August 10, 2010 (UTC)