Welcome to my website. I am always posting links to photo albums, art, technology and other creations. Everything that you will see on my numerous personal sites is powered by the formVistaTM Website Management Engine.

icon.linkedin.jpgicon.twitter.jpg

  • Opening a New Window From a Web Page with Javascript that is SEO Friendly
    05/05/2011 11:01AM

    The days of <a href="#" target="_blank"></a> are long gone.? The way to open a new window with a link is to do it using the javascript window.open() method via an onclick callback.

    However, you still want to make your pages SEO friendly, so you don't want to go about generating links with href="#".? The way to do it is as follows:

    Javascript:

    <script>

    function openNewWindow(url) {

       window.open(url);

    }

    </script>

    HTML:

    <a href="someURL.html" onclick="openNewWindow('someUrl.html');return false;">Link</a>

    When implementing links this way, you still include the url in the href attribute making the page SEO friendly and implement the new window functionality via your javascript function.? You must make sure to include return false; in your onclick attribute so that the link doesn't load in the window from which the original click was issued.

  • Disabling JavaScript Validation in Eclipse Helios 3.6.1
    02/23/2011 3:53PM

    The Helios JavaScript validator does not seem to like the jquery-1.5.min.js (or for that matter a number of other know good js libraries).? As a result Eclipse complains a lot when building a project.

    The quick fix that I found was to disable JavaScript validation under the Builder preferences, for your project:

    Project/Properties/Builders

    Simply, uncheck the "JavaScript Validator" and you should be all set.

  • An error occurred


    formVista ERROR #2002566:We are sorry but that has been a system error.