2007-12-16から1日間の記事一覧

Resizable

http://storehouse.sakura.ne.jp/resizable/resizable.htm これ見て「すごいなー」と思ったので、prototype.jsで実装してみた。 Operaだとイマイチな動作。 <html> <head> <script src="prototype.js" type="text/javascript"></script> <script type="text/javascript"> var Resizable = Class.create(); Resizable.prototype = { initialize: function(element…</head></html>

CodePress: Lua用syntax highlighting

LUA

http://storehouse.sakura.ne.jp/viewvc/viewvc.cgi/codepress_lua/?root=svn JavaScript用をベースにして作ってみた。バージョンは5.1。 /* * CodePress regular expressions for Lua syntax highlighting */ // Lua Language.syntax = [ { input : /\"(.*?…