background preloader

Contextual Slideout Tips With jQuery & CSS3

Contextual Slideout Tips With jQuery & CSS3
Martin Angelov By now, you’ve probably heard about Adobe’s new CS5 software pack. Also, you’ve probably seen their product pages, where they present the new features of the suite. Apart from the great design, they’ve also implemented an interesting solution for showcasing the new features their products are capable of – using contextual slideout tips. Knowing the importance of HTML standards, we are making a set of contextual slideout tips with jQuery & CSS3, which are ideal for product pages and online tours. The idea The main idea is to create an easily configurable set of contextual slideouts. To create a slideout element, you need to include a regular paragraph p tag to the page. Contextual Slideouts Step 1 – XHTML Now lets take a look at the structure of the paragraph tags you should add to the page, and how they are configured. demo.html As you can see, each of the tags contains a style, a class (optional) and a title attribute. slideout markup Structure of the Slideout Step 2 – CSS

Nodstrum AutoCompleter Tutorial As always, links to a demo and ZIP at the bottom, Enjoy! I thought i would write this tutorial because most of the auto completer applications i have seen just dump the code into a zip and tell you how to use it rather than how and why it works, knowing about this enables you to customise it a lot more (this has been demonstrated with the other apps i have written here)! And so we begin:JavaScript JS Explaniation Ok, the above code it the guts to the script, this allows us to hook into the rpc.php file which carries out all the processing. The Lookup function takes the word from the input box and POSTS it to the rpc.php page using the jQuery Ajax POST call. IF the inputString is ’0′ (Zero), it hides the suggestion box, naturally you would not want this showing if there is nothing in the text box. to search for. ELSE we take the ‘inputString’ and post it to the rpc.php page, the jQuery $.post() function is used as follows… $.post(url, [data], [callback]) PHP Explaination

End of Page Slide Out Box with jQuery The other day I was reading an article in the NYTimes and I really liked the box that slides out from the right when you are reading the last part of the article. It shows another article from the same category and I thought that it might be something interesting for any […] View demoDownload source The other day I was reading an article in the NYTimes and I really liked the box that slides out from the right when you are reading the last part of the article. It shows another article from the same category and I thought that it might be something interesting for any blog or website. The idea is to have an element in the page (here it is in the last paragraph) that triggers the box to appear. Ok, let’s start! The Markup First, we need a paragraph somewhere in the page with the id “last”: Then, we need the following html for the box: The link element with the class “close” will give the user the option to close the box and it will not appear again. The CSS The JavaScript And that’s it! Enjoy!

PageSlide: a jQuery plugin which slides a webpage over to reveal an additional interaction pane Advertisement a jQuery plugin which slides a webpage over to reveal an additional interaction pane by Scott Robbin Download PageSlide Now If you've ever used the mobile version of Facebook, or Path,then you've probably seen something akin to PageSlide in action. Clicking on a button or link slides the page over to reveal a hidden pane,one that usually contains secondary navigation, a form, or additional information. There are several ways to use PageSlide, some of which are shown below.Additionally, there is a responsive demo which shows how PageSlide can be used as a mobile solution. Slide to the right, and load content from a secondary page Slide to the left, and display hidden content from this page in a modal pane Modal This slide uses "modal" option set to "true". Where can I get it? If you are interested in learning more about PageSlide, it's recommended that you view the project on GitHub. Other jQuery Plugins If you like this plugin, feel free to check out some of the others I've built.

jQuery Circulate Prereqs Requires the jQuery Library as well as the Easing plugin. Usage / Options / Defaults Stopping a loop $("#anything").circulate("Stop"); Download VERY BETA: Full package (what you are looking at) jQuery for Complete Beginners: Part 3 | Graphic and Web Design Blog Welcome to the third post in this series, taking you from jQuery novice to jQuery expert. The past two weeks have essentially just listed functions that you will need to know. Today we are going to put the skills we’ve learned into practice (as well as meeting new things) and create a basic accordion. An accordion is a very good way of showing lots of content in a small area. You might have five headers, each with a paragraph below it. Firstly I set up the accordion itself: And then just some very basic CSS to make it look a bit clearer: This leaves us with something similar to this. Now we can get onto the JavaScript. All I am doing here is selecting all the heading 3 elements and all the paragraphs, and saving them to two arrays. However I find it quicker to just put a comma between them and emit one of the ‘var’s. Once we’ve done that we now need to hide all but the first paragraph. First I hide all the paragraphs and then use eq(0) to select the ’0th’ element of the ‘paras’ array.

