サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
Pixel 9
www.kryogenix.org
In the HTML5 spec it's possible to make elements drag-and-drop-able. This is not new news: the excellent HTML5 Rocks and HTML5 Doctor articles cover it well. However. When you drag a thing, what gets dragged is a "ghost image" of it. See for yourself: drag the green box below, and what you see when you're dragging is a green copy of it. What if you want the "ghost image" to be something other than
Your user requests your web app Has the page loaded yet? “All your users are non-JS while they're downloading your JS” — Jake Archibald Did the HTTP request for the JavaScript succeed? If they're on a train and their net connection goes away before your JavaScript loads, then there's no JavaScript. Did the HTTP request for the JavaScript complete? How many times have you had a mobile browser hang
I've just discovered a sweet project called zen-coding (hat tip to Roger Johannson). It's a plugin for your editor, and if you write a lot of HTML it's great. Basically, it takes a typed-in: div#name.one.two and expands it to <div id="name" class="one two"></div> It can handle all sorts of complicated constructs; essentially, you type what amounts to a CSS selector and then hit Ctrl+E and it expan
A presentation at Fronteers 2008 Stuart Langridge talks about closures in JavaScript, what they are, how they trip you up, how you create them accidentally, and what a powerful tool they make. With great power comes great responsibility: here's how to do it right. Bring your brain, and a tolerance for jokes. Download as OpenOffice Impress (ODP) or PDF. The presentation was also filmed: you can wat
It's quite often, when navigating through a long document, confusing or disorienting for users to click a link which immediately jumps them to somewhere else in that document. Are they on the same page, on a different page, should they scroll more from here, what's going on? Smooth link scrolling alleviates this a little, by scrolling the page to the new link rather than jumping there directly. Tr
A desktop full of handy widgets to tell you about what’s going on in the world and what’s going on around your computer. This is Jackfield. Jackfield is an application for the Gnome desktop that plays host to widgets; small applications to do the things you need. It can run widgets from Apple’s Dashboard, will eventually be able to run those from Yahoo’s Widget Engine, Microsoft’s Gadget Sidebar,
As you can see, the above table now has clickable headers that sort the table by the clicked column. Note how the numeric and date columns all sort properly, too, rather than sorting alphanumerically. This is not a new trick, sorting a table using the DOM. However, this mini-library has two nice attributes; the first is, unsurprisingly, that it follows my principles of unobtrusive DHTML, as you'll
searchhi: Automatic search word highlighting after web searches What it is The searchhi JavaScript library is a way of automatically highlighting words on a page when that page was reached by a search engine. In essence, if you search, for example, Google for some words, and then follow a link from the search results to a searchhi enabled page, the words you searched for will be highlighted on tha
Nate over at webgraphics talks about a new feature he'd like to see in Safari: that titles on links should be shown in the rather pretty way that Safari currently shows dragged links: That's rather nice, that. Of course, it doesn't need browser support. Try mousing over, or tabbing to, some of the links on this page: you'll see the same effect. It's all done with CSS and a little bit of JavaScript
このページを最初にブックマークしてみませんか?
『www.kryogenix.org』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く