stickee
Screenshot of parsley.js git repository

Bug in Parsley.js 2.3.2 can cause browser to freeze

written by Ed Genochio | February 16, 2016

Parsley.js is a great little client-side JavaScript validation library. It’s been around since 2012 and we’ve been using it almost as long. It’s stable, well-used and well-respected. We use it in some of our projects, and we love it. Until today… when we installed Parsley version 2.3.2 on a project, and found we were getting some strange browser […]

Read full details

Passing PHP into Javascript with Drupal

written by kam | April 11, 2012

This is incredibly simple to do. Preparation: Construct a PHP array of values you want to use in JS. I.e. $array = array(‘key1’ => ‘value1’, ‘key2’ => ‘value2’); Deployment: Add the following line into your Drupal module: drupal_add_js(array(‘data’ => $array), ‘setting’, ‘footer’); This will place the $array into the footer of the page so that […]

Read full details

iframe resize based on content

written by Karl Binder | May 18, 2010

I found this diamond of a script on http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm It automatically resizes the height of an iframe based on the content loaded into it. <script type=”text/javascript”> /*********************************************** * IFrame SSI script II- © Dynamic Drive DHTML code library (http://www.dynamicdrive.com) * Visit DynamicDrive.com for hundreds of original DHTML scripts * This notice must stay intact for […]

Read full details

A useful Jquery popup Dock Menu

written by Karl Binder | September 28, 2009

The following snippets of code is a useful jquery popup dock menu that sites at the bottom of your screen irrespective of page scrolling and has a popup section that can display a menu or other block to the user. We’re using this on a couple of social media sites and is good for something […]

Read full details

Everybody wants curves…

written by Karl Binder | August 24, 2009

I’m always getting asked for curved corners. It’s easy to get sick of curved corner boxes and the like when overdone everywhere, same as the overuse of an design feature. I’ve actually had someone specify to me in the past that they wanted their new web design to be ‘web 2.0: curved corners and flash […]

Read full details