pythonでimport文で指定したクラスを動的生成したい posted by jun-g at Tue, 03 Apr 2007 02:16 JST ここんとこずーっと悩んでて解決方法がわからんのでブログで晒してみる。 pythonでMochiKit.DOMのcreateDOMみたいのがあったら便利かなと思って下記のようなクラスを書いた。 class Tag: """A base class of HTML tag.""" name = None inline = True container = False def __init__(self, *nodes, **attributes): self.nodes = nodes self.attributes = attributes def __str__(self): return self.serialize() def ser
JSL or "JavaScript Library" is, well, a JavaScript Library. It borrows many ideas from jQuery. Download Packed Version See the Code Plugins Features The features in JSL(apart from the standard stuff) include... Chainability CSS 3 Selectors Lots of shortcut - to make you your code smaller and more unreadable Special handlers for Arrays, Numbers Extra Plugins for Unit Testing and Debugging Some Samp
drawcode DESIGN & DEVELOP Apps, Web Apps, APIs and interactive development APPY TIMES AHEAD! Technologies Xamarin Flutter Unity Unreal AR: ARKit, ARCore, Vuforia, WebXR Browser: canvas, WebGL, html5, Three.js Custom C/C++/Objective-C Engines Godot, cocos2d + cocos2d-x (c++/obj-c) Platforms + Stores iOS / App Store / App Store Connect Android / Google Play! Android / Amazon Appstore Online
as3Query is an ActionScript3.0 port of John Resig's exellent JavaScript library jQuery 1.2.1. This port is released under the MIT and GPL licenses(as is the original jQuery). Documentation is NOT available. Please refer to the original jQuery Documentation. Most features are ported except for Ajax methods. Download Full source code for the engine and examples is hosted on a Subversion(SVN) server
リファレンス $() jQueryオブジェクトを作り出す関数です. $("CSS文字列") CSSで要素を指定し,マッチした要素を持つjQueryオブジェクトを返します. 詳しい指定方法は Selectors を参照してください. jquery 1.1 までは XPath による指定もできましたが,最新版では削除されています. XPath Compatibility Plugin を利用することで,1.2 でも XPath を利用可能です. var $toc_1 = $("#toc_1"); jquery_dump($toc_1); var $h1 = $("h1"); jquery_dump($h1); var $h1head = $("h1.head"); jquery_dump($h1head); var $ahref = $("a[@href^='http://jquery.com
Interface is a collection of rich interface components which utilizes the lightweight JavaScript library jQuery. With this components you can build rich client web applications and interfaces with the same simplicity as writing JavaScript with jQuery. The collection is dual licensed with the MIT license and the GPL, which basically means you can use it for free for both non-commercial and commerci
ファイルサイズわずか10キロバイト、CSSの1から3、XPathをサポートし、Internet Explorer、Firefox、Safari、Operaで動作します。「JavaScriptのコードを書くのが楽しくなる」というのがモットーらしい。 ダウンロードや実際の例、使い方などの各種取り扱い説明は以下の通り。 jQuery: New Wave Javascript http://jquery.com/ 上記ページの「Run」をクリックするとその機能の一端を垣間見ることができます。面白い効果です。 その他のデモとしてはこんな感じでいろいろなところに使えます。特に一番下の「Example G」のボタンをクリックしてから本文の上にマウスを乗せると色が変わり、フェードしながら元に戻るというのはシンプルながら面白い。 JQuery http://codylindley.com/blogstuff
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く