Posts Tagged JQuery

Regular Expressions for PHP Developers

Regular expressions syntax

Regular Expression Action
xyz The string “xyz”
^xyz “xyz” at the start of a string
xyz$ “xyz” at the end of a string
^xyz$ “xyz” when it is alone on a string
[abc] a, b, or c
[a-z] Any lowercase letter
[^A-Z] Any character not included a uppercase letter
(gif|jpeg) Matches either “gif” or “jpeg”
[a-z]+ One or more lowercase letters
[0-9.-] Any number, dot, or minus sign
^[a-zA-Z0-9_]{2,}$ Any word of at least two letter, number or _
([wx])([yz]) wy, wz, xy, or xz
[^A-Za-z0-9] Any Symbols (No Numbers or Letters, Only Symbols)
([A-Z]{4}|[0-9]{5}) Matches four letters or five numbers

PHP regular expression functions

Function Description
preg_match() The preg_match() function searches string for pattern, returning true if pattern exists, and false otherwise.
preg_match_all() The preg_match_all() function matches all occurrences of pattern in string.
preg_replace() The preg_replace() function operates just like ereg_replace(), except that regular expressions can be used in the pattern and replacement input parameters.
preg_split() The preg_split() function operates exactly like split(), except that regular expressions are accepted as input parameters for pattern.
preg_grep() The preg_grep() function searches all elements of input_array, returning all elements matching the regexp pattern.
preg_quote() Quote regular expression characters

1) String Match

<?php
function alphaNumericCheck($element) {
return !preg_match ("/[^A-z0-9_\-]/", $element);
}
?>


2) Password Match Validation

<?php
$password = "Fyfjk34sdfjfsjq7";
if (preg_match("/^.*(?=.{8,})(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).*$/", $password)) {
echo "Your passwords is strong.";
} else {
echo "Your password is weak.";
}
?>


3) Email Address Validation
<?php

$email = “someone@example.com”;

if(eregi(“^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$”, $email)) {

echo “Valid email address.”;

}

else {

echo “Invalid email address.”;

}

?>


4) Date Format Validation

<?php
function checkDateFormat($date)
{
//match the format of the date
if (preg_match ("/^([0-9]{4})-([0-9]{2})-([0-9]{2})$/", $date, $parts))
{
//check weather the date is valid of not
if(checkdate($parts[2],$parts[3],$parts[1]))
return true;
else
return false;
}
else
return false;
}
//Usage :
print_r(checkDateFormat("2008-02-29")); //return true
print_r(checkDateFormat("2007-02-29")); //return false
?>


5) Validate URL

^(?:https?:\/\/)?(?:[a-z0-9-]+\.)*((?:[a-z0-9-]+\.)[a-z]+)
Explanation
^ # start-of-line
(?: # begin non-capturing group
https? # "http" or "https"
:// # "://"
)? # end non-capturing group, make optional
(?: # start non-capturing group
[a-z0-9-]+\. # a name part (numbers, ASCII letters, dashes) & a dot
)* # end non-capturing group, match as often as possible
( # begin group 1 (this will be the domain name)
(?: # start non-capturing group
[a-z0-9-]+\. # a name part, same as above
) # end non-capturing group
[a-z]+ # the TLD
) # end group 1

Validating URL using regular expressions:

function isValidURL($url) {
return preg_match('|^http(s)?://[a-z0-9-]+(.[a-z0-9-]+)*(:[0-9]+)?(/.*)?$|i', $url);
}

Validating URL using filter_var:

function isValidURL($url) {

if (filter_var($url, FILTER_VALIDATE_URL, FILTER_FLAG_HOST_REQUIRED)) return true;
else return false;
}

Validating Email using regular expressions:
function isValidEmail($email) {
return preg_match(“^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$^”, $email);
}

Validating Email using filter_var:
function isValidEmail($email) {
if (filter_var($email, FILTER_VALIDATE_EMAIL)) return true;
else return false;
}


6) Ip address validation in PHP using regular expression


function validateIpAddress($ip_addr)
{
//first of all the format of the ip address is matched
if(preg_match("/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/",$ip_addr))
{
//now all the intger values are separated
$parts=explode(".",$ip_addr);
//now we need to check each part can range from 0-255
foreach($parts as $ip_parts)
{
if(intval($ip_parts)>255 || intval($ip_parts)<0)
return false; //if number is not within range of 0-255
}
return true;
}
else
return false; //if format of ip address doesn't matches
}


7) Get all images from a HTML document

 

 


8) Remove repeated words (case insensitive)

 


9) Remove repeated punctuation


10) Matching a XML/HTML tag

 

 


11) Matching an XHTML/XML tag with a certain attribute value

 

Posted in: Uncategorized, Web Developers/Designers Reference Guide

Leave a Comment (0) →

2013 Best Resources and Tools for Web Developers

Responsive Grid System

Responsive Grid System

Simple CSS framework for fast, intuitive development of responsive websites. Built using the ‘Mobile First’ approach, ‘clearfix’ for clearing floats, box-sizing: border-box for adding additional padding to elements

Responsive Grid System ?


Gumby 960 Responsive Grid Framework

