Skip to content

HTML + CSS + JavaScript

Let's Build the Web We Want

  • About
  • Consulting & Training Services
  • The joy of… JavaScript’s getElementsByTagName()

    Jun 7, 2007

    For what it’s worth the kernel of this article was dictated into my phone on my drive into work this morning. I got the idea, had the framework and figured- why the hell not just talk to myself for a while. It was actually pretty efficient, so I might do more of it and if…

    Read article →

  • Need/Want to Hide Internet Explorer 6 Specific JavaScript from IE7?

    Mar 9, 2007

    I use conditional comments to hide IE6 specific styles and scripts from IE7 (and IE7 specific styles and scripts from other browsers), but sometimes you need a bit of logic or something to only run on IE6 and earlier. Conditional compilation is a pretty foolproof way to handle that. function ie_function() { /*@cc_on @*/ /*@if…

    Read article →

  • Code : Javascript : Turn a block into a clickable link area.

    Nov 2, 2006

    Here’s a little script (and some CSS) that turns an entire block (in this case a TR) into a click-able item:

    Read article →

  • Javascript: Parse Domain Name out of a String

    Sep 24, 2006

    Did I mention that the “Web” category might contain code? It might. In fact, it will. Here’s a random function I wrote last night that might be useful function getDomain (thestring) { //simple function that matches the beginning of a URL //in a string and then returns the domain. var urlpattern = new RegExp(“(http|ftp|https)://(.*?)/.*$”); var…

    Read article →

Previous Page
1 … 12 13 14

© 2026 htmlcssjavascript.com. Built with modern WordPress FSE.

Back to top ↑

Advertisement
Advertisement