<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
  <channel>
    <title>Lee's Code - A Web Programmer's Toolbox</title>
    <link>http://shurie.com/coder/</link>
    <description>Get programming code snippets and tips for HTML, CSS, ASP, SQL, JavaScript, RSS, XML, and more. Lee's code is free, will save you time and money, and make your programming time more productive and fun!</description>
    <language>en-us</language>
    <pubDate>Sun, 04 Feb 2012 00:00:00 -0700</pubDate>
    <item>
      <title>Expanding Collapsing Block - Updated</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=45</link>
      <guid>http://bordersense.com/blog.asp?blogid=45</guid>
      <description><![CDATA[This code lets you create one or more areas on your web page which expand when an image or a link is clicked. The area will collapse and disappear again when you re-click the image or link. It is used for FAQs, but has mony other uses. <br><br>For FAQs, the expanding area is normally formatted text. However, you can use any HTML, CSS, or JavaScript code you wish to. The expanding area can be as large or as small as you want. <br><br>Updated for cross-browser compatibility.]]></description>
      <pubDate>Sat, 04 Nov 2011 17:17:25 -0700</pubDate>
    </item>
    <item>
      <title>SQL Server Remove Duplicate Records</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=44</link>
      <guid>http://bordersense.com/blog.asp?blogid=44</guid>
      <description><![CDATA[Ever had duplicate rows in a SQL table and needed a quick way to get rid of them? This can be tricky - especially when the duplication spans multiple columns. <br><br>Here's your answer - short and sweet.]]></description>
      <pubDate>Fri, 16 Jun 2011 10:09:48 -0700</pubDate>
    </item>
    <item>
      <title>ASP - Create Radio Buttons</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=43</link>
      <guid>http://bordersense.com/blog.asp?blogid=43</guid>
      <description><![CDATA[This is a simple function to create radio buttons. I use it often to populate survey forms when there are many repeated radio button groups.]]></description>
      <pubDate>Tue, 16 Aug 2010 15:27:31 -0700</pubDate>
    </item>
    <item>
      <title>Extract XSD Date and Time</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=42</link>
      <guid>http://bordersense.com/blog.asp?blogid=42</guid>
      <description><![CDATA[Here is a classic ASP script I wrote to convert XSD formatted date and time info to vbGeneralDate format.]]></description>
      <pubDate>Thu, 14 Jul 2010 09:41:22 -0700</pubDate>
    </item>
    <item>
      <title>Convert DateTime to XSD format</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=41</link>
      <guid>http://bordersense.com/blog.asp?blogid=41</guid>
      <description><![CDATA[I couldn't find a function to convert date and time to XSD DateTime format ( [-]CCYY-MM-DDThh:mm:ss[Z|(+|-)hh:mm] ) so I wrote one. <br><br>Use this function to convert any of the common date/time formats to XSD Date Time Format which is sometimes used in data-transfer applications and often in XML feeds.]]></description>
      <pubDate>Sun, 26 Jun 2010 09:19:14 -0700</pubDate>
    </item>
    <item>
      <title>Form Button Working and Disabled</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=40</link>
      <guid>http://bordersense.com/blog.asp?blogid=40</guid>
      <description><![CDATA[this is the code for a form button which will be disabled on click (so it can't be clicked twice) and the text on the button will also change to say working…]]></description>
      <pubDate>Tue, 05 Apr 2010 09:41:48 -0700</pubDate>
    </item>
    <item>
      <title>Refresh Opening Page</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=39</link>
      <guid>http://bordersense.com/blog.asp?blogid=39</guid>
      <description><![CDATA[This is a very simple bit of Javascript which you can add to the <BODY> tag of a html page which has been opened by another page. When the called page is closed, the opening page is automatically refreshed. This is the simplest method I know of accomplishing this.]]></description>
      <pubDate>Fri, 18 Feb 2010 11:50:22 -0700</pubDate>
    </item>
    <item>
      <title>Detect Record State and Database State. Close recordset and database</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=38</link>
      <guid>http://bordersense.com/blog.asp?blogid=38</guid>
      <description><![CDATA[This code snippet illustrates how to detect an open recordset and close it. Same for an open database connection.<br><br>If you do not first detect the state of the recordset or the database and you attempt to close it, you will get an error if it is not open. This code eliminates the error by first detecting the state of the recordset or the database connection.]]></description>
      <pubDate>Tue, 07 Dec 2009 10:14:48 -0700</pubDate>
    </item>
    <item>
      <title>SQL Injection Data Cleaner</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=37</link>
      <guid>http://bordersense.com/blog.asp?blogid=37</guid>
      <description><![CDATA[This is a simple input field cleaner to help prevent SQL Injection problems. SQL Injection occurs when a hacker fills out a form on your web site or posts data to a script. If the script which accepts and processes the data reads or writes to a SQL database, the hacker can include SQL commands. Those commands can insert data to your database and/or can output details about the tables and fields in your database. <br><br>There is much more to SQL injection, but this simple script will help to clean submitted data. It is intended for alphanumeric fields. You can clean numeric fields separately by testing for isNumeric and Not isNull.<br><br>Lee has a good deal of experience protecting web sites from SQL injection.]]></description>
      <pubDate>Thu, 01 Oct 2008 14:38:14 -0700</pubDate>
    </item>
    <item>
      <title>HTML box with rounded corners</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=36</link>
      <guid>http://bordersense.com/blog.asp?blogid=36</guid>
      <description><![CDATA[This little trick uses the fieldset and legend tags to create a nicely bordered box with a title. It is straight HTML.<br><br>Originally this was proprietary to IE, but it has been adapted by Mozilla Firefox. In IE the corners are nicely rounded. In Firefox they are square.]]></description>
      <pubDate>Sun, 13 Sep 2008 23:11:31 -0700</pubDate>
    </item>
    <item>
      <title>Classic ASP Timer using SQL Server</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=35</link>
      <guid>http://bordersense.com/blog.asp?blogid=35</guid>
      <description><![CDATA[This script provides a way to cause your Classic ASP page t pause or sleep. It uses SQL Server to perform the sleep function.]]></description>
      <pubDate>Wed, 05 Aug 2008 11:04:34 -0700</pubDate>
    </item>
    <item>
      <title>Lorem Ipsum Text Filler</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=34</link>
      <guid>http://bordersense.com/blog.asp?blogid=34</guid>
      <description><![CDATA[Ever needed something to use as a placeholder for future test? Have you wondered what "Lorem Ipsum… " was all about? Here is 5 paragraphs of Latin gibberish commonly used for text filler.]]></description>
      <pubDate>Wed, 13 May 2008 23:11:31 -0700</pubDate>
    </item>
    <item>
      <title>JavaScript Page Redirection on a Timer</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=33</link>
      <guid>http://bordersense.com/blog.asp?blogid=33</guid>
      <description><![CDATA[This is a simple but useful JavaScript code snippet which redirects the current page on a timer. Note the timer is in milliseconds.]]></description>
      <pubDate>Wed, 26 Feb 2008 19:19:32 -0700</pubDate>
    </item>
    <item>
      <title>ASP Break Cache</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=32</link>
      <guid>http://bordersense.com/blog.asp?blogid=32</guid>
      <description><![CDATA[When you update a data  on a data-driven page then redirect a user to it, you want to ensure the web browser displays current content instead of cached content. Use the simple code below to fool the cache.]]></description>
      <pubDate>Sat, 02 Nov 2007 13:43:53 -0700</pubDate>
    </item>
    <item>
      <title>Random Number Generator</title>
      <link>http://shurie.com/coder/code_details.asp?codeid=31</link>
      <guid>http://bordersense.com/blog.asp?blogid=31</guid>
      <description><![CDATA[A simple function but very useful. This script will generate a random number between 1 and 1,000,000.]]></description>
      <pubDate>Sat, 02 Nov 2007 13:38:13 -0700</pubDate>
    </item>
  </channel>
</rss>
