Just a quick and painless way to add thumbnail support to the Nivo Slider with TimThumb. Get yourself the TimThumb source and put it in the root of your site. Create a folder in the root of your site named “cache” and set the permissions to 777. Now open your nivo slider js file. Im using jquery.nivo.slider.pack.js, search for the first nivo-control. <a rel="'+k+'"><img src="'+f.attr("rel")+'" alt=""...
Read MoreNivo Slider Auto Thumbs with TimThumb
Chained Select Box Generator
Well everyone, I’m almost done with the generator!! Watch this short clip to see it in action. Features: Generate on the fly 3 tier chained selects. View the chain after its created. Edit an existing chain as easy as you made it. Delete chains. Export chain files. Export chain CSV database file. Build unlimited chains and unlimited options. Upload the generator, create a database, edit 1 file and your ready to make chains! A...
Read MoreAjax Refresh
Div Refreshing with Ajax. function createRequestObject() { var req; if(window.XMLHttpRequest){ // Firefox, Safari, Opera... req = new XMLHttpRequest(); } else if(window.ActiveXObject) { // Internet Explorer 5+ req = new ActiveXObject("Microsoft.XMLHTTP"); } else { // There is an error creating the object, // just as an old browser is being used. alert("Your Browser Does Not Support This...
Read More5 Minute Flex Data Grid
So you want a quick solution for a data grid with inline edit, add, delete, search and sorting? I’ve got just the answer for you. …..Adobe Flex. Finished Data Grid: Demo So lets start, The data used for the grid will be pulled from a MySQL database. If you don’t have one ready, use this to get an idea. CREATE DATABASE `flex_grid` ; CREATE TABLE `flex_grid`.`grid_data` ( `user_id` INT( 11 ) NOT NULL AUTO_INCREMENT...
Read MorePHP Percentage Bar
Source Files: DOWNLOAD View working examples here: DEMO MySQL Table, used for example. CREATE TABLE IF NOT EXISTS `percent` ( `per_id` int(11) NOT NULL auto_increment, `per_num` varchar(255) NOT NULL, PRIMARY KEY (`per_id`) ) ENGINE=InnoDB; 1. Lets start with the MySQL Connection, I named this file dbcommon.php. Besure to change the username, password and database to your own. mysql_connect("localhost", "username", "password") or...
Read MoreChained Select Boxes using PHP / MySQL / AJAX / jQuery
UPDATE Well everyone, I’m almost done with the generator!! Watch this short clip to see it in action. If you are interested in this tool it is for sale, while I get together a payment system you can contact me about trying out a beta. DEMO 2 and 3 Dropdowns available in the download. It is fairly simple and consists of only 3 files. An index, database connection and a function file. So lets start. Make your database table and...
Read More