Gumby 960 Responsive Grid Framework
Gumby 2 is built with the power of Sass. Sass is a powerful CSS preprocessor which allows us to develop Gumby itself with much more speed

Gumby 960 Responsive Grid Framework ?


Box CSS Framework

Box CSS Framework

This solution is based on box-sizing: border-box and display:inline-block building principles.

Box CSS Framework ?


Foldy960 Framework

Foldy960 Framework

Foldy960 isn’t aiming to be Yet-Another-CSS-Framework and we hesitate to use the term “Boilerplate”. Foldy is just a little kit and some extra classes to get you going on making your 960.gs design responsive.

Foldy960 Framework ?


Css2Less

Css2Less

A ruby library which convert old CSS stylesheet into LESS dynamic stylesheet.

Css2Less ?


Codeanywhere Code Editor

Codeanywhere Code Editor

Codeanywhere is a code editor in a browser with an integrated ftp client, and all popular web formats are supported (HTML, PHP, JavaScript, CSS, and XML).

Codeanywhere Code Editor ?


Responsive IE6

Responsive IE6

Responsive IE6 ?


Dirty Markup

Dirty Markup

DirtyMarkup combines the power of HTML Tidy, CSS Tidy, JS Beautify, and the Ace editor to effortlessly clean up your messy code

Dirty Markup ?


SnipSave

SnipSave

A simple and elegant code snippet tool for developers. Quickly and easily save pieces of code for reference and use later on. All of your code snippets are stored in one place, accessible from anywhere.

SnipSave ?


RWD Calculator

RWD Calculator

Just a simple calculator to help turn your PSD pixel perfection into the start of your responsive website.

RWD Calculator ?


The Responsinator

The Responsinator

The Responsinator helps website makers quickly get an indication of how their responsive site will look on the most popular devices. It does not precisely replicate how it will look, for accurate testing always test on the real devices.

The Responsinator ?


Timeline JS

Timeline JS

TimelineJS can pull in media from different sources. It has built in support for: Twitter, Flickr, Google Maps, YouTube, Vimeo, Dailymotion, Wikipedia, SoundCloud and more media types in the future.

Timeline JS ?


CSSO (CSS Optimizer)

CSSO (CSS Optimizer)

CSSO is a a CSS minimizer.

CSSO (CSS Optimizer) ?


Graphene

Graphene

Graphene is a realtime dashboard & graphing toolkit based on D3 and Backbone.

Graphene ?


Crossfilter

Crossfilter

Crossfilter is a JavaScript library for exploring large multivariate datasets in the browser.

Crossfilter ?


CanJS

CanJS

CanJS is a MIT-licensed, client-side, JavaScript framework that makes building rich web applications easy

CanJS ?


Fixie

Fixie

Fixie.js is an open source tool that automatically adds filler content to HTML documents.

Fixie ?


Foresight.js

Foresight.js

Foresight.js gives webpages the ability to tell if the user’s device is capable of viewing high-resolution images.

Foresight.js ?


Webshims Library

Webshims Library

Webshims lib is a modular capability-based polyfill-loading library, which focuses on accurate implementations of stable HTML5 features.

Webshims Library ?


dhtmlxSpreadsheet

dhtmlxSpreadsheet

dhtmlxSpreadsheet is an open source spreadsheet widget written in JavaScript and PHP that allows you to quickly add an Excel-like, editable data table on a web page. It is also available as a plugin for WP, Joomla, etc.

dhtmlxSpreadsheet ?


heatmap.js

heatmap.js

Heatmap.js is an open source JavaScript library that can be used for generating realtime heatmaps. It uses the power and flexibility of the HTML5 canvas element to draw heatmaps based on your data

heatmap.js ?


Kartograph

Kartograph

Kartograph is a simple and lightweight framework for building interactive map applications without Google Maps or any other mapping service. It was created with the needs of designers and data journalists in mind.

Kartograph ?


sigma.js

sigma.js

sigma.js is an open-source lightweight JavaScript library to draw graphs, using the HTML canvas element.

sigma.js ?


Grunt

Grunt

Grunt is a task-based command line build tool for JavaScript projects.

Grunt ?


Live Scratchpad

Live Scratchpad

Evaluate your JavaScript functions in real-time _while_ editing.

Live Scratchpad ?


jPages

jPages

jPages is a client-side pagination plugin but it gives you a lot more features comparing to most of the other plugins for this purpose, such as auto page turn, key and scroll browse, showing items with delay, completely customizable navigation panel and also integration with Animate.css and Lazy Load.

jPages ?


dgrid

dgrid

A next-generation grid component that takes full advantage of modern browsers and object stores.

dgrid ?


SpritePad

SpritePad

With SpritePad you can create your CSS sprites within seconds

SpritePad ?


smoke.js

smoke.js

A framework-agnostic styled alert system for javascript.

smoke.js ?


Keymaster

Keymaster

Keymaster is a simple micro-library for defining and dispatching keyboard shortcuts.

Keymaster ?


Leaflet

Leaflet

Leaflet is a modern open-source JavaScript library for mobile-friendly interactive maps

Leaflet ?


stroll.js

stroll.js

A collection of CSS list scroll effects. Works in browsers with support for CSS 3D transforms including a special touch-enabled mode for iOS & Android 4.x.

stroll.js ?


