home
about
contact
curriculum vitae
Monday, December 20, 2004
Sliding pane
Today was so much fun. I fiddled around creating a sliding sidebar using JavaScript. It is most satisfying. To the right of the sidebar, a button-so-tall-and-thin-that-it-looks-like-a-slider uses
setTimeout()
to call a function that decrements the CSS width property of the
<div>
, which then calls
setTimeout()
again (and again...), until only the slider is visible. Another does the reverse, until the sidebar is its original width again. And I got it to work in Netscape.
posted by Simon at 9:20 PM.
Permalink
0 Comments:
Post a Comment
Links to this post:
See links to this post
<$BlogBacklinkTitle$>
<$BlogBacklinkSnippet$>
posted by <$BlogBacklinkAuthor$> @ <$BlogBacklinkDateTime$>
Create a Link
<< Home
Simon Harriyott
Search
Popular Entries
SQL Server performance tips
Programming by text file
12 career moves for developers
JavaScript clipboard control
30 things I've learnt
How was your day honey?
Geekery
MatchMatix
Football clubs' RSS feeds
HackDay: Still del.icio.us?
Sponsored links
Home Shopping
Laptop Computers
Your Ad Here
Put Ads On Your Site
Subscribe
RSS
Bloglines
Newsgator
Google
My MSN
My Yahoo
Rojo
Pluck