background preloader

Collapsing Site Navigation with jQuery

Collapsing Site Navigation with jQuery
Today we will create a collapsing menu that contains vertical navigation bars and a slide out content area. When hovering over a menu item, an image slides down from the top and a submenu slides up from the bottom. Clicking on one of the submenu items will make the whole menu collapse […] View demoDownload source Today we will create a collapsing menu that contains vertical navigation bars and a slide out content area. The beautiful fashion photos are taken from Beyrouth’s photostream on flickr. So, let’s get started! The Markup Our HTML will consist of a main container with the class and id “cc_menu”. The first item will get a z-index of 5 and then we will decrease the z-index for the next items. Each submenu item will share its class with the respective content div. Let’s take a look at the styling. The CSS Our main div that surrounds everything will have the following style: The width of this container is the sum of all the item widths which is 5 times 140 pixels. And that was the style.

Tutorials:How jQuery Works This is a basic tutorial, designed to help you get started using jQuery. If you don't have a test page setup yet, start by creating the following HTML page: The src attribute in the <script> element must point to a copy of jQuery. Download a copy of jQuery from the Downloading jQuery page and store the jquery.js file in the same directory as your HTML file. Note: When you download jQuery, the file name may contain a version number, e.g., jquery-x.y.z.js. To ensure that their code runs after the browser finishes loading the document, many JavaScript programmers wrap their code in an onload function: Unfortunately, the code doesn't run until all images are finished downloading, including banner ads. Note: The jQuery library exposes its methods and properties via two properties of the window object called jQuery and $. $ is simply an alias for jQuery and it's often employed because it's shorter and faster to write. For example, inside the ready event, you can add a click handler to the link:

37 Fresh jQuery Image And Gallery Display Solutions jQuery is already very popular because it is very fast and concise Javacript library simplifing and different event handling, smooth animation with very little code. With jQuery you can enjoy new way of web development and image galleries are the best way to use it effectively! Here you’ll have more than 35 different unique jQuery Javascript solutions for beautiful image galleries and great ways to display your images with light code. To make it even easier for you to choose, I also added live demo link under every jQuery plugin! This article has been updated on May 17,2012 and we just have put together fresh 2012 list of image sliders and galleries. Before you start out, I thought it would be good idea to get a little bit of inspiration of high quality and creative solutions how you can implement galleries and jquery image effects in your own website! Build Flat Responsive Website from Scratch – Complete Course Zstudio Zstudio has an unusual, yet awesome, solution. Preview Slider Revolution

code » webcode » mediabox iaian7 » code » webcode John Einselen, 27.09.08 (updated 10.04.11) This script has been replaced by mediaboxAdvanced. Please update your links! is probably the script you’re looking for – it’s freshly developed, and ready to brew your own modal overlays. Mediabox will read Flickr, Google, MetaCafe, MySpace, Revver, YouTube, Veoh, Viddler, and Vimeo links by automatically translating them into embed code and inserting the video into the lightbox style effect. Flash animation, flash video, quicktime, windows media, inline content, and external html content is all automatically recognised as well. Social video sites play Flickr video » <a href=" 300]" title="flickr.com">play Flickr video »</a> play Google video » <a href=" play MetaCafe » <a href=" rel="mediabox[400 350]" title="www.metacafe.com">play MetaCafe »</a> play MySpace » Flash

33 jQuery, Mootools, Prototype Lightbox Scripts for Images and Galleries | Web Design Zo There are many solutions like Lightbox, to display the pop-up block (modal windows, overlays) of single images, web image galleries, videos and other media and content formats on your websites. Internet users loves the “lightbox” effect. It looks cool and stylish. This is a list of Top 33 jQuery, Mootools, Prototype Lightbox Scripts for displaying galleries and images in overlay pop-up boxes. 1. With Internet Explorer 6 support. Demo Download 2. Bumpbox 2.0 – a lightbox clone with support of PDF, flv, swf, audio, images, inline HTML and remote html files. Demo Download 3. jsImageBox Compact and easy-to-use script that allows you to show enlarged images in the pop-up boxes. Demo Download 4. A light-weight, customizable lightbox plugin for jQuery 1.3, 1.4, and 1.5. Demo Download 5. Control.Window is a fully programmable, multi purpose windowing toolkit for Prototype. Demo Download 6. Easy-to-use, can work with pictures, flash, FLV, YouTube, DivX and iframes. Demo Download 7. Demo Download 8. 9.

Related: