Skip to main content

Posts

Showing posts with the label web development

Make middle-click work or get off the Web!

I'm tired of seeing it happen and this seems to be getting worse rather than better over time, so I'm going to rant about it now. If your website doesn't properly support middle-click (and right-click) for linking documents, then you're doing web development wrong! In fact, in the United States, it's actually illegal. For the uninitiated normal human who might stumble upon this post, HTML is how web pages are designed. HTML is defined as a limited set of "HTML tags" (or just "tags") that define the structure of how the web browser is supposed to render a HTML document. As time has marched forward and specifications for HTML have evolved/adapted to the changing needs of the web, the set of "HTML tags" has changed too. However, what hasn't ever changed is that if you want to form a link between two documents, the ONLY acceptable tag is the "a" tag, which is shorthand for "anchor." The "a" tag is ...

Some thoughts about programming for the "Mobile Web"...

I recently implemented a new feature called Cache Profiles into Barebones CMS . I'm a bit stuck on the documentation because I've had to stop and figure out how I'm going to create a mobile-friendly version of the website. I eat my own dog food after all. Om nom nom. The concept of a "mobile-friendly website" is foreign to some people. A lot of people think, "Our main website displays the exact same on the desktop, iOS, Android, etc. and therefore it is mobile!" That is NOT a mobile-friendly website. If a user has to use pinch-to-zoom or scroll horizontally at all to read the content, you have a desktop-only website. While desktop websites do display on most modern mobile devices, they are NOT mobile-friendly and users will hate you. Actually, that is a pretty good definition of a mobile-friendly website: "A mobile-friendly website is one that displays on small screens such as smartphones, scrolls only in the vertical direction, and is...