background preloader

JQuery - AJAX

Facebook Twitter

Top 10 jQuery Lightbox Scripts. Everyone loves lightbox javascript effects, since the original Lightbox script there has been countless clones generated for all the popular Javascript libraries. This collection rounds up the top ten Lightbox scripts for jQuery in particular, so remember to keep it bookmarked for your next design project!

jQuery Lightbox Plugin Supported Media: Images View Demo Download Fancybox Supported Media: Images, Inline HTML, iFrame View Demo Download Shadowbox Supported Media: Images, Inline HTML, iFrame, AJAX, Flash, Video View Demo Download ThickBox Supported Media: Images, Inline HTML, iFrame, AJAX View Demo Download Slightly Thickerbox Supported Media: Images, AJAX, Video View Demo Download Fancy Zoom Supported Media: Images, Inline HTML, Flash View Demo Download Facebox Supported Media: Images, Inline HTML, AJAX View Demo Download nyroModal Supported Media: Images, Inline HTML, iFrame, AJAX, Video View Demo Download Interface Imagebox Demo View Demo Download piroBox View Demo Download Greybox Redux View Demo Download prettyPhoto.

Developing Sites With AJAX: Design Challenges and Common Issues - Smashing Magazine. Advertisement Almost every movie has a scene in which a character pull the protagonist aside and says, “There’s something you should know about [insert another character's name here].” Most of the time, we find out some dark secret about a supposed friend of the protagonist or that the main ally is actually an evil overlord. This is that moment, and I am here to tell you a few things about our friend in the Web 2.0 world: AJAX. We seem to have AJAX licked. The Web technology is ubiquitous, and libraries and frameworks make it dead easy for us to create highly interactive Web applications and to spice up our static pages and blogs. For example, we could take the following HTML… <div id="target"></div><p><a href="#" class="ajaxtrigger">Let there be AJAX magic</a></p> … and add this jQuery code: $('.ajaxtrigger').click(function(){ $('#target').load('ajaxcontent.html'); }); What Is AJAX?

The traditional model for web applications (left) compared to the Ajax model (right). This is not useful HTML. JQuery Lightbox. Dialog Demos. 28 Useful JQuery Sliders You Need To Download | Design your way. Huge Collection Of Ajax Tutorials And Techniques | Design your way. Building a 5 Star Rating System with jQuery, AJAX and PHP. In this tutorial, you'll learn how to build a rating system with AJAX, PHP, and jQuery. Votes will be recorded and updated in real-time with the magic of AJAX, and we'll also leverage the power of PHP so that you don't even need a database! Step 1. Building the HTML We're going to create a simple page that lists two movies, and allows you to rate them. This means we need the stars to show the current rating, and to allow voting. We also want an area to show the total votes cast, and the current rating down to one decimal place.

Let's take a look at the HTML/CSS Notice how there are no graphics in this HTML? This first part of the CSS accomplishes a few things: Gives the default 'empty' start to each star locationSets up classes for filled in stars, and highlighted starsDefines and styles the stars' container. You can either use the graphics provided in the download, or make your own. Step 2. Our first step is to add mouseover and mouseout handlers for the stars. What about set_votes() ? Labs - GreyBox. A pop-up window that doesn't suck. Introduction GreyBox can be used to display websites, images and other content in a beautiful way. Why use GreyBox: It does not conflict with pop-up blockers It's only 22 KB! It's super easy to setup It's super easy to use You can easily alter the style as it is controlled through CSS Examples One website To trigger GreyBox you'll only need to append a rel tag on your a tags: <a href=" title="Google" rel="gb_page_fs[]">Launch google.com in fullscreen window</a> Website gallery Image gallery It takes very little code to display image galleries: Installation Step 1 Append following to your header section.

<script type="text/javascript"> var GB_ROOT_DIR = " GB_ROOT_DIR should be absolute. Step 2 Append also following scripts and one stylesheet: AJS_fx.js is optional. Step 3 You are ready to use GreyBox. Where could it be used? What browsers are supported? Safari Firefox 1.5+ Internet Explorer 5.5+ Opera 8.5+