After working on responsive or flexy designs, I found some serious issues about fixed width in most of images/banner sliders which I have got online. So, I thought to develop a liquid/responsive images slider with different transition effects. Here, I am going to introduce you, a most flexible/responsive slider i.e. Responsive_DG_Slider. It is so easy and useful. I have decided that I will post a page dedicated to this slider with it’s features and API later.
Here I am showing It’s full screen responsive image slider functionality powered by the fantastic java-script library jQuery. With a nice and simple design it adjusted automatically to the width of your browser screen. Image sliders add life and interactivity to your web contents. But creating an image slider from scratch is not that easy. You need some good programming skills to create your own slider. If you are not the programmer or you just don’t want to re-invent the wheel, Responsive_DG_Slider is for you. Previously, I have already developed a very simple and useful slider i. e. jQuery – DG_Slider.
Configuring Your Slider
Configuring the slider is very simple, you just need to place your images and call the initializer function and your slider is ready. Here’s how you can do this for full-screen.
The HTML
For develping a Full-Screen Background image slider you need to create the necessary HTML markups for your slider and then add references to necessary script files.
<div class="fluid_container"> <div class="fluid_dg_wrap fluid_dg_emboss pattern_1 fluid_dg_white_skin" id="fluid_dg_wrap_4"> <div data-thumb="slides/thumbs/1.jpg" data-src="slides/1-1280x720.jpg"></div> <div data-thumb="slides/thumbs/2.jpg" data-src="slides/2-1280x720.jpg"></div> <div data-thumb="slides/thumbs/3.jpg" data-src="slides/3-1280x720.jpg"></div> <div data-thumb="slides/thumbs/4.jpg" data-src="slides/4-1280x720.jpg"></div> <div data-thumb="slides/thumbs/5.jpg" data-src="slides/5-1280x720.jpg"></div> <div data-thumb="slides/thumbs/6.jpg" data-src="slides/6-1280x720.jpg"></div> </div> </div>
The CSS
We have to link it’s default css file.
<link rel='stylesheet' id='fluid_dg-css' href='css/fluid_dg.css' type='text/css' media='all'>
After attaching the default CSS, now we will customize it according to our requirement.
.fluid_container { bottom: 0; height: 100%; left: 0; position: fixed; right: 0; top: 0; z-index: 0; } #fluid_dg_wrap_4 { bottom: 0; height: 100%; left: 0; margin-bottom: 0 !important; position: fixed; right: 0; top: 0; } .fluid_dg_bar { z-index: 2; } .fluid_dg_prevThumbs, .fluid_dg_nextThumbs, .fluid_dg_prev, .fluid_dg_next, .fluid_dg_commands, .fluid_dg_thumbs_cont { background: #222; background: rgba(2, 2, 2, .7); } .fluid_dg_thumbs { margin-top: -100px; position: relative; z-index: 1; } .fluid_dg_thumbs_cont { border-radius: 0; -moz-border-radius: 0; -webkit-border-radius: 0; } .fluid_dg_overlayer { opacity: .1; }
The jQuery
First, We have to add some jQuery library.
<script type='text/javascript' src='http://code.jquery.com/jquery-1.6.2.min.js'></script> <script type='text/javascript' src='Scripts/jquery.mobile.customized.min.js'></script> <script type='text/javascript' src='Scripts/jquery.easing.1.3.js'></script> <script type='text/javascript' src='Scripts/fluid_dg.min.js'></script>
After adding all these library we have to initiate the Responsive_DG_Slider. In this slider’s API we have several customization options. Here we are customizing some options according to this full-screen slider.
jQuery(document).ready(function(){ jQuery(function(){ jQuery('#fluid_dg_wrap_4').fluid_dg({height: 'auto', loader: 'bar', pagination: false, thumbnails: true, hover: false, opacityOnGrid: false, imagePath: ''}); }); })
Done!
That’s all, I hope you liked this article. Please feel free to comment and share your thoughts/ideas about the result.
Updated
APIs and other options of this wonderful plugin, please click here.
You may like:
- Hot Tea / Coffee with Animated Smoke Effect – jQuery & CSS
- Cool Typography Effects With CSS3 and jQuery
- Hover and Click Trigger For CIRCULAR Elements With jQuery
- Random 3D Explosions, 3D clouds – Effects with CSS 3D and jQuery
- Cool Animated Fire Effects with CSS3 and jQuery
- jQuery Plugin for Cartoon-like Background Image Sprite Animation – AniDG – (alernative to animated Gif)
- DG_Slider – An Ultimate jQuery Content Slider Plugin
- Full-Screen Responsive jQuery Banner Slider – Responsive_DG_Slider
- Responsive jQuery Banner Slider with Pagination circles – Responsive_DG_Slider
- Animate Full-Page Multiple Background images with fade-in & fade-out effect – jQuery
Posted by: Dhiraj kumar
Responsive CSS design – Web Design Tips : For designers, the most difficult and interesting aspect of responsive web design has been the flexible nature of it. We’ve constantly in the process of trading in our tenacity for pixel perfection and embracing the web for what it really is; fluid. Today we’ll cover some steps to help you transition towards flexible web design, or as I like to call it, ‘Getting’ Flexy’.
Hi sir from where i can get css file ?
Please visit http://css-jquery-design.com
Where can I get or download this example please?
I wanna compare with my result
how to find js sir?