biking to work

I started biking [part-way] to work a few weeks ago and thought I’d mention it. I’m riding my old Fuji Sandblaster SX mountain bike that my mom bought me for Christmas 12 years ago or so. What a great bike! A little WD40 and oil and I was ready to ride (albeit still without a …

biking to work Read More »

Joomla Tip: “mgmedia2 component not installed. Please install first to use the plugin.”

If you are seeing “mgmedia2 component not installed. Please install first to use the plugin.” then you probably either just tried to uninstall the mgmedia2 thing from your Joomla admin panel, or are trying to install mgmedia2. If you want to uninstal mgmedia2, make sure you go to Installers > Mambots and uninstall the mambot/plugin …

Joomla Tip: “mgmedia2 component not installed. Please install first to use the plugin.” Read More »

[SOLVED] Dreamweaver: Site-wide, design time style sheets using templates

Prerequisites: Every page of your site must be a PHP file, or some kind of server side language file. You must use Dreamweaver templates to make the design-time stylesheet automatically apply itself to the pages of your site. This solution is not going to work for everyone because of the two prereqs above; sorry about …

[SOLVED] Dreamweaver: Site-wide, design time style sheets using templates Read More »

Dynamically populate an element styled with white-space: pre

Assume: $ = document.getElementById; pre = $(‘pre-text-element’); //pre-text-element is the ID of my pre tag element You cannot use: $(‘element’).innerHTML = ‘line1\nline2’; //will not work in IE7 You must do this: e = $(‘element’); while(kid=e.firstChild) { e.removeChild(kid) } //remove all children in the e.appendChild(‘line1\nline2’); Lame, huh?