How to Create a Color Picker in JavaScript
565608
This week you're going to learn how to create a Color Picker similar to the one used in Photoshop, but entirely in JavaScript! By Mark Kahn. 0901
35637
Almost every database driven Web site uses alternating row colors when displaying a list of records, a concept used all over the Internet. In this article you'll learn about the process and how to implement it. By Michael Berman. 0620
32814
Apple's Safari could bring richer colors to Windows browsers, but Firefox soon will help expand the gamut, too.
461353
Color-blocking has moved from summer into winter in a bolder, brighter way.
448300
PHPBuilder.com has a review posted today of a piece of PHP development software - RapidPHP 2007:   Of the many editors available for creating (X)HTML, CSS, JavaScript, and PHP pages, several combine a few different yet compatible languages. Some include support and a few manage to make it work seamlessly. RapidPHP 2007 belongs in the latter category.   They walk through the list of features (including a PHP syntax checker) and include a screenshot of the PHP function hints in action. The reviewer also talks about the support for other languages it has - the (X)HTML editor and CSS style sheet editor.
113897
In the previous article you learned how to create an animation with JavaScript using a timer mechanism, an image of a ball and CSS styles. This time you'll learn how to create a simple ping-pong game. These JavaScript tools will allow you to create games such as Breakout, Tetris, Frogger and more. By Lisha Sterling. 0809
630264
There's a new tutorial posted on the PHP-GTK Community site today - a quick one showing how to use GtkSourceview to create a simple PHP editor with syntax highlighting.   This widget is nearly usable as a real php-gtk IDE. It extends GtkSourceView widget and internally manages both a text buffer and language object classes.   They provide the code, but not too much in the way of explanation for it. Thankfully, most of it is pretty straight-forward. There are a few things that the script has to manage to make the it work - a text buffer for the data, a viewer (window), and the syntax highlighting component. For the view, there are a few handy functions already built in so you won't have to create them - undos, the syntax highlighting, line numbering, markers, and bracket highlighting.
678152
In a new post on the Splitbrain blog today about creating and working with Semacode and QR Codes, specifically with PHP functionality.   I was more interested in Semacode, because it looks somehow cooler than QR in my opinion. Unfortunately I wasn't able to find any free (beer and speech) PHP library to create these codes.   He did, however, find a Javascript port (from a C library) to harvest the logic from and create his own PHP class to handle the semacode creation. He notes that it's probably still a bit buggy but is offering it for download to whoever might want to mess around with it.
246639
In his continuing effort to redesign his blog, Shiflett.org, he's been working on one of the things that really makes a blog useful - the commenting system. Specifically, he wants site visitors to be able to add their own code listings to the comments they post. He gives more detail in this new post.   I've been playing with this tonight. Feel free to follow along as I go. The first thing you want to do is create an ordered list from the code you want to format ($code in these examples).   He gives an example of a listing using his system and explains how it all works. It's a mixture of:  PHP for parsing the data inside the 'code' tags CSS to correctly style the information, whitespace and all Some ini settings to set parameters for... ...the use of highlight string on the PHP code contents  A little str_replace magic later and you have list items styled as code blocks on your page. Check out his demo for an example.
271103
Elizabeth Smith points out a handy bit of functionality for the PHP-GTKers out there on her blog today - tooltips in PHP_Gtk2.   She talks specifically about how she's using them in her CC Desktop framework to make tooltip creation simple:   CC_Tooltips extends the base GtkTooltips class to enhance the functionality. It handles a few "special cases" and forces the object to be a singleton.    There's a few bits of added functionality that are enhancements off of the standard standard tooltips PHP-GTK offers as well. Check out the full entry for more info on this and other features of the CC Desktop - including a code sample.
757137
Gareth Heyes has posted another challenge to his blog - this time it involves using a regular expression to convert the inputted string into the output he's given.   After the success of my "a bit of fun" challenge, a few people asked for some more challenges. So I was answering a question on a mailing list that I'm a member of and I thought it would be a good topic for a little challenge and help sharpen everyone's regular expression skills.   This time, his challenge involves taking the input, rail start/end locations from an array and, via the PHP script given (no regular expression in it, of course) make the output, a sort of JSON formatted message. It's already been answered, but if you want to, try it yourself first then read the answer below the post.
550485
Broad ribbons of light help sort and manipulate individual cells.
492488
A discussion of how to use frame styles in OOo Writer.
425092
From Builder.com.au today, there's this new tutorial with a helpful guide on how to create a text-switching script with CSS and a little help from PHP.    This tutorial will show you how to add such a text size switcher to your Web pages using PHP and CSS, thereby immediately making your Web site more accessible and scoring you useful brownie points from everyone over the age of 50. Keep reading, and find out how!    The tutorial assumes that you already have Apache/PHP installed, and creates a sample web page right off the bat. From there, they make and link in the CSS styling into the file. The PHP comes in when it's time to switch between the styles, swapping out the filenames according to a session variable...
247721
Continuing on from this previous post talking about Javascript in CakePHP applications, Felix Geisendorfer hands out more tips in this new blog entry targeted mainly at users of the jQuery Javascript library.   While the old solution was nice to manage the JS of a smaller application, this one is ment to structure your JS even in bigger projects. To make this possible I decided to go with a loose (MV)C pattern.   He gives an example of using a SiteController in connection with a CalendarController to help populate the information for the calendar.
612499
This week you'll go through the steps of building an AJAX DataGrid control, which is used to iterate over a list of JavaScript objects. Other topics covered are the behavior component, databinding, templating and the declaration. By David Johnson, Alexei White, and Andre Charland. 0904
470479
The 'ImageJ Plugins' project is a source of custom plugins for the Image/J software. Image/J is a public domain image processing and analysis program developed in Java (http://rsb.info.nih.gov/ij/).   Version 1.2 of the core ij-plugins is available.    Improvements: * sRGB  XYZ  CIE L*a*b* conversion modified to use approach presented   at http://www.brucelindbloom.com/. * Improvements to maximum entropy threshold plugins.  Bug fixes: * BUG-1503298: MetaImage Reader did not support some of MetaImage tags. * BUG-1812587: FastMedian Exception for even kernel size. * BUG-1881444: k-means macro always showed animations.  There are 26 plugins in this release:  * 3D IO   -- MetaImage Reader   -- MetaImage Writer   -- VTK Reader   -- VTK Writer  * 3D Toolkit   -- Connected Threshold Grower   -- Auto Clip Volume   -- Morphological Dilate 3D   -- Morphological Erode 3D  * Color (and miltiband images)   -- RGB to CIE L*a*b* stack   -- CIE L*a*b* stack to RGB   -- RGB to YCbCr stack   -- YCbCr stack to RGB   -- Multiband Sobel edges   -- Multiband Difference edges   -- Multiband Gradient edges   -- Intensity shift  * Filters   -- Coherence Enhancing Diffusion   -- Directional Coherence   -- Fast Median   -- Perona-Malik Anisotropic Diffusion   -- Speckle Reducing Anisotropic Diffusion  * Segmentation   -- k-means Clustering   -- Maximum Entropy Threshold   -- Maximum Entropy Multi-Threshold  * Graphics   -- Image Quilter