Mysterious Yellow Form Fields

If you have ever noticed mysterious yellow form fields on websites, or in my case, had a client call and wonder why there are random yellow form fields on a site that you designed when you know you didn’t design it that way, this article should help.

It’s the Google Tool bar in IE, and there is an elegant fix for it that allows you to either disable completely the highlighted fields or customize them and display a special message to Google Toolbar users.

I discovered this fix on Jon Jensen’s blog.  Click here for Jon’s full explaination and fix.

For those who just want the fix without the "blah, blah, blah", here it is:

  1. Add the following javascript to the <head> tag of your HTML document: 
    <script type="text/javascript"><!--
    if(window.attachEvent)
    window.attachEvent("onload",setListeners);

    function setListeners(){
    inputList = document.getElementsByTagName("INPUT");
    for(i=0;i<inputList.length;i++){
    inputList[i].attachEvent("onpropertychange",restoreStyles);
    inputList[i].style.backgroundColor = "";
    }
    selectList = document.getElementsByTagName("SELECT");
    for(i=0;i<selectList.length;i++){
    selectList[i].attachEvent("onpropertychange",restoreStyles);
    selectList[i].style.backgroundColor = "";
    }
    }

    function restoreStyles(){
    if(event.srcElement.style.backgroundColor != "" && event.srcElement.style.backgroundColor != "#a0d0ff"){
    event.srcElement.style.backgroundColor = "#CHANGE_TO_CUSTOM_COLOR"; /* color of choice for AutoFill */
    document.all['googleblurb'].style.display = "block";
    }
    }//-->

    </script>
  2. Change the background color setting in the 5th to the last line where it says #CHANGE_TO_CUSTOM_COLOR" to a color that you would like to use instead of the default Google Toolbar bright yellow.
  3. Add the following above your form, which will render only if the user has the Google Toolbar installed
    <div id="googleblurb" style="display:none;">
      You can use the AutoFill function on the Google toolbar to fill out
      the highlighted fields on this form.
      <a href="http://toolbar.google.com/autofill_help.html"
      title="AutoFill Help Page">Learn more</a>.
    </div>
  4. Done!  Now when the page loads for a user with the Google Toolbar, they’ll see the highlighted forms in a custom color and a custom message explaining to them why they are highlighted.

Flash CS3: Enabling Type Annotation Warnings for Compile-Time Checking

Most ActionScript 2.0 and 3.0 programmers type all variables in their code.

In CS3, to enable the type checking during compilation you must do the following:

  1. Using a text editor open the following file in the Flash CS3 installation folder: /en/Configuration/ActionScript 3.0/EnabledWarnings.xml
  2. Locate the following line: <warning id="1008" enabled="false" label="kWarning_NoTypeDecl">Missing type declaration.</warning>
  3. Change enabled="false" to enabled="true"
  4. Save the file

Attached is the updated configuration file

Famous Hacker Says, “Don’t use Interenet Explorer”

Jonathan "c0mrade" James, famous for hacking into Pentagon and NASA computers at age 15 gave an interview with PC magazine and was asked about the most preventable security holes that he has seen.  He said that un-patched software was at the top of the list, "and don’t use Internet Explorer".

IE is notorious for opening up computers for numerous browser based attacks.  Looks like c0mrade knows all about them.  IMHO, I’d say, use Firefox.

Read the full article.

Write Your Website Content with Your Visitor In Mind

During website content discussions with clients, NBI frequently hears the same three questions:

  1. "What should we say about ourselves?
  2. What do we want our website visitors to do on our site?
  3. and how do we make it easy for them to do what we want?"

Our response to these questions is "Tell us about information that your typical prospect is looking for when they first contact you."

The answer to this question helps you craft content that is more appropriately targeted to your website audience, and this content will help you drive more traffic to your website.

An effective website is designed to provide information valuable to your target audience. Top ranked websites, in any industry, always have the same basic characteristics.

  • They all provide free, valuable information,
  • in an easy to use format,
  • that is relevant to the target audience.

The three main reasons why writing your content with your visitor in mind is a good way to go:

  1. Visitor centric content typically generates a lot of relevant traffic from links on other websites. What is relevant traffic and why is that good? Relevant traffic is website visitors coming to your site who are already interested in whatever product or service that you provide. Having someone come to your accounting firm, or catering company website who is already interested in what you do greatly increases your chances of making a sale.
  2. Visitor centric content helps increase your search engine rankings. The aforementioned links that drive that relevant traffic, they also help with your search engine rankings. The more relevant links TO your site on the Internet, the higher your site ranks in search engines.
  3. Providing good, reliable, free information is part of the nature of the Internet. The Internet is an open, vibrant, global community and much of what makes the Internet possible is free and part of the public domain. By offering your content you get the opportunity to contribute to what makes the Internet great.

When thinking about the content of your site, think about things that you know about your type  of business or organization that would be of value to a website visitor; things that would help make them an informed consumer and a confident buyer. Get that content out there, and you should see good things happen on your website.