Blogs about web-design:
Fantastic Tabs.
This X/HTML and CSS technique differentiates the current page or section from others in a navigation bar, using a single stylesheet and without requiring any server side code. In the iframe below, "Home", "About" and "Contact" are different pages, each sharing the same CSS file. Click the different tabs and note that the current tab remains highlighted during navigation.
Read more about it in my article here.
Dynamically Adding a JavaScript Element.
This bit of JavaScript will allow you to dynamically add a JavaScript element (which will execute) into a document's head.
var theScript = document.createElement("script");
theScript.type = "text/javascript";
theContent = document.createTextNode("alert('hi')");
theScript.appendChild(theContent);
document.getElementsByTagName("head")[0].appendChild(theScript);
First, we prepare a new script element using createElement(). We then create the text that will be our executing JavaScript, and insert it into the script element. Last, we append the new script element to the end of the first head element in the document.
Why would we want to use JavaScript to edit the HTML to add JavaScript? Clients.
Domain Jokes.
Web domain names are not case sensitive. This has lead to some hilarious results in choosing a domain. I just happen to have a list of some sub-optimal choices. (Read them a couple of times to find the jokes.)
- WhoRepresents.com
- TherapistFinder.com
- PenIsland.com
- PowerGenItalia.com
- ExpertsExchange.com (This is my favorite example, because they should know better.)
Do you know any I've missed?
Browser Support.
There was an interesting discussion about browser support in Boagworld's panel at the 2009 SXSW conference. (Start listening at about 44 minutes into the podcast. Yes, yes, I'm a little behind in my podcasts.)
When asked when web designers would no longer have to support IE6, Jeremy Keith rejected the very premise of the question - that "supporting" a browser was a simple "yes" or "no" decision. He argued that lessened functionality was OK in older browsers, and that no browser should be denied access to your content.
In my opinion, designing a site which degrades nicely while only testing in a few modern and high-traffic browsers is definitely the way to go.
Opera Mini on the iPhone.
Those folks at Opera appear to have an abundance of chutzpah. Not only did they port their web browser to the iPhone (it's wicked fast, too), they've also posted a giant timer showing how long it's been since they submitted the app to Apple. (Apple is notorious for not approving apps which duplicate existing iPhone functionality.) The big question is, does it have Flash?
Remaining blogs about web-design:
- IE8's Compatibility Mode. — 3.20.2010
- iPhones and Flash. — 3.9.2010
- GoDaddy's Superbowl Ads. — 2.13.2010
- The Save Icon. — 2.7.2010
- The Paranoid Web Developer. — 12.31.2009
- Appending an External JavaScript File. — 12.27.2009
- Photoshop - Seamless Background Photos. — 12.14.2009
- Pixels versus Ems. — 11.29.2009
- Print Style Sheets. — 11.7.2009
- Programming Web Services with SOAP. — 10.22.2009
- Adventures in Apache - mod_speling. — 9.20.2009
- Noscript. — 8.18.2009
- Drupal Tricks for Dummies. — 6.7.2009
- Firefox - Zoom Text Only. — 6.3.2009
- The Developer's Prayer. — 5.20.2009
- Smooth Animation Using jQuery's slideToggle() - Details. — 5.6.2009
- Testing CMSs. — 4.16.2009
- Comment Away. — 3.16.2009
- What I'd Test. — 2.9.2009
- 300 Million Reasons to Optimize. — 2.2.2009
- Re-Woot. — 1.28.2009
- Twitters are no Substitute for Blogs. — 1.20.2009
- Information When it's Needed. — 12.11.2008
- Services and Uptime. — 11.19.2008
- The Market Chooses You. — 9.23.2008
- jQuery - Vertical Show / Hide. — 9.9.2008
- jQuery - Tablesorter. — 9.7.2008
- jQuery - Core Table Functionality. — 8.31.2008
- jQuery - A Library. — 8.27.2008
- My Evening at Refresh. — 7.24.2008
- Experiments with IE6 and Alpha .PNG Solutions. — 7.13.2008
- Custom Dreamweaver Snippets Folder — 6.12.2008
- Webmonkey is Back. — 5.21.2008
- Articles Too. — 5.4.2008
- Naked, Not Broken. — 4.9.2008
- Click Here, I've Been A Jerk to You. — 3.31.2008
- Alpha Transparent .PNGs in IE6 Using Fireworks. — 2.21.2008
- Hacked the Gibson. — 1.29.2008
- Time Flies When You're Coding. — 12.27.2007
- Random Bits. — 11.9.2007
- Hot .PNG News. — 10.17.2007
- Screen Reading. — 9.10.2007
- Clearfix (with an IE7 solution). — 8.21.2007
- A CSS Styled Form. — 7.18.2007
- Good and Bad Podcasts. — 6.11.2007
- Equal Height Columns. — 5.27.2007
- (Not Quite) PNG-Tastic! — 4.29.2007
- Free At Last. — 4.26.2007
- Nudity & Distractions. — 4.5.2007
- Welcome to the Talkies. — 2.18.2007
- It's called "Pro Bono". — 1.24.2007
- Wii The Eff? — 1.23.2007
- Goomba Code. — 1.9.2007
- Internet News. — 9.13.2006
- More Bitching. — 8.28.2006
- Web Devloper Extension. — 6.22.2006
- How'd He Do That? — 6.18.2006
- Google Analytics. — 6.6.2006