Shaun Mccran

My digital playground

04
M
A
Y
2010

JQuery multiple show and hide div’s based on click event

This article shows how to use JQuery to show and hide many div's at the same time, revealing the content that the user requests. It also degrades gracefully if you turn off Javascript.

Have you ever tried to display a Questions and Answers type page, where the Question is a clickable link that shows the corresponding Answer (FAQ's)? It is quite tricky to make this interesting, and Accessible to impaired users.

A full demo of multiple show and hide divs is here: link

[ More ]

04
M
A
Y
2010

How to stop FCK Editor wrapping your content with 'P' tags

Whilst testing a website for WCAG 2 Accessibility compliance I noticed that all my dynamic content from a database was wrapped in the HTML 'P' element.

The functionality that put the content into the database was a rich text area using the inbuilt FCK Editor. This article deals with how to stop FCK editor wrapping your content in undesirable tags.

[ More ]

29
A
P
R
2010

JQuery Datatables plugin example using a server side data request (coldfusion)

Im my previous article on how to use the JQuery datatables plug I concentrated mainly on the JQuery script, and how to build the AJAX request to receive a JSON response.

In this article I will demonstrate the full application which will include the front end JQuery, building the back end server response and a few tips that I've picked up since implementing the plugin. I am using an MS SQL table filled with UK location data that I also used for a weather webservice, to fill the table.

A full example of this working can be seen here: Data table server side example

[ More ]

29
A
P
R
2010

Using Feedburner RSS feeds with your Blog and auto tweeting to your Twitter Account

Feed burner is a Google product that allows you to consume and distribute your RSS feeds in a much more in depth way than simply displaying the information in a raw XML format. It allows you to analyse the usage of a feed, add social links into feed articles and push the content onto other web platforms, like Twitter and Facebook.

In this article I will display what I like to call the 'Distributed social circular'. This means that when you create a new Blog article feed burner will automatically consume it, update your RSS feed subscribers, and post a custom formatted Tweet to your Twitter account, hopefully driving more visitors to the original article.

[ More ]

_UNKNOWNTRANSLATION_ /