iTunes 5 Search Bar

While messing with the Behaviour JavaScript library, I created an interface similar to the iTunes 5 search bar. Behaviour allows you to apply JavaScript functions to elements of a web page using CSS selectors. The end result is clean code that’s uncluttered by JavaScript calls or formatting. The HTML markup can remain semantic, while the CSS does the layout, and Behaviour applies functions without getting in the way. It’s a fantastic way to code websites — it just takes more time. Feel free to mess around with my iTunes search bar, or borrow the code and images. Here’s a zip file containing the entire package, if you want to grab it all at once. (Any CSS fixing would be greatly appreciated, as it looks simply awful in IE. I’ve tested it extensively in Safari 2.0.1, though.)

Leave a Reply