Hammer.js

Hammer.js

Hammer.js is a JavaScript library for multi-touch gestures, supporting: tap, double tap, hold, drag, and transform.

Hammer.js ?


skrollr

skrollr

Skrollr allows you to animate any CSS property of any element depending on the horizontal scrollbar position.

skrollr ?


Style Tiles

Style Tiles

Style Tiles are a design deliverable consisting of fonts, colors and interface elements that communicate the essence of a visual brand for the web.

Style Tiles ?

 


KineticJS

KineticJS

KineticJS is an HTML5 Canvas JavaScript framework that enables high performance animations, transitions, node nesting, layering, filtering, caching, event handling for desktop and mobile applications, and much more.

KineticJS ?


Cutter.js

Cutter.js

Cutter.js truncates HTML code to limit its length.

Cutter.js ?


Socialite.js

Socialite.js

Socialite provides a very easy way to implement and activate a plethora of social sharing buttons — any time you wish. On document load, on article hover, on any event!

Socialite.js ?


Opera Mobile Emulator

Opera Mobile Emulator

Opera Mobile Emulator ?


Morris.js

Morris.js

Good-looking charts shouldn’t be difficult

Morris.js ?


dynamo.js

dynamo.js

A dead-simple way to generate dynamic bits of HTML and add subtle effects to your content.

dynamo.js ?

 

 


URI.js

URI.js

URI.js ?


Retina.js

Retina.js

retina.js is an open source script that makes it easy to serve high-resolution images to devices with retina displays

Retina.js ?


jq-idealforms

jq-idealforms

Ideal Forms is the ultimate framework for building and validating responsive HTML5 forms.

jq-idealforms ?


Spiffing CSS

Spiffing CSS

Spiffing allows you to write your CSS and stylesheets in conformance to proper British English (also known as correct English) grammar and spelling regulations.

Spiffing CSS ?

Posted in: Uncategorized, Web Developers/Designers Reference Guide

Leave a Comment (0) →

Best and important jQuery Plugins, Every Web Developer / Designer must try it

Scrolling

jQuery Waypoints

Waypoints is a jQuery plugin that makes it easy to execute a function whenever you scroll to an element.

screenshot

skrollr

Parallax scrolling for the masses. Skrollr helps with all kinds of different scrolling effects including color shifts, transforms and more.

screenshot

DataTables

DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, based upon the foundations of progressive enhancement, which will add advanced interaction controls to any HTML table.

screenshot

arbor.js

A graph visualization library using web workers and jQuery

screenshot

Layout

Wookmark jQuery Plugin

A dynamic column grid.

screenshot

jQuery Masonry

A dynamic layout plugin for jQuery The flip-side of CSS floats

screenshot

Isotope

Isotope: An exquisite jQuery plugin for magical layouts

screenshot

FitVids.JS

A lightweight, easy-to-use jQuery plugin for fluid width video embeds.

screenshot

gridster.js

Gridster is a jQuery plugin that allows building intuitive draggable layouts from elements spanning multiple columns.

screenshot

Freetile.js

Freetile is a plugin for jQuery that enables the organization of webpage content in an efficient, dynamic and responsive layout.
screenshot

Text

jQuery TextExt Plugin

TextExt’s modular design allows you easily turn a standard HTML text input into a wide range of modern, tailored to your needs input field without bloating your source code

screenshot

Jeditable

Edit In Place Plugin For jQuery

screenshot

FitText

FitText makes font-sizes flexible. Use this plugin on your fluid or responsive layout to achieve scalable headlines that fill the width of a parent element.

screenshot

Cool UI

jQuery Knob demo

Nice, downward compatible, touchable, jQuery dial

screenshot

noty – A jQuery Notification Plugin

Noty is a jQuery plugin that makes it easy to create alert, success, error, warning, information and confirmation messages as an alternative the standard alert dialog. Each notification is added to a queue.

screenshot

PageSlide

A jQuery plugin which slides a webpage over to reveal an additional interaction pane

screenshot

jQuery Collapse

This plugin provides you an accessible and lightweight solution to a widely adopted interface pattern known as progressive disclosure.

screenshot

Avgrund

Avgrund is a jQuery plugin for modal boxes and popups. It uses interesting concept showing depth between popup and page. It works in all modern browsers and gracefully degrade in those that do not support CSS transitions and transformations

screenshot

jQuery One Page Navigation

Smooth scrolling navigation and animation for single page sites. Super simple, incredibly handy.

screenshot

jqPagination

jqPagination is a jQuery plugin that provides a newer method of pagination for your web site or application.

screenshot

jQuery Joyride Feature Tour Plugin

Joyride is extremely flexible and lets you take control of how people interact with your tour. We programmed it to be cross-browser compatible with modern browsers and even used some fancy CSS to avoid images. Now let’s see just how easy it is to take your first ride without getting the fuzz involved.

screenshot

Tooltips

jQuery PowerTip

PowerTip features a very flexible design that is easy to customize, gives you a number of different ways to use the tooltips, has APIs for developers, and supports adding complex data to tooltips. It is being actively developed and maintained, and provides a very fluid user experience.

screenshot

tipsy

Tipsy is a jQuery plugin for creating a Facebook-like tooltips effect based on an anchor tag’s title attribute.

