CheeseToast

A blog by Graham Clark

  • Increase font size
  • Default font size
  • Decrease font size
Home
CheeseToast
This blog will contain articles and tutorials on topics such as (X)HTML, CSS, Javascript/JQuery and other things that fall under the heading of web design. Hopefully they will be of some interest to you. Feel free to comment on any of my postings.

Automatically Generate a Table of Contents

E-mail Print PDF

I'm going to walk through a little JQuery script that automatically generates a table of contents at the top of the page. This is useful when you have content arranged under several sub-headers (a typical Wikipedia page is a good example) and want to have quick links to each section.

 

Website Baker - A Handy Little CMS

E-mail Print PDF
When I make websites for clients they usually want to be able to update their own content. This works out well for me, since I don't get e-mails requesting simple changes to the site. When I first started out I wrote a nice little PHP admin section where clients could edit the text content using a basic HTML textarea and then eventually the TinyMCE editor. Unfortunately, my little admin section wasn't very flexible. I didn't allow my clients to add or remove pages or sections.
 

JQuery Tablesorter

E-mail Print PDF

Want to improve the functionality of your HTML tables? Tablesorter is "a JQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes". It is also cross browser friendly, working on IE6+.

 

Add Icon for External Links

E-mail Print PDF

This is a very basic JQuery tip that demonstrates how you can add an icon (external link icon) to external anchor links. A similar approach is also useful is you want to add filetype icons to your links, such as pdf's or txt files.

 


Page 2 of 3