Changing Blog Background (SuperSized Slider)

| |

Bored of the everyday look of your blog? Now you can add multiple images to your blogger blog's background. Today I am here with a cool tutorial on Super Sized Slider. We will be adding this slider to our blog in just some simple steps. This slider is created by Build Internet. There are scroll bars, compatible in all browsers & all types of screen sizes. Here, we are just adding a simple code. Want to see the demo before applying this to your blog? Demo Link!


ADDING THE SUPER SIZED SLIDER TO BLOGGER

1. Log on to Blogger.
2. Go to Layout.
3. Add a new HTML/JAVASCRIPT gadget(Anywhere).
4. Now paste the below code in the editor-
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
 
<style>
#supersized {
position:fixed;
left:0;
top:0;
overflow:hidden;
z-index:-999;
height:100%;
width:100%;
}
#supersized img{
width:auto;
height:auto;
position:relative;
display:none;
outline:none;
border:none;
}
#supersized.speed img {
-ms-interpolation-mode:
nearest-neighbor;
image-rendering:-moz-crisp-edges;
}
/*----------------------------------------------------
{--------}  Speed  {--------}
----------------------------------------------------*/
#supersized.quality img {
-ms-interpolation-mode:
bicubic;
image-rendering:
optimizeQuality;
}
/*----------------------------------------------------
{--------}  Quality  {--------}
----------------------------------------------------*/
#supersized a {
z-index:-30;
position:absolute;
overflow:hidden;
top:0;
left:0;
width:100%;
height:100%;
background:#111;
}
#supersized a.prevslide { z-index:-20; }
#supersized a.activeslide { z-index:-10; }
#supersized a.prevslide img, #supersized a.activeslide img{ display:inline; }
</style>

<script type="text/javascript" src="http://stylifyyourblog1.googlecode.com/svn/trunk/supersize.js"></script>
 <script type='text/javascript'>
//<![CDATA[
jQuery(function($){
$.supersized({
//Functionality
slideshow:1,//Slideshow on/off
autoplay:1,//Slideshow starts playing automatically
start_slide:1,//Start slide (0 is random)
random: 0,//Randomize slide order (Ignores start slide)
slide_interval:5000,//Length between transitions
transition:1,//0-None, 1-Fade, 2-Slide Top, 3-Slide Right, 4-Slide Bottom, 5-Slide Left, 6-Carousel Right, 7-Carousel Left
transition_speed:1000,//Speed of transition
new_window:1,//Image links open in new window/tab
pause_hover:0,//Pause slideshow on hover
keyboard_nav:1,//Keyboard navigation on/off
performance:1,//0-Normal, 1-Hybrid speed/quality, 2-Optimizes image quality, 3-Optimizes transition speed // (Only works for Firefox/IE, not Webkit)
image_protect:1,//Disables image dragging and right click with Javascript
//Size & Position
min_width:0,//Min width allowed (in pixels)
min_height:0,//Min height allowed (in pixels)
vertical_center:1,//Vertically center background
horizontal_center:1,//Horizontally center background
fit_portrait:1,//Portrait images will not exceed browser height
fit_landscape:0,//Landscape images will not exceed browser width
//Components
navigation:1,//Slideshow controls on/off
thumbnail_navigation:1,//Thumbnail navigation
slide_counter:1,//Display slide numbers
slide_captions:1,//Slide caption (Pull from "title" in slides array)
slides:[//Slideshow Images
{image : 'http://buildinternet.s3.amazonaws.com/projects/supersized/3.1/slides/wanderers-kitty.jpg'},
{image : 'http://buildinternet.s3.amazonaws.com/projects/supersized/3.2/slides/kazvan-2.jpg'}, 
{image : 'http://buildinternet.s3.amazonaws.com/projects/supersized/3.1/slides/quietchaos-kitty.jpg'},
{image : 'http://buildinternet.s3.amazonaws.com/projects/supersized/3.2/slides/wojno-1.jpg'},
{image : 'http://buildinternet.s3.amazonaws.com/projects/supersized/3.2/slides/wojno-2.jpg'},
{image : 'http://buildinternet.s3.amazonaws.com/projects/supersized/3.2/slides/wojno-3.jpg'},
{image : 'http://buildinternet.s3.amazonaws.com/projects/supersized/3.2/slides/shaden-1.jpg'},
{image : 'http://buildinternet.s3.amazonaws.com/projects/supersized/3.2/slides/shaden-2.jpg'},
{image : 'http://buildinternet.s3.amazonaws.com/projects/supersized/3.2/slides/shaden-3.jpg'},{image : 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLsPuXE8S8bGEl6p1GDeF2oHCUVVolk9upF0dnPLF52aPwvGij4SzlEQCMq_iNgiyqBI2TcyWvfpcj6rycVMV62aiB1wvc69QMqhtpw7a21mKuHPq9dX6NlV2RSj7ZlE3e_yzjd6HKZcYX/s0/1.jpg'},
{image : 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRkRp9-IMxfRck_YHssoKI_MQLrD1O3CisDLPC7iHf0_sbJ-WTamBW-o2iCVRNNcbk6gBfhTGhRjw8KPQk0N8LayV9j72wtQWEQV31Jt4X36-2bOwkKbRsKPRj3P_lWW3wrOv0UnFHNyqh/s0/2.jpg'},      
{image : 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2m14IrSfUIFDsqjTHwtn3Fz0yW11J2VhIEMoVtpdvaeeq09cPdvcyrgag2d9uJd6sVv9FRg4W3x1LHNC146KwpbF_K89D8g40k5hEHRqF3MERP7wXOqV6ayC1_766UtRyuZUzDZ6uY_Gt/s0/3.jpg'},
{image : 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhS83mqMnzcPKnTg2Rn-yee4ltoYZVHI9F7yEHhDk9B9-g29rV0g_tekQ8i7FlE7vsBC2YWmCQI_PUK5rpohsVc3JmoY-fiyMr0kwlxXoCa9US2vF0TQDfEyRDwc2AWsTzojhpJLkwxYSRa/s0/4.jpg'},
{image : 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsA4Vn3ZB3TGTv-FEJ6LXqXVidSeldiN5Utf6eAgRYMwaoOUGWaEvqK7CqCW26s51zMQCn9Uh66sDvWBapvQaf6MejW4VZq4rVgwW-cOANGfpe26z_lxlqvgdO86815vWWAuUMgSj2vKja/s0/5.jpg'},
{image : 'http://buildinternet.s3.amazonaws.com/projects/supersized/3.1/slides/wilderness1.jpg'},
{image : 'http://buildinternet.s3.amazonaws.com/projects/supersized/3.1/slides/day2-emily.jpg'}
]
});
});
//]]>
</script>
4. Now go to your blog and check the cool slider working.

CUSTOMIZING THE SUPER SIZED SLIDER.
1. Replace the image url with your image url. (e.g. background.jpg)

Update: All the bloggers using SuperSized Slider on their blogs are requested to add jQuery Lazy Load Plugin to your blog, because the Super Sized Slider is really a big sized slider the images load very slow.

0 comments:

Post a Comment

Powered by Blogger.