screenshot

Slideshows, Images & Sliders

jQuery Slider Shock

The most complete responsive jQuery / WordPress slider.

screenshot

Backstretch

a simple jQuery plugin that allows you to add a dynamically-resized, slideshow-capable background image to any page or element

screenshot

jQuery Anystretch

Anystretch is a jQuery plugin that allows you to add a dynamically-resized background image to any page or block level element. The image will stretch to fit the page/element, and will automatically resize as the window size changes.

screenshot

jQuery Lightbox

A simple lightbox based on prototype and scriptaculous.

screenshot

FlexSlider 2

An awesome, fully responsive jQuery slider toolkit.

screenshot

ColorBox

A lightweight customizable lightbox plugin for jQuery

screenshot

WOW Slider

WOW Slider is a responsive jQuery image slider with amazing visual effects (Rotate, Blur, Flip, Blast, Fly, Blinds, Squares, Slices, Basic, Fade, Ken Burns, Stack, Stack vertical and Basic linear) and tons of professionally made templates.

screenshot

Miscellaneous

Timeago

Timeago is a jQuery plugin that makes it easy to support automatically updating fuzzy timestamps

screenshot

jQuery Validation

The jQuery Validation Plugin provides validation for your existing forms.

screenshot

jQuery File Upload Demo

File Upload widget with multiple file selection, drag&drop support, progress bars and preview images for jQuery.

screenshot

jQuery Instagram

A simple jQuery plugin to show a list of Instagram photos.

screenshot


MotionCAPTCHA

MotionCAPTCHA is a jQuery CAPTCHA plugin, based on the HTML5 Canvas requiring users to sketch the shape they see in the canvas in order to submit a form.

screenshot

jQuery Transit

Super-smooth CSS transitions & transformations for jQuery

screenshot

Posted in: Uncategorized, Web Developers/Designers Reference Guide

Leave a Comment (0) →

Awesome jQuery Plugins to Create Animating Image Effects

Photon : JS CSS 3D Lighting Engine

Photon

Photon is a JavaScript library that adds simple lighting effects to DOM elements in 3D space.


HoverTransitions – jQuery animated hover effects

HoverTransitions allows you to create numerous transition animation effects for webpage elements. The effects are performed by breaking the element into smaller boxes and animating the appearance of each of them according to different patterns and effects.
HoverTransitions


 

Nice Sparkle Progress Bars with jQuery & CSS3

Shiny Sparkle Progress bars with percentage label. The sparkles inside the bars are created using a combination of linear-gradient and radial-gradient as the background and then animated using the animation and keyframes properties. However, the label for percentage is animated using jQuery.
Nice Sparkle Progress Bars


 

JustGage : Animated Gauges in SVG & Raphaël library

JustGage is a handy JavaScript plugin for generating and animating nice & clean gauges. It is based on Raphaël library for vector drawing, so it’s completely resolution independent and self-adjusting.
JustGage

 


 

JZoopraxiscope

A jQuery plugin for making animations from static images inspired in Eadweard Muybridge’s Zoopraxiscope. Besides jQuery, it also uses jQuery UI and requires the frames to be animated as a single, horizontal image.
JZoopraxiscope


 

Mac OS X Lion with CSS3 & jQuery

This section is simply composed by a CSS3 keyframes animation. Login section mainly consists of a clock, two images (logos and avatars user name), two backgrounds and a password input field.
Mac OS X Lion


Slide-in backgrounds with jQuery

Slide-in backgrounds



jQuery flex

A fluid asymmetrical animated grid plugin for jQuery.
jQuery flex


Gauge.js

100% native and cool looking animated JavaScript gauge.
Gauge.js


Rotating Feature Boxes with jQuery & CSS3

The full effect of it (with transition animations) will work in newish WebKit and Opera browsers and Firefox 4 above. Any other browser will rotate the blocks without transition animation.
Rotating Feature Boxes


Color animation jQuery-plugin

With jQuery’s animate function, you can animate all kinds of css-properties. What’s really missing from jQuery is animating colors. This plugin will add this feature. With this plugin, you can animate the following properties:

  • color
  • backgroundColor
  • borderColor
  • borderBottomColor
  • borderLeftColor
  • borderRightColor
  • borderTopColor
  • outlineColor

Color animation jQuery-plugin


Horizontal bar graph with CSS3 and jQuery

Horizontal bar graph


Pointillize and Pixelize all on the Client Side

SeuratJS is a JavaScript library that extends Raphaël and allows for the creation of vivid animations and pixelated artwork using minimal code. It does this by extacting color data from an image of your choice and rebuilding the original with filled graphical primitives in SVG.
SeuratJS



Powerful JavaScript animation library for jQuery.

While good for simple effects, popular JavaScript libraries like jQuery lack the Oomph required to animate complex user interactions in the DOM. JSTween was designed from the ground up for speed and precision, allowing it to handle more simultaneous animations while maintaining a silky smooth frame rate.

JSTween

Posted in: Uncategorized, Web Developers/Designers Reference Guide

Leave a Comment (0) →

Best Free Open Source Shopping Carts

You really need to analyze the features, compare them and more. Some carts are fitted to explicit products and some for other business. you’ll download them for free of charge. realize the correct cart software system package, that you think, is good in terms of features and security.

