Tagged: javascript

HTML checkbox submit a value if not checked using JQuery

HTML checkbox submit a value if not checked using JQuery

HTML checkboxes are horrible. If they are checked – they will submit a value, but if they aren’t checked then the the whole input is just left out. This is terrible if you want...

Product Configurator Using JSON and JS

The functionality of the simple Javascript configurator was extended to utilize JSON for data loading into the configurator. This way more information besides the image and swatch paths can be included. Additionally the configurator...

Product Configurator using Javascript

This basic configuration allows for two arrays of images to be overlaid on each other and use the buttons at the bottom to cycle through the different finishes and foil packages available. This Javascript...

Fix Sorting in Javascript

Fix Sorting in Javascript

Normally sort function compare the ascii values of characters.  This becomes and issue when you want numbers like 1,10,2,20 to sort like 1,2,10,20.  To make these numbers sort in a ‘natural’ order you would...

Why is Javascript so popular

The last 4 years has seen Javascript hotness like never before. You have a language that is native to the web browser, and up until just recently didn’t really thrive anywhere else.  At present...

Pros and Cons of Bootstrap

What is Bootstrap If you haven’t heard about Bootstrap and you’ve been building websites within the last 3 years you must be working and living in a hole. Bootstrap is a responsive, mobile first,...

Searching a string in Javascript

Javascript searching through a string

exec() vs match() vs test() vs search() vs indexOf() Is it all about speed?? Testing the speed of JS search methods test() and indexOf() are the fastest match() and search() are the slowest What...

Fantastic collection of JQuery plugins

This has to be one of the best collection of jquery plugins I’ve run across. This collection is full of animations and functionality that are more and more commonplace in web design. http://blog.teamtreehouse.com/open-source-jquery-plugins-for-building-single-page-website-layouts

PopUp Video On Visitor’s First Visit

PopUp Video On Visitor’s First Visit

I’ve been working on a pop up window that will play a video the first time a user visits a website. It works using a cookie and some javascript executing a popup window. The...