mredkj.com logo

An update blog for mredkj.com

What's this blog about?

mredkj.com is an unfocused programmer resource from Matt, Eric, and Keith

This blog will keep you up to date with our latest site changes.

Tuesday, October 25, 2005

KeyPress Validation - Updates

validate.html

2005-10-25:
* Changed the code. Basically the same, but condensed.
* Previous example is archived
* Updated the chart for onkeypress and added a chart for onkeydown and onkeyup.
* Restructured the page, took out some outdated descriptions and explanations.

posted by Keith [10/25/2005 02:37:00 AM] - permalink - 2 comments

Sunday, October 23, 2005

Tutorial Mixed2b - Select list move options

tutorial_mixed2b.html

Tutorial Mixed2b has changed very little since I wrote the code in 2001, but if I have any update announcements, I'll post them here.

2005-10-23
Made changes just to the html, such as multiple to multiple="multiple",
to make it xhtml compliant.

2005-10-23
One thing I've been asked is how to get the example working with PHP. If you're submitting the form to PHP server-side, then try the following adjustments.

<select id="sel1" name="selectName1[]" size="10" multiple="multiple">
and

<input type="button" value="--&gt;"
onclick="moveOptions(document.getElementById('sel1'),
document.getElementById('sel2'));" /><br />
<input type="button" value="&lt;--"
onclick="moveOptions(document.getElementById('sel2'),
document.getElementById('sel1'));" />
and

<select id="sel2" name="selectName2[]" size="10" multiple="multiple">

Since PHP requires brackets in the name for a multiple select, you can't reference the name using JavaScript, so instead you can reference the id.

posted by Keith [10/23/2005 12:41:00 PM] - permalink - 8 comments

Tuesday, October 11, 2005

Events in File Sharing

p2p_news.html

I used to have a collection of file sharing news links in my file sharing debate page, but it got to be increasingly cumbersome. So now the debate and news pages have been separated.

posted by Keith [10/11/2005 01:58:00 AM] - permalink - 0 comments

Thursday, October 06, 2005

Site Map

sitemap.html

I added a simple human-readable site map. It doesn't include every page, because the site map is somewhat autogenerated (but in a manual sort of way). I'll try to figure out a way to easily include all the pages. Also, the pages should probably be broken up into sections.

The phrase "human-readable" is used above as a contrast to a separate spider-readable site map I created for Google Sitemaps.

posted by Keith [10/06/2005 01:10:00 AM] - permalink - 0 comments