1. Prestashop

Prestashop

Prestashop is strong, professional grade e-Commerce shopping cart that you simply download, install, and use for free of charge. In the back end,  you’ll use a full featured backend to manage your inventory, orders, shipping, and customers in real time.


2. OpenCart

Opencart

OpenCart is an PHP based open source for online shopping cart system. it is easy to use and SEO optimized with a awfully nice interface. A great feature of OpenCart is that customers can write their own reviews of the products.


3. Magento

Magento

Magento is a professional open-source e-Commerce solution giving flexibility and control. Magento is amazing, i might never believe it is associate open-source project. Everything is designed in a clean and straightforward way.


4. AgoraCart

AgoraCart

AgoraCart is Perl/MySQL based online shopping cart. It features a css manager therefore you’ll edit the look of your cart online. AgoraCart also features unlimited product choices, up to 4 different tax zones at the same time and multiple shipping and payment gateways/options available.


5. Zen Cart

Zen Cart

Zen Cart is a open source shopping cart, . Zen Cart focuses on the merchants and shoppers instead of the developers. Zen Cart easy in intallation and it supports multiple payment and shipping options, quantity discounts and coupons.


6. osCommerce

osCommerce

osCommerce is an best online shopping cart that offers a good range of features that enables online stores to be setup quickly.


7. StoreSprite

storesprite

StoreSprite is a powerful free php/mysql opensource however it will have copyright notices that you simply can pay to remove copyright notice. StoreSprite has many features including automatic tax calculation, automatic delivery cost calculations, customer ratings and reviews and featured products.


8. Ubercart

Ubercart

Ubercart is an open source e-commerce module for Drupal based sites


9. Open For Business – Apache

ofbiz

Apache OFBiz (The Apache Open For Business Project) is an open source enterprise automation software project licensed under the Apache License Version 2.0.By open source enterprise automation It mean: Open Source ERP (Enterprise Resource Planning), Open Source CRM (Customer RelationShip Management), Open Source E-Business / E-Commerce, Open Source SCM (Supply Chain Management), Open Source MRP (Manufacturing Resources Planning), Open Source CMMS/EAM (Maintenance Management System/Enterprise Asset Management), Open Source POS (Point Of Sale), and so on.


10. ZenMagick

ZenMagick

ZenMagick is an e-commerce solution based on Zen Cart, ZenMagick improves areas where Zen Cart is lacking.


11. nopCommerce

nopCommerce

nopCommerce

nopCommerce is a fully customizable shopping cart. It’s stable and highly usable. nopCommerce is an open source e-commerce solution that is ASP.NET 4.5 (MVC 4) based with a MS SQL 2005 (or higher) backend database.


12. TomatoCart

TomatoCart

TomatoCart is branched from osCommerce 3 as a separate project. Their goal is to form TomatoCart one in every of the best on-line shopping-cart. it uses ajax and other internet rich applications that offers best usability and rich user interface. We’ve compared plenty of frameworks and come to the conclusion that ExtJS is that the best framework for TomatoCart.


13. Digistore

Digistore

Digistore Ecommerce is an open source ecommerce solution based on the popular osCommerce engine.


14. Spree Commerce

Spree

Spree commerce is a 100% open source e-commerce platform powered by the popular Ruby on Rails framework. It was designed to make customization and upgrades as simple as possible.


15. Zeuscart

Zeuscart

Zeus Cart helps to develop a rich UI and a highly usable shopping cart software. Even a non-technical person can able to open an online store on the Internet, with minimal efforts.


16. Jadasite

 


17. Ecommerce Shopping Cart Software

Ecommerce Shopping Cart

Ecommerce Shopping Cart

Ecommerce Shopping Cart Software is a free shopping cart software solution enabling small businesses to sell online using a reliable, easily customizable, feature packed, high performance online shopping cart with no coding required. The Ecommerce Shopping Cart Software program is an easy to install and easy to use ecommerce solution.


18. VirtueMart

VirtureMart

VirtueMart is the leading Online-Shop Solution for Joomla.


19. jCart

jCart

jCart is a free Ajax shopping cart that’s easy to install and customize. Based on jQuery and PHP, jCart handles visitor input without reloading the page and is fully functional even without javascript.


20. CF Shopkart

CFShopKart

CF Shopkart is a free e-commerce solution for Coldfusion developers and online store owners. This Coldfusion shopping cart is absolutely free.


21. dashCommerce

dashCommerce

dashCommerce is a flexible and robust ASP.NET Open Source e-commerce application that you can use to set up your online store.


22. Idut Shop

idut

Idut Shop is a simple and elegant open source PHP shopping cart for Google Checkout. It can be easily customised and incorporated into an existing website. Written in PHP, you can add products from the easy to use control panel this includes adding images and setting prices. Idut Shop for Google Checkout is simple to install and uses a MySQL database.

Posted in: Uncategorized, Web Developers/Designers Reference Guide

Leave a Comment (0) →

Best jQuery Filter and Sort Plugins

jQuery Filter and Sort Plugins will be able to control over the order, placement of divs and arrangement div / or table elements. Some of these plugins which include drag-able controls helps to offer a more dynamic and user friendly design. Sorting and filtering is very useful for large datasets such as table views, or a portfolio page.

