Jump to main navigation

Posts Tagged ‘regular expressions’

Converting a string to slug with JavaScript

Recently I've been working on implementing slugs in my CMS to be able to generate nicer URLs. In order to do so I've created a little JavaScript function that converts a string to a slug. I'll first give you the code and then explain it a bit. [update: 2.07.10 Fixed IE issue][update: 18.09.10 Minor improvements] Read the full text...

Additional content and navigation


Main navigation menu