Archive for the ‘jQuery’ Category


Wedpings! February 18th, 2012

screenshot of our wedpings wedding page

www.wedpings.com/siandkasia

Sorry for the gap, and no Christmas post – a terrible state of affairs. Never mind though, here’s something to cheer you up – it’s our wedding page. The first entry on wedpings.com. A little side project for me which I intend to turn into a sort of social network for wedding planning. There’s not much there at the moment, as you’ll see if you visit the home page, but the intention is to start adding features soon. User accounts, wedding list organisation and RSVPs, photo galleries, venue information and maps – that sort of thing. To be honest I haven’t really spec’d it out yet but hopefully i’ll get round to it eventually. Drop me an email if you’d be interested in using such a service :) .

For now our page is just a bit of HTML and jQuery with a simple RSVP form – it just sends us an email with a yes or no. Nothing fancy but I was quite pleased with the design. Hopefully in a few months there’ll be a new Wedpings post announcing a proper site. We’ll see.

To the happy couple!

Tags: , , , , , ,
Posted in Design, HTML, Javascript, jQuery, Web, Website | No Comments »


Another jQuery slider (v 2.0) December 17th, 2011

I don’t know how it happened but it’s December already! Soon it’ll be time for me to do a Christmas post but I thought that since, unforgivably, I haven’t posted since August I’d squeeze in a last work entry of 2011. This might seem like a bit of a cheat, some might say this belongs more as an update of my previous jQuery slider post, but as it has some pretty key differences I have decided to call it jQuery slider version 2.0 and give it a post of it’s own. This also affords me the opportunity of displaying some more photos, today’s theme: The Lake District where my girlfriend and I got engaged earlier this year.

The slider differs to version 1.0 mainly in that it can handle content other than imagery. You can now feed it a container type (e.g ‘div) and it will treat that container and everything inside it as a slide. Also the slides are now all present within the HTML rather than being loaded in by the JS. Additional features include the ability to switch the menu on and off and change the slide direction. You can download the files here. As always I value feedback, again I haven’t exhaustively tested this and I’d be interested to see how it fits within other templates and style sheets.

Tags: , , , , , , , , , ,
Posted in Gallery, HTML, image, Javascript, jQuery, Photography, Web | No Comments »


jQuery popup plugin August 4th, 2011

I seem to be doing a lot of bits and pieces of jQuery at the moment, which is good because I quite enjoy it. I must confess I used to feel like it was cheating but fortunately i’ve managed to shed that particular misconception and now use it in almost all the online stuff I work on.

So here’s another little plugin I knocked up for work, a jQuery popup script. Most of these bits start as some random function written for a particular site which I then make into a reusable plugin and add to my script library for re-use.

You feed this one an element ID (i’d suggest a div) and it’ll remove it from the DOM (that way you can initially stick it anywhere on the page as an accessible alternative to the pop up), re-append it just before the closing </body> tag, create (if required) a background overlay and open it up at the click of a button.

Optional settings include fade in / out, background on / off, colour and opacity, close button, and close on background click.

So test it or download the source files. Poptastic!

UPDATE 2: Now version 1.2 – The popup will now re-centralise when you resize the window, also fixed a couple of little bugs.

UPDATE: Now version 1.1 – i’ve fixed a bug wherein if you fired the same pop-up using multiple links, multiple versions of the background overlay were being created with the same ID. I can only apologise for this schoolboy error.

Tags: , , , , ,
Posted in HTML, Javascript, jQuery, Web | No Comments »


jQuery slider July 12th, 2011

An unexpected but very welcome post today as I found myself with the opportunity to step back from my mobile web shenanigans for a moment and code a bit of nice, old fashioned jQuery which i’m posting here for your viewing pleasure. As an added bonus i’ve used it to display a sneak preview of my newly landscaped garden.

pointing the new patio

As usual, I intend to develop this at some point, it could do with a loader animation and an auto generated index. But for now here’s the files. Go wild!

UPDATE: This is now version 1.1 – new features include auto generated index links, optional autoplay with adjustable speed, a few bug fixes and a little bit of accessibility goodness. Files are here (the original link above is also updated.

Tags: , , , , ,
Posted in Gallery, HTML, image, Javascript, jQuery, Photography | No Comments »


jQuery form validation plugin November 15th, 2010

So in my last post I promised something scripty and here it is – my first attempt at a jQuery plugin. Some of you might remember a previous post of mine concerning JavaScript form validation – I used this as the base to build my jQuery plugin. It does much of the same sort of validation but it’s much easier to implement, can be used on multiple forms, on the same page with different settings and has several different methods of alerting the user to validation fails. The two forms below show some of it’s features in action and you can download the files for a more in depth look.

Form 1





Form 2





The files include the plugin as well as a sample HTML form. Feel free to download and use - but if you do it would be nice if you left the credits in the JS file as they are.

This is currently version 1.0 and as I use this in my own work I'll probably be expanding the functionality and improving it over time so do watch for updates. Also if you have any functionality requests or suggestions for improvement, or if you make any improvements yourself, please let me know.

Tags: , , , , , ,
Posted in Forms, HTML, Javascript, jQuery, Validation | No Comments »



Latest tweets from @scriptic