1. tQuery – Dynamic tables

tQuery makes simple HTML tables dynamic. The script combines power, flexibility and easiness. It offers great design customization, supports multiple formats for column sorting and make exporting and importing data easier. tQuery now support filtering. You can add a search box to your tQuery tables. The search feature give exact and instantaneous results.

MORE INFO / DEMO by Codecanyon (Premium Plugin)

2. Advanced tables

With this jQuery plugin you convert your flat html tables in nice datagrids in just a few seconds. The plugin will automaticly paginate your table and you can define a particular input field to use as search field for the table.

MORE INFO / DEMO by Codecanyon (Premium Plugin)

3. Beautiful Data

Beautiful Data is a great way to turn a boring HTML table into something that supports features like paging and sorting. This jQuery plugin can also access data from CSV and JSON just by specifying the source file.

MORE INFO / DEMO by Codecanyon (Premium Plugin)

4. Simple Content Sorting

This plugin allows you to sort your content in a clean and easy interface equipped with pagination feature. No page loading happens as the sorting takes place since its all done with javascript.

MORE INFO / DEMO by Codecanyon (Premium Plugin)

5. Ingrid

Ingrid is an unobtrusive jQuery component that adds datagrid behaviors (column resizing, paging, sorting, row and column styling, and more) to your tables.

MORE INFO / DEMO by reconstrukt.com (Free Plugin)

6. jSorted – a plugin for sorting things

This plugin allows to sort an unordered list or a table using a value (number or date) attached to each item in ascending or descending order. It can be used for live data charts, sports widgets, news tickers, html5 games and a lot more. It’s very easy to customize!

MORE INFO / DEMO by Codecanyon (Premium Plugin)

7. JQuery Table

This is a simple jQuery plugin, to help create sortable table layouts of your data

MORE INFO / DEMO by Codecanyon (Premium Plugin)

8. Flexigrid

Lightweight but rich data grid with resizable columns and a scrolling data to match the headers, plus an ability to connect to an xml based data source using Ajax to load the content. Similar in concept with the Ext Grid only its pure jQuery love, which makes it light weight and follows the jQuery mantra of running with the least amount of configuration.

MORE INFO / DEMO by flexigrid.info (Free Plugin)

9. Table Sorter

Table Sorter is a jQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes. tablesorter can successfully parse and sort many types of data including linked data in a cell. It has many useful features including multi-column sorting, parsers for sorting text, URIs, integers, currency, floats, IP addresses, dates (ISO, long and short formats), time.

MORE INFO / DEMO by tablesorter.com (Free Plugin)

10. Animated table sort (REGEXP friendly)

This plugin allows you to animatedly sort a table based on a column’s <td>s, or on the content/value of a child/descendant element within those <td>s. The various <td>s fly to their new homes, giving a nice effect. It also supports sorting on REGEXP matches. You can also control whether row relationships are maintained, whether it sorts on ascii or numeric and ascending or descending.

MORE INFO / DEMO by tablesorter.com (Free Plugin)

11. JSquared

This plugin allows you to organize advanced search user interface like in Google Squared.

MORE INFO by fedorchenko (Free Plugin)

12. TinySort

TinySort is a small and simple jQuery plugin that will sort any nodetype by it’s text- or attribute value, or by that of one of it’s children. The examples below should help getting you on your way.

MORE INFO / DEMO by tinysort.com (Free Plugin)

13. jExpand plugin

jExpand is ultra lightweight jQuery plugin that will make your tables expandable. Typical for line of business applications, this feature can help you organize tables better. This way, tables can hold more information such as images, lists, diagrams and other elements.

MORE INFO / DEMO by jankoatwarpspeed.com (Free Plugin)

14. jQuery Interface Elements

Interface is a collection of rich interface components which utilizes the lightweight JavaScript library jQuery. With this components you can build rich client web applications and interfaces with the same simplicity as writing JavaScript with jQuery. You will find functions for reordering/sorting lists and tabs, various types of drag and drop etc.

MORE INFO by eyecon.ro (Free Plugin)

15. Using jQuery To Manipulate and Filter Data

When a webpage is designed to display large tables of data, a great amount of consideration should be dedicated to allowing the user to sort through the data in a structured manner. This article will go through four techniques: hover effects, zebra rows, filtering, and sorting.

MORE INFO by tutsplus.com (Free Plugin)

16. Creating a “Filterable” Portfolio with jQuery

If you have worked in your field for a while, there is a pretty good chance that you have a rather extensive portfolio. To make it a little easier to navigate, you will probably be tempted to break them into different categories. This tutorial will show you how to make “filtering by category” a little more interesting with just a little bit of jQuery.

MORE INFO by tutsplus.com (Free Plugin)

17. Quicksand

Whit this really cool plugin you can reorder and filter items with a nice shuffling animation. The demo is a must see!

MORE INFO / DEMO by razorjack.net (Free Plugin)

18. Table Drag and Drop JQuery plugin

