5168 shaares
38 private links
38 private links
Is 2009 going to be the year of the JavaScript client-side include? After Mark Nottingham’s HInclude and the equally cool purple-include, I thought it was time to do something new.
How about
* includes in IE without ActiveX controls
* declarative inclusion of remote content
* pre- and post-inclusion callbacks to transform content
* all this in less than 1 KB of JavaScript?
inc does this.