CSS3 Rounded Image With jQuery The other day I was trying to style CSS3 border-radius to image element and I realized that Firefox doesn't display border-radius on images. Then I figured a way to work around it — wrap a span tag around with the original image as a background-image. Thanks to Darcy Clarke for the jQuery code which does the magic tag wrapping automatically. View Demo Rounded Images Goal My goal to use the CSS3 border-radius and box-shadow feature to make the image element look like the screenshot below. Problem The problem is none of the modern browsers display rounded corners image the way I want it. The CSS Trick The trick is very simple: wrap a span tag around the image element. Final Solution With jQuery To make things easier, we can use jQuery to automatically wrap a span tag around the image. The jQuery code below will find any element with ".rounded-img" or "rounded-img2" (in my case, it is the image element) and wrap it with a span tag. Sample Usage I hope you will find this trick useful. Credits

Beautiful Slide Out Navigation Revised After I got a lot of feedback for the Beautiful Slide Out Navigation, I had some new ideas for a similar horizontal navigation. Thanks a lot to everyone! Like Stefan Matei pointed out, it might be quite cute but we don’t want the user to hover over all options first, in order […] View demoDownload source After I got a lot of feedback for the Beautiful Slide Out Navigation, I had some new ideas for a similar horizontal navigation. Like Stefan Matei pointed out, it might be quite cute but we don’t want the user to hover over all options first, in order to see what menu items exit. Although this tutorial is related to the previous one, I will start again from scratch – for the readers that are only interested in this new navigation. The icons that we will be using are from the Colorful Sticker Icon Sets 1, 2, 3 and 4 by DryIcons. Ok, let’s get to work. 1. The only thing we will need for the navigation is a simple unordered list with links and spans inside of the list elements: 2.

s jEffects - White FIREBALL Lorem ipsum Dolores Amet vitae BOMB consectetuer Pellentesque Amet Suspendisse BUBBLES laoreet consequat ligula tincidunt SNOW fringilla accumsan porttitor Quisque CONCENTRATE DISTANCE consectetuer Pellentesque Amet Suspendisse INPUT COMPLEX ( snow and bubbles ) consectetuer Pellentesque Amet Suspendisse INPUT ( chars catching ) random particles Pellentesque Consectetur Amet Suspendisse simple as: $("a").jEffects('bubbles'); flexible as: complex as: beautiful as: $("#anything").jEffects( /* Your imagination goes here */ ); jEffects enhances user interaction by providing decorative effects. Developed by Rezoner Sikorski, Icons by Sekkyumu

jQuery Quicksand plugin Quicksand Reorder and filter items with a nice shuffling animation. Activity Monitor 348 KB Address Book1904 KB Finder 1337 KB Front Row 401 KB Google Pokémon 12875 KB iCal 5273 KB iChat 5437 KB Interface Builder 2764 KB iTuna 17612 KB Keychain Access 972 KB Network Utility 245 KB Sync 3788 KB TextEdit 1669 KB Demo seems sluggish? Disable CSS3 scaling and try again. Isn’t it cool? Download Version 1.4 Demos & Docs Fork on GitHub Powered by jQuery – Made by @razorjack from agilope, icons design by Artua Design by @riddle Using jQuery The Sexy Way: 7 Great Techniques For a Slick Layout Whatever content you have to present, you can present them in a more interactive & more responsive ways. In this article we’d like to present 7 Impressive techniques using some jQuery magic to grab the attention of your users with a simple, rich user experience that gets them excited about your website. 1. Nivo Slider Nivo Slider is a lightweight (7kb compressed) jQuery plugin for creating good-looking image sliders with 9 unique transition effects. Features Include: To use the Nivo Slider you have to include jQuery, the Nivo Slider script and the Nivo Slider CSS on your page. 2. Flip is a jQuery plugin that will flip easily your elements in four directions. Options Include: contentdefine the new content of the flipped box. Using it is very easy: Add content params in this way: Sponsor Flip Wall: Using PHP, CSS and jQuery with the jQuery Flip plug-in, the resulting code can be used to showcase your sponsors, clients or portfolio projects as well. 3. 4. $('#my_image').reel() 5. jPhotoGrid

