turnipla
Joined 6 years ago
Joined 6 years ago
HTML images maps are not responsive. Just use SVG, it works without any scripts and it resizes with the image.
If you use <foreignObject> you can also use a fully responsive <picture> tag
Statistically speaking, Laotian users speak Laotian. As a traveler, I’m the minority.
Regarding the rest, I feel you. They can guess whatever language as long as they make it easy to change it, without unnecessary redirection games.
Apple.com is relatively good with this:
> Hey I see you’re in Thailand, maybe you want to check out the Thai site.
I’m in Switzerland, please follow my browser language. Don’t guess whether I speak Swiss, French, Italian, etc
I’m in Laos, my OS is in English. Please show me Laotian.
However, do make it easy for anyone to change the language. I shouldn’t have to hunt the settings page when traveling.
German is well supported by software. If Germans want German content, they’ll have their OS set to use German.
Filipinos on the other hand would be a better example: Their software is likely to be in English but surely they prefer reading Tagalog or Cebuano.
- -
As a traveler, I’m thoroughly annoyed by being shown websites in the local language, but that would be perfectly fine if it was easy for me to change the language.
Sadly though changing the language often means having to learn what “Settings, Language, <language name>” looks like in the current country.
COVID surely affected all hospitality, but money isn’t relevant to CS anyway.
function shorten(text, length)
const t = document.createElement('input')
t.maxlength = length
t.value = text
return t.value
}Now there are a few extensions that do that, but obviously they only hide the results from each page, so sometimes you will see pages with 2 results, if any at all.
What you’re complaining about is the lightbulb taking 3 seconds to turn off and its toggle costing $100. Now that something nobody likes.
Maybe reinventing the whole damn car on canvas isn’t a great idea either. I bet that the keyboard isn’t the only part that doesn’t work.
Flash was hated for this reason too: Breaking affordances. Imagine everyone reinventing their own UI framework on each app.
History is never more than 2 clicks away:
- Open Library button, click History
- Open History menu (macOS)
However, yes, core browser functions seem to be stuck to what they looked like in the year 2000 for most browsers. Only Safari basically tries to reinvent its UI every couple of years.Automation is unrelated to where products are sold.
Automation might just mean one fewer cashier at a regular store.
The absolutely ridiculous part of this is that they're using JS to create additional DIVs on top of the image.
Why use the map at all?
Edit: May 20th 2020: the day I learned HN users are retarded