What is it? » Popup or flat DHTML calendar » Suitable for selecting date/time Supported browsers » Internet Explorer 5.0+ for Windows » Mozilla, Netscape 7.x, Mozilla FireFox (any platform) » Other Gecko-based browsers (any platform) » Konqueror 3.2+ for Linux and Apple Safari for Macintosh » Opera 7+ (any platform) Features » The look is customizable through external CSS » High quality color them
谷口です。 今回はプログラマの基本に立ち返って、ソートアルゴリズムについて書きます。 たいていの入門書で、必ずと言っていいほど登場するので、ご存知の方が多いとは思います。しかも、最近ではほとんどの言語で関数として実装されてますので、自分でコードを書くことはまずないかと思います。 そんなソートアルゴリズムですが、高速化されてきた実績もありますので、処理が遅いロジックに遭遇したときに、高速化のヒントがあるかもしれませんので、復習のつもりで読んでみて下さい。 ソートとは ソートとは、データをある基準にしたがって並び換える処理のことを指します。 とりあえず、これまで考案されてきたソートアルゴリズムを少し挙げてみます。 バブルソート(基本交換法,Bubble Sort) インサーションソート(基本挿入法, Insertion Sort) セレクションソート(基本選択法, Selection Sor
Download links: Script Only Download (2 KB) Download without JQuery (4 KB) Download with JQuery (13 KB) To add a JTicker to your site, first add the script file to the HEAD section of your page: <script src="jticker.js" type="text/javascript"></script> Next, add a DIV tag to surround the JTicker. In this example, I've given it the id value of "TickerDIV": <div id="TickerDIV"></div> Finally
JavaScriptIE 6、IE 7、Firefox 2.0、Opera 9で確認。 function absolutePath(path){ var e = document.createElement('span'); e.innerHTML = ''; return e.firstChild.href; } alert(absolutePath('/')); 関連リンクJavaScriptな日々 | 相対パスを絶対パスに変換する方法Imageを使っています。 getAttribute href bugBug Report: getAttribute(”HREF”) is always absolutegetAttribute("href",2)とか。既存のa要素のhrefは上記の方法で絶対パスになるけど、document.createElement('a').href='/'では、
They are everywhere: protopage, pageflakes, netvibes et al are free, easy to use -as long as you have a powerful browser- and moderatly eye-pleasing. SO? A couple months ago, I wondered how long it would take me to build my own 'WebTop' (You can play with it here). The challenge would be to get it to a satisfactory state over a week-end. Of course, I decided to use existing open-source code for th
Looking for information about Informa TechTarget products and services? The commercial homepage has moved. Visit Informa TechTarget News 31 Jul 2025 / Policy & regulation CMS releases FY 2026 IPPS final rule, bumping rates 2.6% The FY 2026 Hospital IPPS and LTCH PPS final rule will increase the IPPS operating rates by 2.6%, contributing to an overall $5 billion in hospital payments next year. 31 J
GmailでJavaScriptのソースとしてコンタクトリストデータを埋め込んでいたため、第三者がコンタクトリストを盗めてしまう、という問題が話題になっています。 まだ詳しく調べていませんがsrc属性に指定されたソースは誰でも(どのサイトからでも)取得できるブラウザの仕様を利用したものだと思います。 比較的早くからsrc属性で他のサイトのJavaScritpが指定できる仕様のリスクは指摘されていました。Gmailでさえ重要なデータをJavaScriptのソースに埋め込んでいるのですからAjaxアプリケーションの多くに同じ脆弱性があるような気がします… 手っ取り早く不完全な方法で修正するにはリファラチェック、きちんと修正するならJavaScriptのリクエストに鍵を付けてチェックする、といった方法で対策可能です。 http://example.com/javascript_contains_
Currently at version 0.9.2 About | Introduction | Download | To Do | Acknowledgements | Disclaimer | Requirements | The Online Emulator | ChangeLog jsMSX is a MSX emulator 100% written in Javascript. Yes, you read it: Javascript! It emulates the underlying Z80 CPU, TMS9918 Video Display Processor (VDP), PPI, RAM slots and Megaram. In its present form, it should be able to run any program or game d
参考資料(というか主要なアイデアほとんど全部)はこちら。 http://mgran.blogspot.com/2006/08/downloading-binary-streams-with.html 何に使うのかはこれから考える。 でかいファイルを食わせてループでString.fromCharCodeを回したらFirefoxが死んでしまったのでそこだけ注意。 (mal_blueさん,nanto_viさんに直して頂いたコード版) <html><head> <script> load_url = function(url) { var req = new XMLHttpRequest(); req.open('GET',url,false); //XHR binary charset opt by Marcus Granado 2006 [http://mgran.blogspot.com]
Section 8F of the book discusses innerHTML and when it's preferable to "real" W3C DOM methods. This is a test page intended to find out which method of generating large amounts of content is fastest in the browsers. Of course the results differ significantly from browser to browser. Each of the test scripts creates a 50x50 table, all of whose cells are filled with one character, *. Then the time y
画像拡大後も処理を繰り返してしまう問題があったので修正しました。 http://yagi.xrea.jp/2006/12/miximix.user.js Greasemonkeyスクリプトなどを書いてると、対象HTML中にJavaScriptを埋め込みたくなることがあります。 ベタに書くと大変うざいことにりますが、 script.innerHTML = "add = function(a, b){" + " var ans = a + b;" + " return ans;" + "}"; こう書くとすっきり。 script.innerHTML = "add = " + (function(a, b){ var ans = a + b; return ans; }); 関数を普通に記述した上で、それを文字列に変換。
JavaScript setTimeoutで実行される関数の中で発生するエラーは、セットした部分のtry/catchで補足することはできません。 function throwError(){ throw new Error('ERROR'); } try{ setTimeout(throwError, 3000); } catch(e){ // ここには到達しない alert(e); } MochiKit.Async.Deferredを使うと、エラーバックでエラーを補足できます。 callLater(3, throwError).addErrback(function(e){ alert(e); }); エラーの補足以外にも、Deferredのインターフェースから以下が行えます。 キャンセル(cancel)状態(fired)コールバックの追加(addCallback)エラーバックの追加
KUDAHOKI - Situs Slot Online Resmi Server Thailand dengan Fitur Terlengkap KUDAHOKI adalah situs slot online resmi dengan server Thailand tercepat dan fitur terlengkap di kelasnya. Dengan dukungan teknologi canggih, kami menghadirkan pengalaman bermain slot yang stabil, bebas lag, dan aman untuk semua pemain Indonesia. KUDAHOKI bekerja sama dengan provider ternama seperti Pragmatic Play, PG Soft,
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く