Dragging and dropping rows within a table can’t be handled by general purpose drag and drop utilities for a number of reasons, not least because you need to move the whole row, not just the cell that receives the mouse events. Re-parenting the row also requires specific code. Sadly also, effects like fadeIn and fadeOut don’t work well with table rows on all browsers, so we have to go for simpler effects. This TableDnD plugin allows the user to reorder rows within a table, for example if they represent an ordered list (tasks by priority for example). Individual rows can be marked as non-draggable and/or non-droppable (so other rows can’t be dropped onto them). Rows can have as many cells as necessary and the cells can contain form elements.

MORE INFO by isocra.com (Free Plugin)

19. dragtable: Visually reorder all your table columns

Over the past several years, Stuart Langridge’s sorttable Javascript library has found widespread use. It’s easy to see why. Just add to a table tag and its column headers automatically support click to sort. Pretty slick. But sometimes sorting just isn’t enough. What if you want to focus on just one or two of the columns in a table? In a client-side application you could drag the columns you care about next to each other. Why not in a web application? Enter dragtable. Like sorttable, it teaches HTML tables a new trick through a simple class attribute.

MORE INFO / DEMO (Free Plugin)

20. Filtering Blocks

Really cool script to filter a list of blocks. Each block has a wrapping div. It has one class that it shares with all other blocks for common styling and a class unique to its “type”.

MORE INFO / DEMO by css-tricks.net (Free Plugin)

21. jQuey ui Sortable

Enable a group of DOM elements to be sortable

MORE INFO / DEMO by jqueryui (Free Plugin)

22. dragndrop

Get Drag and drop in a easy way.

MORE INFO / DEMO (Free Plugin)

23. ppDrag

ppDrag is a Drag&Drop plugin for jQuery, which mimics the interface of jQuery UI’s Draggable. Currently supported is a small subset of its options, but the implementation is different (ppDrag focuses on performance).

MORE INFO / DEMO (Free Plugin)

24. NestedSortable

NestedSortable is an extension to the original Sortable from the Interface plugin that allows you to both sort vertically and nest (make one item a child of other item) elements at the same time, using drag-and-drop. If can be set up exactly like a regular Sortable and allows you to use most options that are inherited from it.

MORE INFO / DEMO (Free Plugin)

25. jQuery UI multiple draggable plugin

The jQuery multiple draggable plugin is an extension to the jQuery UI Draggable plugin. This plugin extends the current functionality to allow for elements to be grouped and dragged as a group.

MORE INFO / DEMO (Free Plugin)

26. jQuery List DragSort

A lightweight jQuery plugin that provides the ability to sort lists using drag and drop.

MORE INFO (Free Plugin)

27. Drag and Drop ordering in a TreePanel

This example shows basic drag and drop node moving in a tree. In this implementation there are no restrictions and anything can be dropped anywhere except appending to nodes marked “leaf” (the files). Drag along the edge of the tree to trigger auto scrolling while performing a drag and drop.

MORE INFO (Free Plugin)

28. Drag & Drop Sortable Lists with JavaScript and CSS

This is a collection of Direct Manipulation examples that work in modern browsers. Each example is a proof of concept. It is not based on jQuery but I thought it deserved to be here anyway…

MORE INFO / DEMO (Free Plugin)

29. jQuery columnManager plugin

A jQuery-plugin to toggle the visibility of table columns (collapsing and expanding them) and to save the state until the next visit. It’s supporting tables with colspans and rowspans, too!

MORE INFO / DEMO by picnet.com.au (Free Plugin)

30. SearchBox

SearchBox is a jQuery plugin that allows you to have reach search controls with filters on your pages (similar to GMail and Google Docs).

powerful functionality to reorder, filter, add drag and drop capabilities etc.

MORE INFO / DEMO by Codecanyon (Premium Plugin)

31. Finder, jquery drilldown plugin

Finder is a jQuery plugin that replaces indented <select> elements creating a true hierarchical UI element for a much smoother user experience when navigating large sets of hierarchical data. It utilizes built-in jQuery ui icons when the library is present but falls back gracefully if not. This plugin requires jQuery 1.7+ as it uses the new .on() event handler as well as namespacing. This plugin is a drop-in replacement it also has extendable callbacks for event hooks.

MORE INFO / DEMO by Codecanyon (Premium Plugin)

32. jQuery Simple Content Sorting Plus Plugin

This plugin creates a simple content sorter for your content and allows you to control your content with pagination! Simple Content Sorting provides a clean and easy way to beautify your interface by providing a slick client side sorting mechanism. You heard correctly, no page loading happens as the sorting takes place since its all done with JavaScript.

MORE INFO / DEMO by Codecanyon (Premium Plugin)

33. PicNet Table Filter

This jQuery plugin adds real time Google-like column filtering capabilities to a regular Html table. This is an open source project released under The MIT License (MIT). The PicNet Table Filter is used in production in several PicNet projects so it has been tested production ready. The table filter was born out of our Visual Analytics (Mouse Eye Tracking) project and has received great feedback.

MORE INFO / DEMO by picnet.com.au (Free Plugin)

34. jQuery jPList Plugin

jPList is a flexible jQuery plugin for sorting, pagination and filtering of any HTML structure (DIVs, UL/LI, tables, etc).

MORE INFO / DEMO by Codecanyon (Premium Plugin)

35. Sortable Lists Using jQuery UI

