background preloader

Javascript_jquery

Facebook Twitter

50+ Amazing Jquery Examples- Part1. Dec 20 2007 * This post is regularly updated. * Many of us have been using a good deal of jQuery plugins lately.

50+ Amazing Jquery Examples- Part1

Below I have provided a list of the 50 favorite plugins many developers use. Menu 1) LavaLamp 2) jQuery Collapse -A plugin for jQuery to collapse content of div container. 3) A Navigation Menu- Unordered List with anchors and nested lists, also demonstrates how to add a second level list. 4) SuckerFish Style Tabs 5) jQuery UI Tabs / Tabs 3 – Simple jQuery based tab-navigation 6) TabContainer Theme – JQuery style fade animation that runs as the user navigates between selected tabs. Accordion. Sliding Boxes and Captions with jQuery. Add an extra layer of information to your images with sliding boxes.

Sliding Boxes and Captions with jQuery

This is now a plugin! Check out the announcement post for the Mosaic jQuery plugin. 15 Useful jQuery Parallax Plugins and Tutorials to Create a WOW Factor. Parallax scrolling is a technique that the background images move by the camera slower than foreground images, which can give the viewer a 3D/motion illusion. It was firstly used in the video game and started to appear in some fancy web design works recently. If your website is already awesome, adding one extra parallax effect would easily give visitors a bigger impression. To make your life easier, there are some excellent plugins and tutorials to get started. They are well written and documented and you might just add a few your own pictures and automatically have a parallax page. 21 Step-by-Step HTML5 Tutorials to Quickly Get Started 40 Best jQuery Plugins Every Web Developer Should Have Top 35 Essential jQuery Form Plugins and Libraries You’ll Actually Need. The Basics of Passing Values From JavaScript to PHP and Back : The Coders Lexicon.

One of the common questions I often run into from new programmers to JavaScript or PHP is how to pass values back and forth between the two.

The Basics of Passing Values From JavaScript to PHP and Back : The Coders Lexicon

The quagmire is that JavaScript is a client side language (most of the time) and PHP is a server-side language. Once you know how the process works when someone submits some data on the front end, and how it is manipulated and returned on the back end, it is easy to see how you can exchange information between the languages. PHP to JavaScript When you visit a PHP page for the first time (or any website that has a server-side language generating its pages) your browser first requests a page from the server. The server in turn takes the request, calls PHP to build the page and manipulate variables, then returns the results back to the user in the form of HTML, a string, XML, JavaScript and more.

With the first request you typically don’t have any immediate data you are sending back through JavaScript. Send, pass, get variables with PHP, Form, HTML & JavaScript code. Skytopia > Projects > Technology/science/misc articles > HTML Forms in a nutshell All code on this page is considered by us to contain the most basic and important aspects of form sending.

Send, pass, get variables with PHP, Form, HTML & JavaScript code

This page basically shows in the shortest possible way how you can:Test your PHP offline - Test your PHP pages offline easily, without installing your own web server.Send variables between Javascript, Form and PHP on the same page:Send variables from one page to another: Jquery Tutorial : Toggle Effect on Hover or Click. Jquery Tutorial : Toggle Effect on Hover/Click Posted by Vikas Ghodke on March 31st in Tutorials.

Jquery Tutorial : Toggle Effect on Hover or Click

Today we will learn how to get simple toggle effect on hover/click with jQuery. We will use Css and Jquery to get our final output. Check out the demo before getting into the tutorial. Demo Step 1 : HTML So now we will document our page. <h2>Move Cursor</h2><div class="togglebox"><div class="content"><h3>Content Here</h3><! Step 2 : Styling our HTML document Now we need to style our html elements like heading, togglebox and content. Sending objects from one page to another. Sending objects from one page to another Credits: This tutorial is written (except for current page) and contributed by Alex Vincent.

Sending objects from one page to another

Edited by JavaScript Kit. Alex is a long time visitor of JavaScript Kit, and participant of the JK Help Forum. One of the most common requests we get in the JavaScript Kit forum is "How do I send a variable to the next page? " In this tutorial, we're going to give you several examples of doing precisely this. The location.search property Popup windows Frames, and even framesets Location.search. jQuery Datepicker. A datepicker can easily be added as a popup to a text field or inline in a division or span with appropriate default settings.

jQuery Datepicker

The popup shows when the field gains focus and is closed by clicking on the Close link or clicking anywhere else on the page. You can also remove the datepicker widget if it is no longer required. Popup datepicker (input): Inline datepicker (div/span): jQuery Datepicker Reference. A separate datepicker instance is created for each targeted control: $(selector).datepick();.

jQuery Datepicker Reference

When applied to a div or span the datepicker is rendered inline. Otherwise it appears as a popup on demand. Each instance may have different settings, e.g. Alternately, you can specify the settings per control by adding a data-datepick attribute, e.g. The datepicker functionality can only be applied once. Below are the settings that may be applied to each datepicker instance. A note on Date - the JavaScript Date constructor expects the year, month, and day as parameters. The datepicker contains a series of commands that operate upon it, allowing these to be customised or new commands added.