thepeoplestoolbox

thePeoplesToolbox is a nice repository of bookmarks for popular programming and design sites.

Robots.txt Generator

Robots.txt Generator is a handy tool that uses a web form to generate a Robots.txt file for your website. There are lots of options that make the file generation a snap! For those of you wondering, Robots.txt is a very simple text file that is placed on your root directory and tells search engines and other robots which parts of your site they are allowed to visit and index.

Why You Should Right Align Form Labels?

Swapnonil Mukherjee offers a good explanation as to Why you should right align form labels. He suggests by showing good examples that you eye must travel a smaller distance to navigate from form field to form field when the labels are right aligned.

Flash Detection

Good old Ray Camden has blogged about Flash detection and has prompted an alternative to the Macromedia/Adobe solution. It's called FlashObject.

Ajax (XmlHTTPRequest Object)

There have been a lot of posts recently on the XmlHTTPRequest object since Google released their Google Suggest application in the Google labs. Here are a few links describing this method that I thought I would throw together:

Alternating Row Color Tip

Mark Kruger has blogged a tip on colouring alternative rows in HTML using CSS. I've done something similar before, but the use of #currentrow mod 2# is neat.

I now have a better tip. Use BitAnd() like <tr class="rowBackground#BitAnd(query.currentRow,1)#">.

How to Code for Popup

Rather than code ...

<a href="#" onclick="javascript:window.open('path/to/page',pagename)">link title</a>

...use this...

<a href="path/to/page.html" onclick="return popupWindow(this.href,'winPopup','height=400,width=200');">link title</a>

..and this JavaScript function...

function popupWindow(strURL,strName,strWindowFeature) {
   objWindow = window.open(strURL,strName,strWindowFeature);
   
   if (window.focus) {
      window.objWindow.focus();
   }

   return false;
}

Got this idea from here and there are more ideas here and here.

Cheat Sheet Roundup

Transparent PNG's

Here's a fix for the support of transparent PNG's in IE 5.5+.

There's even a support forum.

Conditional Comments in IE

Here's a cute one. You can do tests for IE versions using conditional comments!

More Entries

BlogCFC was created by Raymond Camden. This blog is running version 5.9.001. Contact Blog Owner