Unordered lists have a number of useful applications. They are commonly used to structure a site’s navigation. I have found, in a number of web applications, that the ability to reorder (sort) such lists would be extremely useful. There are 2 jQuery plugins that allow elements to be sorted. These are the jQuery Interface plugin and jQuery UI and this tutorial use the latter and also provides a solution for saving the lists.

MORE INFO / DEMO (Free Plugin)

 

See original post at http://www.tripwiremagazine.com/2012/05/jquery-filter-sort-plugins.html, content credit goes to tripwiremagazine.com

 

Posted in: Uncategorized, Web Developers/Designers Reference Guide

Leave a Comment (0) →

Closing ColorBox From an iFrame javascript

Today i need to answer a question that I’ve been asked a couple of times before and explain a state of affairs I’ve found myself in a very few times throughout past projects; how will we have a tendency to shut the Colorbox from inside an iFrame?

Opening The ColorBox

Before I begin to describe the solution let’s take a look at how we have a tendency to open the ColorBox in the initial place. to try and do this we might do one thing like so:

<script>
$(document).ready(function(){
$(“.iframeAnchor”).colorbox({width:”80%”, height:”80%”, iframe:true});
});
</script>
<a class=’iframeAnchor’ href=”colorbox-iframe.html”>Open ColorBox</a>

The two key elements here are setting the ‘iframe’ choice to true, and specifying the supply of the iFrame in the ‘href’ attribute of the link, in this case colorbox-iframe.html. It’s this file where our button to shut the ColorBox can reside.

Closing The ColorBox

Now the ColorBox will be opened, let’s verify how we are able to shut it. victimization the example iFrame file from higher than we are able to easy add the subsequent line of code to colorbox-iframe.html:

<input type=”button” name=”btnClose” value=”Close” onclick=”parent.$.colorbox.close()” />

Easy huh? We’re simply job the quality public technique to close a ColorBox button prefixing it with ‘parent.’ to check with the iFrame’s parent.

Posted in: Uncategorized, Web Developers/Designers Reference Guide

Leave a Comment (0) →

Steps to access parent iframe elements using JQuery

Try this to access parent elements from iframe

window.parent.$(elementid).attr(attributeName);

or

$(“#myid”, top.document);

or

$(“#myid”, parent.document.body);

or

parent.$(‘#myid’).attr(attributeName)

$(elementid,top.document).attr(attributeName)

or

$(elementid,parent.document).attr(attributeName)

Posted in: Uncategorized, Web Developers/Designers Reference Guide

Leave a Comment (0) →

CSS and Jquery Pseudo Class Selectors

Today i like to share some of the Pseudo Class Selectors for CSS and Jquery

CSS Pseudo class selectors

Link-related CSS pseudo class selectors

:link
a:link {color:#FF0000;}      /* unvisited link */
:visited
a:visited {color:#00FF00;}  /* visited link */
:hover
a:hover {color:#FF00FF;}  /* mouse over link */
:active
a:active {color:#0000FF;}  /* selected link */

Input tag related pseudo class selectors

:focus
input:focus { background-color:yellow; }
:target
:target:before { content: url(/images/someimage.gif); } //Add an image in front of the current active anchor tag:
:enabled
input[type=”text”]:enabled  { background:#ffff00; }
:disabled
input[type=”text”]:disabled { background:#dddddd; }
:checked
input:checked { background:#ff0000; }
:indeterminate
The :indeterminate CSS pseudo-class represents any <input type="checkbox"> element whose indeterminate DOM property is set to true by JavaScript.
<style>
input, span { background: red :indeterminate, :indeterminate + span { background: limegreen }</style> <p><input type=checkbox> <span>Everything in this paragraph should have a green background.</span></p><script> document.getElementsByTagName("input")[0].indeterminate = true; </script>

Number-based pseudo class selectors

:root
The :root selector matches the document’s root element.
:root { background:#ff0000; }
:first-child

The :first-child selector is used to select the specified selector, only if it is the first child of its parent.
p:first-child  {  background-color:yellow; }
:last-child
p:last-child { background:#ff0000; }
:nth-child(N)
Specify a background color for every p element that is the second child of its parent:
p:nth-child(2) {  background:#ff0000; }
:nth-of-type(N)
:first-of-type

Specify a background color for the first p element of its parent:
p:first-of-type { background:#ff0000; }
:last-of-type

:nth-last-of-type(N)

Specify a background color for every p element that is the second p element of its parent, counting from the last child
p:nth-last-of-type(2) {  background:#ff0000; }
::nth-last-child(N)

Relational pseudo class selectors

:not(S)
:not(selector) { style properties }
p:not(.classy) {
color: red; }
:not(p) {
color: green; }
:empty 
p:empty { background:#ff0000; }

Text-related pseudo class selectors / elements

:first-letter
:first-line
:lang
::selection

Content-related pseudo “elements”

:before
:after
:contains()
:required
:optional
:read-only
:read-write

jQuery Pseudo class selectors

:first
:eq(X)
:contains(‘text’)
:lt(X)

:gt(X)

:even

:odd

:has(S)

References : http://www.w3schools.com/

Posted in: Uncategorized, Web Developers/Designers Reference Guide

Leave a Comment (0) →