This isn’t about rotating through alternate stylesheets or importing them, or even changing an inline style on an element through Javascript. Oh no. This is about creating an actually stylesheet element ON THE FLY.
The reason for this is because for a bit I was just trying to create a long string with the [...]
Archive for the ‘Javascript’ Category
Dynamic Style Sheets
June 29th, 2006
No Comments
JavaScript XPath Support
June 29th, 2006
No Comments
At work some of my tasks have led me to fooling around with new interface ideas. I figured this is a good way to get up to scratch with AJAX and related ideas.
Now if you’re pulling in XML with AJAX you know that it can be a perfect pain to parse the file. [...]
Reg Ex for Script Tags
May 12th, 2006
3 Comments
I thought it might be nice to have a little archive of Javascript Regular Expressions for other people coming through.
This one is for pulling <script> tags out of a string. It should match any case, account for attributes in the opening tag, and match any code including line breaks in between the tags.
First up, [...]




