Post sponsored by smtp ghost In the "old-style" event registration model, you would typically register events by assigning functions to the onevent property of DOM elements: elem.onclick = function() { alert("You clicked me"); } The problem with that approach is that you can only assign a single event handler function to any given event. All modern browsers support more advanced event registration
hinclude.js Tired of regenerating HTML pages from templates? Want more from Web caches? HInclude makes one thing very easy; including other bits of HTML into your Web page, using the browser. See also Gustaf Nilsson Kotte's h-include - it uses Web Components to do the same thing. The Basics Hinclude adds one element to HTML; hx:include. When the browser encounters this element, it will include the
\閉鎖予定のサイトも売れるかも?/ アクセスがないサイトもコンテンツ価値で売れる場合も… ドメインの有効期限を更新してサイト売却にトライしてみましょう
naoyaさん のJemplateの記事に触発されて埋め込みjavascriptを実装してみました。 同様の実装として Ajax Pages があるのですが、よりシンプルに実装してみました。コードにして50行。 サンプルファイルダウンロード これは今作っているフレームワークの一部です。シンプルですがわりと使えるかと。 実際の動作はサンプルファイルを見ていただくとして lyase_view.jsの説明どおり 1/* 2 * using innerHTML 3 * ------------- 4 * //in HTML 5 * <textarea id="template" style="display:none"> 6 * The value of x is:< %= context.x%> 7 * </textarea> 8 * //code 9 * document.write(Lyas
Ajax Pages is a scripting template engine that enables rapid development of Ajax Web-based Applications, just like GMail, Google Maps, A9 and Backpack, but without having to manipulate complicated Document Object Models to make things dynamic. Based on the experience of JSP, ASP and PHP, Ajax Pages brings easy scripting templates to the client-side. Anyone familiar with these tecnologies will feel
JamritasはJavaScriptで記述されたAjaxアプリケーション開発のためのライブラリです。 プロジェクトページ ダウンロード ライブラリのみダウンロード 最新版は0.9.0です。 使い方 ページ内でjamritas-{version}.jsをロードしてください。 <script type="text/javascript" src="jamritas-{version}.js"></script> ドキュメント 現在Jamritasには以下のライブラリが存在します。 Template DOM Event HTTP Loader XMLRPC JSONRPC Cookie 更新履歴 0.9.0 Jamritas.Cookie Cookieの読み書きのためのライブラリが追加されました。 Jamritas.DOM text2dom()で引数の文字列からXML DOMツリーが作成できな
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く