Parallax Content Slider with CSS3 and jQuery A simple parallax content slider with different animations for each slider element and a background parallax effect. View demo Download source Today we want to share a simple parallax content slider with you. Using CSS animations, we’ll control the animation of each single element in the slider and create a parallax effect by animating the background of the slider itself. The idea for this comes from the slider of the Kendo UI homepage, a framework for modern HTML UI. How it works The slider contains several slides and each one will have an h2 element, a paragraph, a link and a division with an image: The core of this slider is the animations for each one of the elements. .da-slide-fromright.da-slide-fromleft.da-slide-toright.da-slide-toleft Given these classes, we can control the animation of each element: Options The following options are available when calling the cslider plugin: The parallax effect is created by moving the background of the slider to the opposite direction when sliding.
jQuery.parallax Download git clone github.com/stephband/jparallax Instantiation jQuery( '.parallax-layer' ).parallax( options ); What does jquery.parallax do? jParallax turns nodes into absolutely positioned layers that move in response to the mouse. With a bit of CSS you can either set up windows to see these layers through, or leave them free to roam about. The diagram on the right illustrates what jParallax does to the html: and here's a demonstration with some images: More demos demos/index.html demos/stalkbuttons.html - multiple parallax. demos/remotecontrol.html - parallax by remote control. demos/thumbnails.html - beautiful interactive thumbnails. demos/target.html - demonstrates how smoothly jParallax handles window resizing. Using jParallax The default behaviour of jParallax is to show the whole width of a layer in response to the mouse travelling the whole width of the mouseport. There are various ways to style jParallax effectively. Options Layer Options Events
CSS gradient tutorial · Tankedup-Imaging Content links Preamble Listed below are a few methods for creating background gradients. 1. There are a few ways of implementing a css gradient. The gecko engine uses the declaration -moz-linear-gradient, whilst webkit engines use -webkit-gradient. gecko based browsers (Firefox) The linear gradient is part of the declarationtop declares where the gradient starts#55aaee hexadecmial colour code (light blue) for the gradient start colour#003366 hexadecmial colour code (dark blue) for the gradient end colour webkit based browsers (Chrome, Safari) The linear gradient is inside brackets with the rest of the gradient valuesleft top declares where the gradient startsleft bottom declares where the gradient finishesfrom(#55aaee) hexadecmial colour code (light blue) for the gradient start colourto(#003366) hexadecmial colour code (dark blue) for the gradient end colour The css gradient HTML <div class="css-grd"><p>Applying a css background gradient to an element</p><div> The css gradient CSS 2. 3. 4.
180 Awesome jQuery Slider and Effects Roundup Slider are very useful and increasingly popular web page elements used for highlighting important content. By using a jQuery slider plugin, one can create amazing HTML slider effects with fancy animations of content elements like text and images. jQuery takes care of the difficult aspects like browser support and typically when using jQuery plugins it can be done with very little coding effort. This is the reason why jQuery sliders and jQuery banner slideshow scripts have become very popular on most types of websites. They are are typically used to feature multiple products, news, video etc. without taking up a lot of space on the pages. In fact, we see sliders on most news and business websites today and they are placed on the most important location over the fold on the front page. The jQuery library has undoubtedly made the life of web developers easier and made it possible for non-experts to do fancy stuff themselves. Advertisement Article Index Camera Slider – MORE INFO
Parallax libs Texture Recipe – Blending Modes – Tools of the Trade Layers and blending modes were one of the first things that hooked me on photoshop, the fact that you can adjust, tweak and undo with a simple click was fascinating. The tip to remember is that blending modes react slightly differently with each image and the order of the layers. If you would like to try out the blending modes using the same texture and image, to get a feel for it yourself, then please feel free to download the free rose photo and texture Perchance at the end of the post. For this explanation I took a simple shot of a rose image and placed a texture in the layer above, then swapped the blending modes within the layer palette so you can see how the different options provide a variety of ways to control the mixing, blending and general interaction of the layer content. First up Blending Mode : Normal. As expected the image normally appears but adjust the opacity and you are off to a great start. Blending Mode : Dissolve. Darken Modes Blending Mode : Darken. Linear Burn
Dynamic PNG shadow position & opacity with jQuery - by Daniel Kurdoghlian | PushingPixels.at 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. Parallax.js Parallax.js is a nifty Javascript framework that allows you to easily add sliding page trasitions and parallaxing backgrounds to any project. Very light weight, very cool. Just like fezes. Add accepts either a name and an element, or just an element. parallax.add("foo", $("#page1")) .add($("#bar")); parallax.foo; //<- woah! To get a nifty parallaxing background, just set a jQuery element to be Parallax.js's background. parallax.background = $("body"); parallax.scaling = 0.4; //background moves 40% with the pages Some like it fast, some like it slow. parallax.speed = 1200; //In milliseconds of course! The meat and potatoes. parallax.bar.left(); //Bar slides in from the left parallax.foo.top(); //bringing back foo from the top parallax.bar.bottom(IAmBack()); //We got callbacks too ;) function IAmBack(){ alert("I'm back foo!") Sometimes we don't need the fanciness. //All pages start out hidden, //remember to show your initial page! //Remember parallax can be aliased!
Demos - JavaScript InfoVis Toolkit JavaScript InfoVis Toolkit Create Interactive Data Visualizations for the Web Home ● Download ● Builder ● Donate Area, Bar and Pie Charts Sunburst Icicle ForceDirected TreeMap SpaceTree RGraph HyperTree Advanced/Other copyright © 2013 SenchaLabs - Author: Nicolas Garcia Belmonte Raphaël—JavaScript Library Protovis Protovis composes custom views of data with simple marks such as bars and dots. Unlike low-level graphics libraries that quickly become tedious for visualization, Protovis defines marks through dynamic properties that encode data, allowing inheritance, scales and layouts to simplify construction. Protovis is free and open-source, provided under the BSD License. Protovis is no longer under active development.The final release of Protovis was v3.3.1 (4.7 MB). This project was led by Mike Bostock and Jeff Heer of the Stanford Visualization Group, with significant help from Vadim Ogievetsky. Updates June 28, 2011 - Protovis is no longer under active development. September 17, 2010 - Release 3.3 is available on GitHub. May 28, 2010 - ZOMG! October 1, 2009 - Release 3.1 is available, including minor bug fixes. September 19, 2009 - Release 3.0 is available, including major performance improvments, bug fixes, and handy utilities such as scales and layouts. Getting Started How does Protovis work?