Skip to content

Instantly share code, notes, and snippets.

View twhittakerdev's full-sized avatar

Thomas Whittaker twhittakerdev

View GitHub Profile
@twhittakerdev
twhittakerdev / Multi Step Form with Progress Bar using jQuery and CSS3.markdown
Created June 2, 2015 16:18
Multi Step Form with Progress Bar using jQuery and CSS3

Multi Step Form with Progress Bar using jQuery and CSS3

Got long forms on your website ? Break them up into smaller logical sections and convert it into a multi-step form with a cool progress bar. Could work for lengthy processes like registration, checkout, profile fillups, 2-factor authentication logins, etc.

Forked from Atakan Goktepe's Pen Multi Step Form with Progress Bar using jQuery and CSS3.

Forked from Atakan Goktepe's Pen Multi Step Form with Progress Bar using jQuery and CSS3.

A Pen by Thomas Whittaker on CodePen.

@twhittakerdev
twhittakerdev / gist:b93809bd69165b8c78e6
Created November 16, 2014 19:28
Jquery Image with thumbnail
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>jQuery Gallery Sample</title>
<style>
#gallery {overflow: auto; min-height: 470px;}
.thumbs {width: 200px; float: left; }
@twhittakerdev
twhittakerdev / connect.php
Last active December 15, 2015 07:09
PHP Mysql CRUD simple application. Part 1
<?php
// Replace the variable values below
// with your specific database information.
$host="localhost";
$user="root";
$pass="";
$db="olexam";
$con=mysql_pconnect($host,$user,$pass);
@twhittakerdev
twhittakerdev / phpclass
Created March 18, 2012 19:50
Class in php
<?php
class Student
{
var $name;
var $age;
function Test()
{
echo 'name: ', $this->name, '<br>';
echo 'age: ', $this->age, '<br>';
@twhittakerdev
twhittakerdev / employeesalary
Created March 18, 2012 19:48
Employees Salary in c++
Input Processing Output
1) Enter Code
1) Manager:Salary 2) if(code==1) Manager Salary
Print Manager Salary
@twhittakerdev
twhittakerdev / userManagement
Created March 18, 2012 19:44
How to create an user management system with registration form Using PHP
first open phpmyadmin and create a database and click on sql and copy and paste this
CREATE TABLE IF NOT EXISTS `users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`Username` varchar(44) NOT NULL,
`Password` varchar(44) NOT NULL,
`EmailAddress` varchar(90) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ;