What am I doing now?
Archives 

Show All

  • 2009
    • February
      • New script - help popup for forms
        02/12/09
        Ok, I figured out a quick and simple script for putting popups next to form elements. A demo of it is here:
        http://www.kaosweaver.com/testing/findme.php
        Works with tabs or with a mouse click, the setup is pretty easy, copy the code in the source, add the onfocus and onblur to the elements

      • Time with the kids
        02/03/09
        As those of you who frequent my facebook page may know, my wife, Samantha, had an emergency issue last Thursday and was in surgery the next day. We're blessed in that the issue was resolved and she is coming home today! During her time at the hospital, I've been playing Mr. Mom and it is

      • Go Steelers
        02/01/09
        What a game! Go Steelers!

    • January
      • Secret's out, I'm a STEELERS fan :)
        01/23/09
        Yep, I've gone and changed the Kaosweaver Logo to reflect my devotion to the BEST football team of all time, ever :)

        I have nothing against the Cards - in fact, I'm happy they made it to the superbowl with their history and all. Great job!

        I'm just a fan of the

      • Facebook anyone?
        01/20/09
        OK, so I've started to actually work with the facebook application and maintain the entry in face book for myself (Paul Davis) even uploaded a picture and some personal pics from a recent visit to Disney. Easiest way to find me is a kaosweaver search.

        It is interesting how the draw o

      • Windows 7 Beta is out!
        01/14/09
        Well, Microsoft has released the Windows 7 beta for everyone who wants it to download and test it out. I'm working on downloading it and I'll be installing it on a PC to see how it will operate (or I may just setup a virtual machine and run it in that).

        It comes with Internet E

      • Happy New Year!
        01/01/09
        Hi all, it is 2009! Made it through another year!

        For Kaosweaver, I'm planning on making new products based upon the JavaScript libraries that have friendly licenses (i.e. not GPL or like that) and, maybe, a couple of custom scripts, like the Gallery.

        I've also got a

  • 2008
    • December
      • The Griswalds' have nothing on us...
        12/25/08
        Yeah, so, we are on vacation - we head out to Kentucky to go to the Creation Museum - they have a free admission day on December 24th. Right off of the bat, my middle son throws up (about 90 minutes in to the trip) - coating his clothes and messing up the car seat. We stop, we clean, we figure it

    • November
      • Where have I been?
        11/24/08
        Wow - it has been, like, forever, since I've been able to blog - truth of the matter is, I've been working very hard on a project which was JUST released today. The new voices.com site design. The site is a technical marvel and I am thrilled to work on the project. The team at voices.co

    • June
      • Tribute to Jane
        06/20/08
        My mother-in-law passed away June 20th at 1am in the morning. She was a child of the 60's. Rebel, hippie, wife, mother, accountant, CPA, Christian - and my friend. Cancer took her away far too early. On this Friday, I'm listening to Led Zepplin in memory of Jane, the times she grew up in,

      • Firefox 3 is out!
        06/19/08
        Go grab it at Mozilla's site!

    • May
      • Government attempts to pass laws to steal YOUR work
        05/15/08
        Yep, the US government in its "wisdom" has entertained a bill named:

        U.S. Orphan Works Act of 2008

        Which pretty much means, if you own a copyright on visual work and someone can make a plausible case that they cannot find the owner and creator, they can use it for FRE

    • April
      • Code Igniter and error pages
        04/17/08
        Code Igniter (CI) uses default error pages to handle the variety of errors from the system. All of these error pages are stored in the errors folder off of the application folder. I use includes in my site for the header, footer and side column to enforce uniformity; on the 404 pages, if you have y

      • Tax day
        04/14/08
        Tax day for the USA federal taxes is due tomorrow!

        If you're paying too much in tax (and ... most likely you are) - you need to grab this book and get it going for this year. I've read this book and I've saved (real money) THOUSANDS of dollars from the advice in the book.

      • MAC user needed
        04/11/08
        I need to test a new extension, if you're a Mac user, I need you :)
        This extension is to test if the WYSIWYG editor installs correctly (and works).
        You get a license of the product (and, honestly, this shouldn't take more than 30 minutes of your time)

        Email me :)

      • Using a SELECT form field to disable another field.
        04/10/08
        If you need to selectively disable fields based upon a select statement, the code to do this is pretty simple:


        <form id="form1" name="form1" method="post" action="">
        <label for="select"></label>
        <se

      • Adobe Contribute KILLER
        04/09/08
        One of the frustrating things for me, as a coder, is working with Contribute enabled sites, because they use templates and, usually, because it is all static pages. Today, I stumbled across a product that will absolutely KILL Contribute - and it is FREE!

        Check it out:
        http://www.cus

      • Check out my introduction to Code Igniter on Community MX, FREE article
        04/08/08
        http://www.communitymx.com/content/arti

      • Asking for help in forums
        04/03/08
        Every now and then some one complains about not getting help in a forum for Adobe's products.
        For me, I usually skip questions that:
        1. lack adequate information (like, say, a URL)
        2. abundance of useless information (I don't need a history of all things you've thought

      • Dreamweaver automatic file load
        04/02/08
        I was reading the Dreamweaver forum and a person asked:


        Starting dreamweaver from the command line, is there a switch that specifies the file for it to open?

        For example, just going "dreamweaver myfile.html" doesn't seem to do it.

        Well, I did a l

      • EVERYTHING IS FREE*
        04/01/08
        Yeah, it is April 1st, which is April fool's day - so everything (*you own) is free (*for you) - your bank, credit card and mortgage company make have different opinions on the matter, but I won't charge you for your stuff :)

        Of course, if you'd like an extension for free,

    • March
      • Video demo for Expert Calendar v3
        03/21/08
        I created the following demo with Camtasia. I've really enjoyed the easy way it makes this quick, in fact, I put this together in less than an hour (from prep to captions) - I didn't know how to do captions right, so they may not be perfect - but I did pick up how to get them in in a shor

      • Been busy
        03/15/08
        Well, the major site I've been working on has gone live a week ago, hence, the last two weeks, I've been unavailable (one for the "final" fixes and the next for the fixes in production)

        The site kicks it and includes so much behind the scenes coding (and it looks so si

    • February
      • Happy leap year day!
        02/29/08
        And if you're reading this, I have a present for you!

        Buy any one extension from us today (must be an order on the 29th of February) and email me with a request for another extension of equal or lessor value and I'll give you that one too!

      • mySQL searching for special characters like %
        02/27/08
        With most special characters in languages and, in this case, SQL, there is a way to escape them (which means have the character count for what it really is instead of the special meaning).

        In mySQL, if you want to search for the % character, which means match anything and normally returns

      • Countdown clock - Javascript
        02/22/08
        Check it out here:
        http://www.kaosweaver.com/testing/countdownclock.php

        In order to use it, you need to copy the JavaScript in the HEAD of the document and the DIV countdownclock with the contents.

        To set the time to count down to, find this line:
        cdc.p(2,23,2009,10,4

      • Code Igniter custom validation checking
        02/19/08
        I needed to validate three fields together, based upon the field names being phone1, phone2, phone3. I found out I could pass a parameter through a custom function, like this:


        $rules["phone1"]="callback_phone_check[phone1]";

        ...

        function p

      • Reveal Password Script
        02/13/08
        So you have a login, but you want your users to be able to see their password when they are entering it, if they want to - so, we need some JS for this. I have my core scripts:


        function $(){eS=new Array();for (i=0;i<arguments.length;i++) {el=arguments[ i]; if (typeof el == '

      • LABEL tags, IE and Firefox...
        02/07/08
        I have a form validation routine, trying to use good feedback and accessible, I'm working off of the label's for attribute in order to get the error message to tell them the exact field they need to look at. So I setup a collection, getElementsByTagName (using label) and then check the fo

    • January
      • The irony of open source software
        01/29/08
        I've written a blog over at CMX and it is about open source donations :) check it out:

        The irony of open source software

      • Use Dreamweaver's built in features
        01/28/08
        Well, I've been very occupied with the constant drum of work, which is a good thing, but that leaves far less time for random coding I've been trying to include here. Well, today I have a cross over from the work to something I hope you'll find useful.

        In Dreamweaver, they

      • Slideshow with links, from Dynamic Images Extension for Dreamweaver
        01/21/08
        Well, this is a modification of the script output by the Dynamic Images Extensions, slideshow option.

        First thing, download the extension and use it with the images you would like in your slideshow.

        Next, follow these modifications:
        Replace the init function in the sS obje

      • mySQL to be aquired by SUN
        01/16/08
        I wrote a blog entry over on Community MX, check it out:
        http://www.communitymx.com/blog/index.cfm?newsid=896

      • Expert Calendar manual modification
        01/09/08
        A request from the forum to limit the number of days from the current date a selection could be made was submitted. Expert Calendar doesn't natively support that, so I wrote this little mod - helpful to those with EC version 3, otherwise, not so helpful :)


        function KW_sTD(f,n,

      • JavaScript to detect if it is currently Daylight Savings Time
        01/07/08
        This code:


        function isDST() {
        var d=new Date();
        var dY=d.getFullYear();
        var d1=new Date(dY,0,1,0,0,0,0);
        var d2=new Date(dY,6,1,0,0,0,0);
        var d1a=new Date((d1.toUTCString()).replace(" GMT",""));
        var d2a=new Date((d

      • Stuck in Indianapolis airport
        01/04/08
        Our flight to return home is delayed - gotta love air travel...

      • Happy New Year!
        01/01/08
        It is 2008 and we here at Kaosweaver (and by we I mean me...) want to wish everyone here a happy and healthy - and PROFITABLE - 2008!

  • 2007
    • December
      • And the Patriots have a perfect season!
        12/29/07
        Now, lets see how they handle the playoffs!

      • Merry Christmas
        12/27/07
        I hope everyone had a Merry Christmas!

        I am in Florida on vacation with the family visiting my parents. We're going to Disney sometime in the near future and we have a few other things to do. I'm doing everything I can to avoid working (it is hard) so I can enjoy this time wit

      • Explaining if else if statement to a designer
        12/21/07
        who likes to shop - she couldn't wrap her head around, so I explained it as so:


        if (the store has blue shoes)
        buy the blue shoes
        else if (the store has red shoes)
        buy the red shoes
        else if (the store has pink shoes)
        buy the pink shoes
        else
      • Get the date difference
        12/19/07
        This is a script which will determine how many days are between two dates as well as do some error checking (to make sure one is after the other) and produce error messages. This script also deals with hours as well.

        The basics:

        function $(){eS=new Array();for (i=0;i<argume

      • Taxes and cell phone
        12/18/07
        I posted two blog entries over on Community MX about Section 179 taxes and cell phone charges. Check them out:
        CMX Blog

      • How to recover your mySQL password
        12/14/07
        I wrote a little Quick Shot over at Community MX, check it out here:
        Quick Shot - Reset the Root mySQL Password

        Free to read! Enjoy.

      • Code Igniter
        12/12/07
        This is a PHP framework I've been working with the last couple weeks, it really rocks. It makes a lot of the common functionality really simple and rock solid! While it isn't DW friendly - by comparison, DW isn't as complex nor as functional as CI is. DW lacks the elegance of a mod

      • XAMPP
        12/05/07
        The joy of using open source software - I recently had a need to work locally on a server and setup some complex stuff. So I started with XAMPP and got it installed. The first part was pretty easy once I got the right version downloaded (which isn't clear, the smaller .EXE actually does contai

      • Can you write?
        12/03/07
        I'm a partner for Community MX - a group of authors who produce tutorials and articles for a subscription website. Would you like to write for Community MX? Well, we're always looking for talented people with good writing skills. If you think you would like to try out, we have a guest a

    • November
      • Full Screen popup w/translucent background
        11/29/07
        I've made this little popup very simple, check it out!

        translucent popup example

        The translucent class makes it all possible, to add this to your pages, you'll need to assign IDs to the images you want the effect on, then look for this line:


        pU.p(&quo

      • Limiting the number of entries a multi-select form element can handle
        11/28/07
        Someone on one of the forums requested a form multiple select element which would only allow a few selections. It sounded like a challenge and a couple days later, I finally figured it out! The form element doesn't completely mimic how a normal multiple select would work (for example, the con

      • New Article at Community MX - the 4 D's of projects
        11/20/07
        It is the first of a different type of article on the project process, and the first article is free, so check it out:
        Building a Reservation System - From Discovery to Deployment: Part 1

      • Being sick is annoying
        11/16/07
        Yeah, two wining posts in a row, sorry, today I've got a head-swimmy thing going and the throat is sore. It gets in the way of having clear thought and discussion as well as slows down my thinking. Don't know who I got it from, but I'm sure I've "shared the love". It

      • Why I hate SPAM this time...
        11/15/07
        I check my email often as I want to be responsive about providing support to customers, sometimes I use a webmail client, othertimes Thunderbird which is an awesome product. Well, in my zeal to delete part of the hundreds of spam I get daily, I inadvertently selected an email from a client... and

      • Form Styling
        11/14/07
        Well, I've been working on this today, it automatically styles all form elements so that when they are in focus, the style is switched to a focus style and then switched back to the prior style when the focus is gone. Just drop the script in any JS file you have attached to your site and you&#

      • Database stuff
        11/08/07
        A quick way to eliminate duplicate records in a table in mySQL


        INSERT INTO new_table(field1,field2...) SELECT DISTINCT field1,field2... FROM duplicateTable;

        Match up the fields (field1 to field1) in order and you're set!

      • Brothercake
        11/06/07
        I've been working with some of brothercake's code for image transitions, came up with some serious modifications and I'm working on incorporating them into some of the Kaosweaver product line. Specifically, Expert Images and a gallery product (unnamed as of yet) - what I don't k

    • October
      • Fireworks line art
        10/31/07
        This is a cool tutorial I'd thought I'd mention here, although I'm not working on it now, I'm hoping you'll find it pretty cool:

        Convert your photo into line art with Fireworks

      • Hebrew Date in PHP
        10/30/07

        $gregorianMonth = date(n);
        $gregorianDay = date(j);
        $gregorianYear = date(Y);

        $jdDate = gregoriantojd($gregorianMonth,$gregorianDay,$gregorianYear);

        $hebrewMonthName = jdmonthname($jdDate,4);

        $hebrewDate = jdtojewish($jdDate);

        list($hebrewM

      • DOM Scripting: Web Design with JavaScript and the Document Object Model
        10/24/07
        This book just ROCKS, love it all the way - I've used this to improve my JS skills even more than I already had - it takes you to the next level when you've got the basics of JS handled. I recommend it 100%.



        Get it, use it, love it!

      • Check out my quick shots on Community MX
        10/23/07
        I've written some "quick shots" articles that show how to do something specific and quickly, the first one is for adding accessibility to a form:
        http://www.communitymx.com/abstract.cfm?cid=76ADD
        and the next is how to stop a form submission:
        http://www.communitymx.com/

      • Select List moveable box
        10/22/07
        Some Old School JS for ya! The form was built to manage PHP code, so the selects have the [] on the end of them so PHP knows it will be getting an array from the selects.

        You will need to swap out the select names with yours, of course, in all places too.
        http://www.kaosweaver.co

      • Random & Slideshow Background
        10/19/07
        First add a style for the background to get the image where you want it on the page, like:


        <style>
        body {
        background:center 200px no-repeat fixed;
        }
        </style>


        Then add this code anywhere (in a .js file, on the page, whatever, it will

      • Changing text on the page when a select changes
        10/16/07

        <script>
        function $() {
        eS=new Array();for (i=0;i<arguments.length;i++) {el=arguments[ i]; if (typeof el == 'string')
        el=document.getElementById(el);if (arguments.length==1) return el; es.push(el);} return es;
        }
        function showText(s,t,m) {
        if

      • Create a link in dynamic data
        10/15/07
        Click on the {recordsetName['columnName']} in the design view
        Go to the properties panel (bottom of the interface)
        Click in the Link box, put # (this makes it a link)
        Click on the bindings tab (in the application panel)
        Find your recordset and then open it up (if it isn

      • Spry Tabbed Panels - Changing the opening tab when a page loads
        10/15/07

        l=window.location.search
        if (l.indexOf("tab")!=-1) {
        s1=l.split("&");
        flag=0;
        for (var i=0;i<s1.length;i++) {
        s2=s1[ i].split("=");
        if (s2[0].match(/^[\?]{0,1}tab$/))
        flag=s2[1];
        }
        TabbedPanels1.showP

      • Expert Calendar v3 Bug fixed
        10/12/07
        Fixed a bug in the script - now when a date is selected, the year will stick as to the last selected date's year as opposed to returning to the current year while the month was set to the last selected date's month.

      • Converting Date Insert scipt into a library
        10/10/07
        The original code is:


        function doClock(){ // By Paul Davis - www.kaosweaver.com
        var t=new Date(),a=doClock.arguments,str="",i,a1,lang="1";
        var month=new Array('January','Jan', 'February','Feb', 'March

      • Dreamweaver image insertion change
        10/09/07
        Issue:
        Inserting an image in the source view doesn't insert the image's width and height properties.

        Solution:
        Find this file:
        Image.js in the Common folder in the Objects folder and in that file (which is in the Adobe/Macromedia folder in your application/ Appli

      • The next global object function
        10/09/07
        The first one (yesterday) was for adding events, this function is to find out which object was the one with the event. Recall, we can't pass arguments to the function calls with addEvent, so this function tells us what object was acted upon (in case we want to do something with the object itse

      • JavaScript Library
        10/08/07
        This is my favorite library code, it is the basic attachment script to attach events to other objects (like images, form elements, buttons, etc). Its functionality it straightforward:
        gO.addEvent(objToAddEventToByID, eventWithOutTheON, functionName)


        var gO= {
        function

      • Just getting started
        10/08/07
        This blog is my code musing - a lot of the code won't work right the first time around, this blog is my reminder of what I am working on and what I need to do to complete the code. I have so many little coding projects, this blog will help me keep track of them and share them with visitors who