FlippingBook - software for creating online publications, magazines, photo albums and flip books with the real page turning effect. Blog « tobypitman.com. iPhone Style Checkboxes With CSS3 June 20th, 2010 Here’s some form input checkboxes styled with CSS3 to look like iPhone style on/off buttons. iPhone Style Checkboxes With CSS3 CSS3 Scrolling Header Image June 14th, 2010 Here’s a cool thing you can do with the CSS3 animations behaviour.
CSS3 Scrolling Header Image Pure CSS Sliding Image Gallery May 3rd, 2010 So, another random CSS3 experiment! Pure CSS Sliding Image Gallery Custom Post Structures in Wordpress Loop April 25th, 2010 Here’s a spicy little Wordpress loop that allows you to structure your latest posts in a different way. Custom Post Structures in Wordpress Loop Dynamic CSS3 Animated Accordian Menu So I’ve been doing some more CSS3 experiments and I think I’ve cracked the Accordian thing.
Note: the version used in this article is jQuery 1.2.3 View jQuery Demos Download Demo ZIP How jQuery works? First you need to download a copy of jQuery and insert it in your html page (preferably within the <head> tag). Garage Door Menu with jQuery. How To Create A Sexy Vertical Sliding Panel Using jQuery And CSS3. More and more we see people using horizontal sliding panels on their websites.
And they usually look very nice! Some will put a contact or login form in there, others will put some information about them and their website, or even things like a tag cloud or social networking buttons. Horizontal sliding panels are great for many situations, but like everything else, they’re not always ideal. It depends on the project. To see what I mean by ‘horizontal sliding panel‘, go have a look at my other site Design-Newz, and click on the ‘want more‘ button that’s on the right above the navigation bar. The Plan So, what about a vertical sliding panel that would act as some sort of drawer instead of the usual top horizontal sliding panel that pushes everything else down when it opens?
Here’s what I had in mind (click to enlarge or check below the image for working demos): First we’ll create the markup, then the CSS and then we’ll use jQuery to open and close our vertical sliding panel. Slick animated menu. Dynamic PNG shadow position & opacity - by Daniel Kurdoghlian. Below you can see the magic interesting part of my script: This is, what makes the correct positioning of the shadow <div>. Just assign this function to a dragging event (+ window-resize & load) and you have your dynamic positioning. Using jQuery for Background Image Animations.
After reading Dave Shea's article on CSS Sprites using jQuery to produce animation effects, I felt like playing around with things to see what could be done but accomplish it with a simpler HTML structure (no need for adding superfluous tags) and simpler code, too.
Changing the position of the background image felt to be the best approach to creating the type of effect we're looking for (and I'm not the first to think so: see the examples at the end of this article). jQuery is a great library for this type of task but out of the box, it can't animate background position properly because of the need to animate two values instead of just one (too bad not all browsers implemented the non-standard background-position-x and -y like Internet Explorer). You'll have to use the Background-Position plugin that is linked in the demo (the original plugin is no longer available on the jQuery site). Previous versions didn't support negative or decimal values properly.
The HTML The Basic CSS The Image.
Elegant Accordion with jQuery and CSS3.