Making an Interactive Picture with jQuery In this tutorial I will be showing you how to piece together an interactive picture – aka an image that contains tooltips and popup boxes. This can be useful for showing off a particular aspect of a photo (ie items or people). The original inspiration for this tutorial came from the IKEA website, which uses Flash to accomplish something similar, although admittedly with a few extra features. Tutorial Outline This tutorial will show you how to set up the basic structure for your own interactive picture.Create/Position “more info” buttonsAdd captions to buttonsLink buttons to descriptions in popup info boxes This tutorial will be most effective if used as a guide to customize the downloadable files. Set Up Your Picture Before we can place any buttons, we first have to get the image ready (I’ve chosen a picture of our office) . You will want to customize your dimensions and background image to match your selected image. Positioning Info Buttons The Info Box The HTML for this goes as follows:

Beautiful Photo Stack Gallery with jQuery and CSS3 In this tutorial we are going to create a nice and fresh image gallery. The idea is to show the albums as a slider, and when an album is chosen, we show the images of that album as a beautiful photo stack. In the photo stack view, we can browse through the […] View demoDownload source In this tutorial we are going to create a nice and fresh image gallery. We will use jQuery and CSS3 properties for the rotated image effect. We will also use a bit of PHP for getting the images from each album. So, let’s start! The Markup In our HTML structure we will have several elements. <div id="ps_slider" class="ps_slider"><a class="prev disabled"></a><a class="next disabled"></a><div id="ps_albums"><div class="ps_album" style="opacity:0;"><img src="albums/album1/thumb/thumb.jpg" alt=""/><div class="ps_desc"><h2>Album title</h2><span>Description text</span></div></div><div class="ps_album" style="opacity:0;"> ... We will dynamically insert the pictures of each album into the ps_container div. The PHP P.S.

Fullscreen Slit Slider with jQuery and CSS3 A tutorial on how to create a fullscreen slideshow with a twist: the idea is to slice open the current slide when navigating to the next or previous one. Using jQuery and CSS animations we can create unique slide transitions for the content elements. View demo Download source In this tutorial we’ll create a fullscreen slideshow with a twist: we’ll slice the current slide open in order to reveal the next or previous slide. Using different data-attributes, we’ll define the type, rotation angle and scale of a slide’s parts, giving us the possibility to create unique effects of each slide transition. We’ll be using jQuery cond, jQuery plugin by Ben Alman for chainable “if-then-else” statements. The animal icon font that we’ll be using is by Alan Carr and you can find it here. The images in the second demo are by Majownik and they are licensed under a Creative Commons Attribution License. Let’s start with the HTML. The Markup So, our first slide will have something like this: Now, let’s style it!

Beautiful Background Image Navigation with jQuery In this tutorial we are going to create a beautiful navigation that has a background image slide effect. The main idea is to have three list items that contain the same background image but with a different position. The background image for each item will be animated to slide into place in […] View demoDownload source In this tutorial we are going to create a beautiful navigation that has a background image slide effect. The main idea is to have three list items that contain the same background image but with a different position. On top of that we will have sub-menus that appear with their semi-transparent background sliding in. Note: There is a new version which let’s you customize things better:Sliding Background Image Menu with jQuery We will be using the amazing Background-Position Animation Plugin by Alexander Farkas. The photos that we will be using are from Pat’s beautiful B&W collection on Flickr. We tried to make this one cross-browser compatible and voilà! The Markup The CSS

Related: