Showing posts with label Javascripts. Show all posts
Showing posts with label Javascripts. Show all posts

Wednesday, December 2, 2009

Auto Move Image Slider i.e carousel For Blogger

I had provided you earlier with an image slider with two left and right panels which on click take you to other images.But some of my readers at that time wanted it to have auto moves of images in slider.So in this post i will tell you how to auto move the images in slider.If you you don't know what exactly image slider is, then don't worry, just i would like you first to read my previous post on image slider for it and if you like it just follow that tutorial to have it in your blog.

Some other widgets you would like to implement for sure like peel add for blogger for attracting your visitors to subscribe your blog or show of your advertiser or show of some other important stuff.Some hacks like these i previously wrote were image hover effect,images reflection in blogger posts and zoom your images in blogger posts,which might also help you a lot.

Now lets carry on with an important tutorial of how to add the auto move image slider to your blog.



Just see it at top below the blog header.

Download this Zip file and get two javascript files from it for backup.


Now after getting these two scripts you can upload them to your own server,if you want else dont know where to upload check my this post on where to upload .js files.

Now Just login to your blogger account Then Go To > Layout > Edit/Html > Press Ctrl+ F

Now search for </head> and place the below javascript codes before this tag.

<script src='http://btemplatescripts.googlecode.com/files/auto-slider.js' type='text/javascript'/>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js' type='text/javascript'/>

In the above codes you will see red coloured lines just replace them with the link of your file which you downloaded and uploaded to your server, if dont want then also you can use my above links.

Now Search for this code ]]></b:skin> and add the below css above it.

#myslides{
background:#000 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgULFj2W-KTBqQf12WQTXAI-fnyjnEuy-58GYzjTrYaF0K9RxlOkEQN7Y95EEo_5XbnQT85WaTIPWsLf5pz3kRH6YrO78VC0WX1-t0oTSQFhkZFjoIvBl4K-gNXaf2LTZsIUcBf7CKEdw/s1600/mslid.jpg) repeat-x;
width: 650px;
height:165px;
margin-bottom:5px;
}

.stepcarousel{
position: relative; /*leave this value alone*/
overflow: scroll; /*leave this value alone*/
width: 554px; /*Width of Carousel Viewer itself*/
height: 160px; /*Height should enough to fit largest content's height*/
margin: 0px 48px 5px 48px;

}

.stepcarousel .belt{
position: absolute; /*leave this value alone*/
left: 0;
top: 0;
}

.stepcarousel .panel{
float: left; /*leave this value alone*/
overflow: hidden; /*clip content that go outside dimensions of holding panel DIV*/
margin: 20px 10px ; /*margin around each panel*/
width:170px; /*Width of each panel holding each content. If removed, widths should be individually defined on each content DIV then. */
background:#0e1829;
height:120px;
border:1px solid #1d2c44;

}
.stepcarousel .panel p{
text-align: left; /*leave this value alone*/
overflow: hidden; /*clip content that go outside dimensions of holding panel DIV*/
margin: 5px 5px ; /*margin around each panel*/

}

.stepcarousel .panel h2{
text-align: left; /*leave this value alone*/
height:20px;
overflow: hidden; /*clip content that go outside dimensions of holding panel DIV*/
margin: 2px 5px ; /*margin around each panel*/
font-size:16px;
font-weight:bold;
text-align:center;
font-family:Georgia,century gothic,Arial,verdana, sans-serif;
}

.stepcarousel .panel img{
float: left; /*leave this value alone*/
background:#0E1829; /*clip content that go outside dimensions of holding panel DIV*/
margin: 5px 5px 5px 5px; /*margin around each panel*/
padding:0px 0px;
}

Above in code is red line with url of background image of slider,you can also change it to adjust your blog.

Special Step


Just Find for /head tag and place the below script above it.

<script type='text/javascript'>
stepcarousel.setup({
galleryid: &#39;mygallery&#39;, //id of carousel DIV
beltclass: &#39;belt&#39;, //class of inner &quot;belt&quot; DIV containing all the panel DIVs
panelclass: &#39;panel&#39;, //class of panel DIVs each holding content
autostep: {enable:true, moveby:1, pause:6000},
panelbehavior: {speed:500, wraparound:true, persist:true},
defaultbuttons: {enable: true, moveby: 3, leftnav: [&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEha6wDWoGf7SqoA70D9c_k3HhHq7AlK_fDH4PYl1ONJN0S14Yuozt72W2yYBeDWGrm1LhTxW9pl0MmLp1eqbN0JKonxHAWSE9uOjH7IOMb_8VSku6feAzwWcmXRO6htxbcQUI4_6zVsZXM/s400/left.jpg&#39;, -48, 0], rightnav: [&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtIBPESVLYAylYB4i6evOUVrDrtxnNgimAhJRzhFkU2adyIQLVqzpx3Hbkacd-nCwdQiNBC7lGg28LNm5MyTgSbihlomhEEhe-RxbzxaU2G-p3465wYKh6H_iY79Ej7NFBrJK6-n26tGk/s400/right.jpg&#39;, 0, 0]},
statusvars: [&#39;statusA&#39;, &#39;statusB&#39;, &#39;statusC&#39;], //register 3 variables that contain current panel (start), current panel (last), and total panels
contenttype: [&#39;external&#39;] //content setting [&#39;inline&#39;] or [&#39;external&#39;, &#39;path_to_external_file&#39;]
})
</script>

The green lines are the images of side arrows to make it scroll left and right you can make and add your also to make it look different.And in pink are number to control speed of slider.

Now Save Your Template.All the coding part is finished,now just how to add images to slider.

Just go to Layout > Page Elements > Add A Gadget > Html/Javascript

And add the below links of images and posts in it,in the format i am writing below.

<div id="myslides">
<div id="mygallery" class="stepcarousel">
<div class="belt">

<!-- 1st Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2008/10/new-two-column-denim-template.html" target="blank" title="Two Column Denim Template"> <img width="160" alt="Two Column Denim Template" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDuksOSRgFcoPDwiNmAQeXYvlBh0edW-GJozEEyW8FUaZvTPY4kdvPk7J24TlHNwUJBVhZrmL687HH0xXEZQfAya9mNZJo7wh1p1p7x3mpBwMb5r2DCTJs4kZabzKSWDV6NFxKOzHEmx4/s400/newtwocolumndenimtemplate.jpg" height="110"/> </a>
</div>
<!-- end code of 1st -->

<!-- 2nd Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/02/simple-blog-writing-template.html" target="blank" title="Simple Blog Writing Template"> <img width="160" alt="Simple Blog Writing Template" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQos8X54j7R1Kptiw7ZBlcNsPuiuZKbeZkbWN12RTY2Uo-CgrcNc8A2ln34NzkC-fpkLzvP6IxgeqVw3M4WvTWdv5Wt0CVPqJNJPfLSQbvDg4p0my2PK6_ZKE1EhWhzp08NzEHn6Wlons/s400/simple+Blog+Template.png" height="110"/> </a>
</div>
<!-- end code of 2nd -->

<!-- 3rd Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/05/woork-style-blogger-template-design.html" target="blank" title="Woork Style Blogger Template"> <img width="160" alt="Woork Style Blogger Template" src="http://img2.pict.com/91/27/d5/ad3dbaa7835b554ec0d06a4e0c/XG7ZL/800/woork2520257c2520web2520design25.png" height="110"/> </a>
</div>
<!-- end code of 3rd -->

<!-- 4th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/05/blogger-buster-style-blogger-template.html" target="blank" title="Blogger Buster Style"> <img src="http://img23.imageshack.us/img23/8537/bloggertemplate.jpg"/> </a>
</div>
<!-- end code of 4th -->

<!-- 5th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/05/free-lenomag-blogger-template.html" target="blank" title="Lenomag Blogger Template"> <img width="160" alt="Lenomag Blogger Template" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkhUcVOtZKiqwokwmPYLOvrPqImPan08Dfl1vCfuVuwMBb13zD9qjgCXV9WYUONP9ZG9_J1qkWL_gFjbiC6Y4ID-PXJsUVRTHOkW8ULedzArm6KD5snuwXBV-aObfrx7yAZyD8Vq2inDE/s400/Preview.jpg" height="110"/> </a>
</div>
<!-- end code of 5th -->

<!-- 6th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/06/money-blogger-blogger-template.html" target="blank" title="Money Blogger Template"> <img width="160" alt="Money Blogger Template" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh5chUfQs-QN2sUqSBzmGk6BX-3toN6LYEP2rPUrYWT__x_7gtSPcea4GHS6aEGMLAVcnQdd1DHQOCgMqDd2H7VekzDz1deVfIHDWiRic330bEz5bMhH_boqFi5FDcU2BMzCv_VjO08r4/s320/money2520blogger.png" height="110"/> </a>
</div>
<!-- end code of 6th -->

<!-- 7th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/06/digital-statement-blogger-template.html" target="blank" title="Digital Statement Blogger Template"> <img width="160" alt="Digital Statement Blogger Template" src="http://img2.pict.com/fd/ad/16/9de4e09426b4090113f40930f2/bnaeY/800/digital2520statement.png" height="110"/> </a>
</div>
<!-- end code of 7th -->

<!-- 8th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/06/orkut-theme-blogger-template.html" target="blank" title="Orkut Theme Blogger Template"> <img width="160" alt="Orkut Theme Blogger Template" src="http://img2.pict.com/f3/ec/dd/06efff55a05477591153094b2f/rDVvV/800/orkut2520theme2520blogger2520tem.png" height="110"/> </a>
</div>
<!-- end code of 8th -->

</div></div></div>

Just change the links and images url with yours and also there titles.Just keep on adding links to in this format to any number you want as you can add hundreds of images and posts in this format no limit to it.Java web hosting is also rising in popularity now, so better try searching one that suits your needs now.

Auto Move Image Slider i.e carousel For Blogger

I had provided you earlier with an image slider with two left and right panels which on click take you to other images.But some of my readers at that time wanted it to have auto moves of images in slider.So in this post i will tell you how to auto move the images in slider.If you you don't know what exactly image slider is, then don't worry, just i would like you first to read my previous post on image slider for it and if you like it just follow that tutorial to have it in your blog.

Some other widgets you would like to implement for sure like peel add for blogger for attracting your visitors to subscribe your blog or show of your advertiser or show of some other important stuff.Some hacks like these i previously wrote were image hover effect,images reflection in blogger posts and zoom your images in blogger posts,which might also help you a lot.

Now lets carry on with an important tutorial of how to add the auto move image slider to your blog.



Just see it at top below the blog header.

Download this Zip file and get two javascript files from it for backup.


Now after getting these two scripts you can upload them to your own server,if you want else dont know where to upload check my this post on where to upload .js files.

Now Just login to your blogger account Then Go To > Layout > Edit/Html > Press Ctrl+ F

Now search for </head> and place the below javascript codes before this tag.

<script src='http://btemplatescripts.googlecode.com/files/auto-slider.js' type='text/javascript'/>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js' type='text/javascript'/>

In the above codes you will see red coloured lines just replace them with the link of your file which you downloaded and uploaded to your server, if dont want then also you can use my above links.

Now Search for this code ]]></b:skin> and add the below css above it.

#myslides{
background:#000 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgULFj2W-KTBqQf12WQTXAI-fnyjnEuy-58GYzjTrYaF0K9RxlOkEQN7Y95EEo_5XbnQT85WaTIPWsLf5pz3kRH6YrO78VC0WX1-t0oTSQFhkZFjoIvBl4K-gNXaf2LTZsIUcBf7CKEdw/s1600/mslid.jpg) repeat-x;
width: 650px;
height:165px;
margin-bottom:5px;
}

.stepcarousel{
position: relative; /*leave this value alone*/
overflow: scroll; /*leave this value alone*/
width: 554px; /*Width of Carousel Viewer itself*/
height: 160px; /*Height should enough to fit largest content's height*/
margin: 0px 48px 5px 48px;

}

.stepcarousel .belt{
position: absolute; /*leave this value alone*/
left: 0;
top: 0;
}

.stepcarousel .panel{
float: left; /*leave this value alone*/
overflow: hidden; /*clip content that go outside dimensions of holding panel DIV*/
margin: 20px 10px ; /*margin around each panel*/
width:170px; /*Width of each panel holding each content. If removed, widths should be individually defined on each content DIV then. */
background:#0e1829;
height:120px;
border:1px solid #1d2c44;

}
.stepcarousel .panel p{
text-align: left; /*leave this value alone*/
overflow: hidden; /*clip content that go outside dimensions of holding panel DIV*/
margin: 5px 5px ; /*margin around each panel*/

}

.stepcarousel .panel h2{
text-align: left; /*leave this value alone*/
height:20px;
overflow: hidden; /*clip content that go outside dimensions of holding panel DIV*/
margin: 2px 5px ; /*margin around each panel*/
font-size:16px;
font-weight:bold;
text-align:center;
font-family:Georgia,century gothic,Arial,verdana, sans-serif;
}

.stepcarousel .panel img{
float: left; /*leave this value alone*/
background:#0E1829; /*clip content that go outside dimensions of holding panel DIV*/
margin: 5px 5px 5px 5px; /*margin around each panel*/
padding:0px 0px;
}

Above in code is red line with url of background image of slider,you can also change it to adjust your blog.

Special Step


Just Find for /head tag and place the below script above it.

<script type='text/javascript'>
stepcarousel.setup({
galleryid: &#39;mygallery&#39;, //id of carousel DIV
beltclass: &#39;belt&#39;, //class of inner &quot;belt&quot; DIV containing all the panel DIVs
panelclass: &#39;panel&#39;, //class of panel DIVs each holding content
autostep: {enable:true, moveby:1, pause:6000},
panelbehavior: {speed:500, wraparound:true, persist:true},
defaultbuttons: {enable: true, moveby: 3, leftnav: [&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEha6wDWoGf7SqoA70D9c_k3HhHq7AlK_fDH4PYl1ONJN0S14Yuozt72W2yYBeDWGrm1LhTxW9pl0MmLp1eqbN0JKonxHAWSE9uOjH7IOMb_8VSku6feAzwWcmXRO6htxbcQUI4_6zVsZXM/s400/left.jpg&#39;, -48, 0], rightnav: [&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtIBPESVLYAylYB4i6evOUVrDrtxnNgimAhJRzhFkU2adyIQLVqzpx3Hbkacd-nCwdQiNBC7lGg28LNm5MyTgSbihlomhEEhe-RxbzxaU2G-p3465wYKh6H_iY79Ej7NFBrJK6-n26tGk/s400/right.jpg&#39;, 0, 0]},
statusvars: [&#39;statusA&#39;, &#39;statusB&#39;, &#39;statusC&#39;], //register 3 variables that contain current panel (start), current panel (last), and total panels
contenttype: [&#39;external&#39;] //content setting [&#39;inline&#39;] or [&#39;external&#39;, &#39;path_to_external_file&#39;]
})
</script>

The green lines are the images of side arrows to make it scroll left and right you can make and add your also to make it look different.And in pink are number to control speed of slider.

Now Save Your Template.All the coding part is finished,now just how to add images to slider.

Just go to Layout > Page Elements > Add A Gadget > Html/Javascript

And add the below links of images and posts in it,in the format i am writing below.

<div id="myslides">
<div id="mygallery" class="stepcarousel">
<div class="belt">

<!-- 1st Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2008/10/new-two-column-denim-template.html" target="blank" title="Two Column Denim Template"> <img width="160" alt="Two Column Denim Template" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDuksOSRgFcoPDwiNmAQeXYvlBh0edW-GJozEEyW8FUaZvTPY4kdvPk7J24TlHNwUJBVhZrmL687HH0xXEZQfAya9mNZJo7wh1p1p7x3mpBwMb5r2DCTJs4kZabzKSWDV6NFxKOzHEmx4/s400/newtwocolumndenimtemplate.jpg" height="110"/> </a>
</div>
<!-- end code of 1st -->

<!-- 2nd Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/02/simple-blog-writing-template.html" target="blank" title="Simple Blog Writing Template"> <img width="160" alt="Simple Blog Writing Template" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQos8X54j7R1Kptiw7ZBlcNsPuiuZKbeZkbWN12RTY2Uo-CgrcNc8A2ln34NzkC-fpkLzvP6IxgeqVw3M4WvTWdv5Wt0CVPqJNJPfLSQbvDg4p0my2PK6_ZKE1EhWhzp08NzEHn6Wlons/s400/simple+Blog+Template.png" height="110"/> </a>
</div>
<!-- end code of 2nd -->

<!-- 3rd Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/05/woork-style-blogger-template-design.html" target="blank" title="Woork Style Blogger Template"> <img width="160" alt="Woork Style Blogger Template" src="http://img2.pict.com/91/27/d5/ad3dbaa7835b554ec0d06a4e0c/XG7ZL/800/woork2520257c2520web2520design25.png" height="110"/> </a>
</div>
<!-- end code of 3rd -->

<!-- 4th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/05/blogger-buster-style-blogger-template.html" target="blank" title="Blogger Buster Style"> <img src="http://img23.imageshack.us/img23/8537/bloggertemplate.jpg"/> </a>
</div>
<!-- end code of 4th -->

<!-- 5th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/05/free-lenomag-blogger-template.html" target="blank" title="Lenomag Blogger Template"> <img width="160" alt="Lenomag Blogger Template" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkhUcVOtZKiqwokwmPYLOvrPqImPan08Dfl1vCfuVuwMBb13zD9qjgCXV9WYUONP9ZG9_J1qkWL_gFjbiC6Y4ID-PXJsUVRTHOkW8ULedzArm6KD5snuwXBV-aObfrx7yAZyD8Vq2inDE/s400/Preview.jpg" height="110"/> </a>
</div>
<!-- end code of 5th -->

<!-- 6th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/06/money-blogger-blogger-template.html" target="blank" title="Money Blogger Template"> <img width="160" alt="Money Blogger Template" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh5chUfQs-QN2sUqSBzmGk6BX-3toN6LYEP2rPUrYWT__x_7gtSPcea4GHS6aEGMLAVcnQdd1DHQOCgMqDd2H7VekzDz1deVfIHDWiRic330bEz5bMhH_boqFi5FDcU2BMzCv_VjO08r4/s320/money2520blogger.png" height="110"/> </a>
</div>
<!-- end code of 6th -->

<!-- 7th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/06/digital-statement-blogger-template.html" target="blank" title="Digital Statement Blogger Template"> <img width="160" alt="Digital Statement Blogger Template" src="http://img2.pict.com/fd/ad/16/9de4e09426b4090113f40930f2/bnaeY/800/digital2520statement.png" height="110"/> </a>
</div>
<!-- end code of 7th -->

<!-- 8th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/06/orkut-theme-blogger-template.html" target="blank" title="Orkut Theme Blogger Template"> <img width="160" alt="Orkut Theme Blogger Template" src="http://img2.pict.com/f3/ec/dd/06efff55a05477591153094b2f/rDVvV/800/orkut2520theme2520blogger2520tem.png" height="110"/> </a>
</div>
<!-- end code of 8th -->

</div></div></div>

Just change the links and images url with yours and also there titles.Just keep on adding links to in this format to any number you want as you can add hundreds of images and posts in this format no limit to it.Java web hosting is also rising in popularity now, so better try searching one that suits your needs now.

Auto Move Image Slider i.e carousel For Blogger

I had provided you earlier with an image slider with two left and right panels which on click take you to other images.But some of my readers at that time wanted it to have auto moves of images in slider.So in this post i will tell you how to auto move the images in slider.If you you don't know what exactly image slider is, then don't worry, just i would like you first to read my previous post on image slider for it and if you like it just follow that tutorial to have it in your blog.

Some other widgets you would like to implement for sure like peel add for blogger for attracting your visitors to subscribe your blog or show of your advertiser or show of some other important stuff.Some hacks like these i previously wrote were image hover effect,images reflection in blogger posts and zoom your images in blogger posts,which might also help you a lot.

Now lets carry on with an important tutorial of how to add the auto move image slider to your blog.



Just see it at top below the blog header.

Download this Zip file and get two javascript files from it for backup.


Now after getting these two scripts you can upload them to your own server,if you want else dont know where to upload check my this post on where to upload .js files.

Now Just login to your blogger account Then Go To > Layout > Edit/Html > Press Ctrl+ F

Now search for </head> and place the below javascript codes before this tag.

<script src='http://btemplatescripts.googlecode.com/files/auto-slider.js' type='text/javascript'/>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js' type='text/javascript'/>

In the above codes you will see red coloured lines just replace them with the link of your file which you downloaded and uploaded to your server, if dont want then also you can use my above links.

Now Search for this code ]]></b:skin> and add the below css above it.

#myslides{
background:#000 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgULFj2W-KTBqQf12WQTXAI-fnyjnEuy-58GYzjTrYaF0K9RxlOkEQN7Y95EEo_5XbnQT85WaTIPWsLf5pz3kRH6YrO78VC0WX1-t0oTSQFhkZFjoIvBl4K-gNXaf2LTZsIUcBf7CKEdw/s1600/mslid.jpg) repeat-x;
width: 650px;
height:165px;
margin-bottom:5px;
}

.stepcarousel{
position: relative; /*leave this value alone*/
overflow: scroll; /*leave this value alone*/
width: 554px; /*Width of Carousel Viewer itself*/
height: 160px; /*Height should enough to fit largest content's height*/
margin: 0px 48px 5px 48px;

}

.stepcarousel .belt{
position: absolute; /*leave this value alone*/
left: 0;
top: 0;
}

.stepcarousel .panel{
float: left; /*leave this value alone*/
overflow: hidden; /*clip content that go outside dimensions of holding panel DIV*/
margin: 20px 10px ; /*margin around each panel*/
width:170px; /*Width of each panel holding each content. If removed, widths should be individually defined on each content DIV then. */
background:#0e1829;
height:120px;
border:1px solid #1d2c44;

}
.stepcarousel .panel p{
text-align: left; /*leave this value alone*/
overflow: hidden; /*clip content that go outside dimensions of holding panel DIV*/
margin: 5px 5px ; /*margin around each panel*/

}

.stepcarousel .panel h2{
text-align: left; /*leave this value alone*/
height:20px;
overflow: hidden; /*clip content that go outside dimensions of holding panel DIV*/
margin: 2px 5px ; /*margin around each panel*/
font-size:16px;
font-weight:bold;
text-align:center;
font-family:Georgia,century gothic,Arial,verdana, sans-serif;
}

.stepcarousel .panel img{
float: left; /*leave this value alone*/
background:#0E1829; /*clip content that go outside dimensions of holding panel DIV*/
margin: 5px 5px 5px 5px; /*margin around each panel*/
padding:0px 0px;
}

Above in code is red line with url of background image of slider,you can also change it to adjust your blog.

Special Step


Just Find for /head tag and place the below script above it.

<script type='text/javascript'>
stepcarousel.setup({
galleryid: &#39;mygallery&#39;, //id of carousel DIV
beltclass: &#39;belt&#39;, //class of inner &quot;belt&quot; DIV containing all the panel DIVs
panelclass: &#39;panel&#39;, //class of panel DIVs each holding content
autostep: {enable:true, moveby:1, pause:6000},
panelbehavior: {speed:500, wraparound:true, persist:true},
defaultbuttons: {enable: true, moveby: 3, leftnav: [&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEha6wDWoGf7SqoA70D9c_k3HhHq7AlK_fDH4PYl1ONJN0S14Yuozt72W2yYBeDWGrm1LhTxW9pl0MmLp1eqbN0JKonxHAWSE9uOjH7IOMb_8VSku6feAzwWcmXRO6htxbcQUI4_6zVsZXM/s400/left.jpg&#39;, -48, 0], rightnav: [&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtIBPESVLYAylYB4i6evOUVrDrtxnNgimAhJRzhFkU2adyIQLVqzpx3Hbkacd-nCwdQiNBC7lGg28LNm5MyTgSbihlomhEEhe-RxbzxaU2G-p3465wYKh6H_iY79Ej7NFBrJK6-n26tGk/s400/right.jpg&#39;, 0, 0]},
statusvars: [&#39;statusA&#39;, &#39;statusB&#39;, &#39;statusC&#39;], //register 3 variables that contain current panel (start), current panel (last), and total panels
contenttype: [&#39;external&#39;] //content setting [&#39;inline&#39;] or [&#39;external&#39;, &#39;path_to_external_file&#39;]
})
</script>

The green lines are the images of side arrows to make it scroll left and right you can make and add your also to make it look different.And in pink are number to control speed of slider.

Now Save Your Template.All the coding part is finished,now just how to add images to slider.

Just go to Layout > Page Elements > Add A Gadget > Html/Javascript

And add the below links of images and posts in it,in the format i am writing below.

<div id="myslides">
<div id="mygallery" class="stepcarousel">
<div class="belt">

<!-- 1st Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2008/10/new-two-column-denim-template.html" target="blank" title="Two Column Denim Template"> <img width="160" alt="Two Column Denim Template" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDuksOSRgFcoPDwiNmAQeXYvlBh0edW-GJozEEyW8FUaZvTPY4kdvPk7J24TlHNwUJBVhZrmL687HH0xXEZQfAya9mNZJo7wh1p1p7x3mpBwMb5r2DCTJs4kZabzKSWDV6NFxKOzHEmx4/s400/newtwocolumndenimtemplate.jpg" height="110"/> </a>
</div>
<!-- end code of 1st -->

<!-- 2nd Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/02/simple-blog-writing-template.html" target="blank" title="Simple Blog Writing Template"> <img width="160" alt="Simple Blog Writing Template" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQos8X54j7R1Kptiw7ZBlcNsPuiuZKbeZkbWN12RTY2Uo-CgrcNc8A2ln34NzkC-fpkLzvP6IxgeqVw3M4WvTWdv5Wt0CVPqJNJPfLSQbvDg4p0my2PK6_ZKE1EhWhzp08NzEHn6Wlons/s400/simple+Blog+Template.png" height="110"/> </a>
</div>
<!-- end code of 2nd -->

<!-- 3rd Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/05/woork-style-blogger-template-design.html" target="blank" title="Woork Style Blogger Template"> <img width="160" alt="Woork Style Blogger Template" src="http://img2.pict.com/91/27/d5/ad3dbaa7835b554ec0d06a4e0c/XG7ZL/800/woork2520257c2520web2520design25.png" height="110"/> </a>
</div>
<!-- end code of 3rd -->

<!-- 4th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/05/blogger-buster-style-blogger-template.html" target="blank" title="Blogger Buster Style"> <img src="http://img23.imageshack.us/img23/8537/bloggertemplate.jpg"/> </a>
</div>
<!-- end code of 4th -->

<!-- 5th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/05/free-lenomag-blogger-template.html" target="blank" title="Lenomag Blogger Template"> <img width="160" alt="Lenomag Blogger Template" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkhUcVOtZKiqwokwmPYLOvrPqImPan08Dfl1vCfuVuwMBb13zD9qjgCXV9WYUONP9ZG9_J1qkWL_gFjbiC6Y4ID-PXJsUVRTHOkW8ULedzArm6KD5snuwXBV-aObfrx7yAZyD8Vq2inDE/s400/Preview.jpg" height="110"/> </a>
</div>
<!-- end code of 5th -->

<!-- 6th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/06/money-blogger-blogger-template.html" target="blank" title="Money Blogger Template"> <img width="160" alt="Money Blogger Template" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh5chUfQs-QN2sUqSBzmGk6BX-3toN6LYEP2rPUrYWT__x_7gtSPcea4GHS6aEGMLAVcnQdd1DHQOCgMqDd2H7VekzDz1deVfIHDWiRic330bEz5bMhH_boqFi5FDcU2BMzCv_VjO08r4/s320/money2520blogger.png" height="110"/> </a>
</div>
<!-- end code of 6th -->

<!-- 7th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/06/digital-statement-blogger-template.html" target="blank" title="Digital Statement Blogger Template"> <img width="160" alt="Digital Statement Blogger Template" src="http://img2.pict.com/fd/ad/16/9de4e09426b4090113f40930f2/bnaeY/800/digital2520statement.png" height="110"/> </a>
</div>
<!-- end code of 7th -->

<!-- 8th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/06/orkut-theme-blogger-template.html" target="blank" title="Orkut Theme Blogger Template"> <img width="160" alt="Orkut Theme Blogger Template" src="http://img2.pict.com/f3/ec/dd/06efff55a05477591153094b2f/rDVvV/800/orkut2520theme2520blogger2520tem.png" height="110"/> </a>
</div>
<!-- end code of 8th -->

</div></div></div>

Just change the links and images url with yours and also there titles.Just keep on adding links to in this format to any number you want as you can add hundreds of images and posts in this format no limit to it.Java web hosting is also rising in popularity now, so better try searching one that suits your needs now.

Wednesday, June 24, 2009

Images Slider i.e carousels For Blogger

Carousels For Blogger what it is,it ia an type of images slider horizontally or vertically for your images with an link to desired post or website you want to link.In some carousels you can add title and description of posts also with an link to post.These image sliders are nowadays highly used by our blogger platforms to attract visitors to there content or show of there latest or best content.Every body use it of at different places in blog with different purposes.So why not you try and use it your blog.

You would have seen my last post peel add for blogger for attracting your visitors to subscribe your blog or show of your advertiser or show of some other important stuff.Some hacks like these i previously wrote were image hover effect,images reflection in blogger posts and zoom your images in blogger posts,which might also help you a lot.

Now lets carry on with an important tutorial of how to add the image slider to your blog.



Just see it at top below the blog header.

Download this Zip file and get two javascript files from it for backup.



Now after getting these two scripts you can upload them to your own server,if you want else dont know where to upload check my this post on where to upload .js files.

Now Just login to your blogger account Then Go To > Layout > Edit/Html > Press Ctrl+ F

Now search for </head> and place the below javascript codes before this tag.


<script src='http://btemplatescripts.googlecode.com/files/slider.js' type='text/javascript'/>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js' type='text/javascript'/>


In the above codes you will see red coloured lines just replace them with the link of your file which you downloaded and uploaded to your server, if dont want then also you can use my above links.

Now Search for this code ]]></b:skin> and add the below css above it.


#myslides{

background:#000 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgULFj2W-KTBqQf12WQTXAI-fnyjnEuy-58GYzjTrYaF0K9RxlOkEQN7Y95EEo_5XbnQT85WaTIPWsLf5pz3kRH6YrO78VC0WX1-t0oTSQFhkZFjoIvBl4K-gNXaf2LTZsIUcBf7CKEdw/s1600/mslid.jpg) repeat-x;
width: 650px;
height:165px;
margin-bottom:5px;
}

.stepcarousel{
position: relative; /*leave this value alone*/
overflow: scroll; /*leave this value alone*/
width: 554px; /*Width of Carousel Viewer itself*/
height: 160px; /*Height should enough to fit largest content's height*/
margin: 0px 48px 5px 48px;

}

.stepcarousel .belt{
position: absolute; /*leave this value alone*/
left: 0;
top: 0;
}

.stepcarousel .panel{
float: left; /*leave this value alone*/
overflow: hidden; /*clip content that go outside dimensions of holding panel DIV*/
margin: 20px 10px ; /*margin around each panel*/
width:170px; /*Width of each panel holding each content. If removed, widths should be individually defined on each content DIV then. */
background:#0e1829;
height:120px;
border:1px solid #1d2c44;

}
.stepcarousel .panel p{
text-align: left; /*leave this value alone*/
overflow: hidden; /*clip content that go outside dimensions of holding panel DIV*/
margin: 5px 5px ; /*margin around each panel*/

}

.stepcarousel .panel h2{
text-align: left; /*leave this value alone*/
height:20px;
overflow: hidden; /*clip content that go outside dimensions of holding panel DIV*/
margin: 2px 5px ; /*margin around each panel*/
font-size:16px;
font-weight:bold;
text-align:center;
font-family:Georgia,century gothic,Arial,verdana, sans-serif;
}

.stepcarousel .panel img{
float: left; /*leave this value alone*/
background:#0E1829; /*clip content that go outside dimensions of holding panel DIV*/
margin: 5px 5px 5px 5px; /*margin around each panel*/
padding:0px 0px;
}


Above in code is red line with url of background image of slider,you can also change it to adjust your blog.

Special Step



Just Find for /head tag and place the below script above it.


<style type='text/css'>
#mygallery{overflow: hidden;}
</style>

<script type='text/javascript'>
stepcarousel.setup({
galleryid: &#39;mygallery&#39;, //id of carousel DIV
beltclass: &#39;belt&#39;, //class of inner &quot;belt&quot; DIV containing all the panel DIVs
panelclass: &#39;panel&#39;, //class of panel DIVs each holding content
panelbehavior: {speed:500, wraparound:true, persist:true},
defaultbuttons: {enable: true, moveby: 3, leftnav: [&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEha6wDWoGf7SqoA70D9c_k3HhHq7AlK_fDH4PYl1ONJN0S14Yuozt72W2yYBeDWGrm1LhTxW9pl0MmLp1eqbN0JKonxHAWSE9uOjH7IOMb_8VSku6feAzwWcmXRO6htxbcQUI4_6zVsZXM/s400/left.jpg&#39;, -48, 0], rightnav: [&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtIBPESVLYAylYB4i6evOUVrDrtxnNgimAhJRzhFkU2adyIQLVqzpx3Hbkacd-nCwdQiNBC7lGg28LNm5MyTgSbihlomhEEhe-RxbzxaU2G-p3465wYKh6H_iY79Ej7NFBrJK6-n26tGk/s400/right.jpg&#39;, 0, 0]},
statusvars: [&#39;statusA&#39;, &#39;statusB&#39;, &#39;statusC&#39;], //register 3 variables that contain current panel (start), current panel (last), and total panels
contenttype: [&#39;external&#39;] //content setting [&#39;inline&#39;] or [&#39;external&#39;, &#39;path_to_external_file&#39;]
})


</script>


The green lines are the images of side arrows to make it scroll left and right you can make and add your also to make it look different.And in pink are number to control speed of slider and no of images to be shown at once in slider,so make it adjust acc. to you.If you increase images to be shown from 3 to any number then you have to increase the size of it also in slider css which is written below.

Now Save Your Template.All the coding part is finished,now just how to add images to slider.

Just go to Layout > Page Elements > Add A Gadget > Html/Javascript

And add the below links of images and posts in it,in the format i am writing below.


<div id="myslides">
<div id="mygallery" class="stepcarousel">
<div class="belt">

<!-- 1st Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2008/10/new-two-column-denim-template.html" target="blank" title="Two Column Denim Template"> <img width="160" alt="Two Column Denim Template" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDuksOSRgFcoPDwiNmAQeXYvlBh0edW-GJozEEyW8FUaZvTPY4kdvPk7J24TlHNwUJBVhZrmL687HH0xXEZQfAya9mNZJo7wh1p1p7x3mpBwMb5r2DCTJs4kZabzKSWDV6NFxKOzHEmx4/s400/newtwocolumndenimtemplate.jpg" height="110"/> </a>
</div>
<!-- end code of 1st -->

<!-- 2nd Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/02/simple-blog-writing-template.html" target="blank" title="Simple Blog Writing Template"> <img width="160" alt="Simple Blog Writing Template" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQos8X54j7R1Kptiw7ZBlcNsPuiuZKbeZkbWN12RTY2Uo-CgrcNc8A2ln34NzkC-fpkLzvP6IxgeqVw3M4WvTWdv5Wt0CVPqJNJPfLSQbvDg4p0my2PK6_ZKE1EhWhzp08NzEHn6Wlons/s400/simple+Blog+Template.png" height="110"/> </a>
</div>
<!-- end code of 2nd -->

<!-- 3rd Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/05/woork-style-blogger-template-design.html" target="blank" title="Woork Style Blogger Template"> <img width="160" alt="Woork Style Blogger Template" src="http://img2.pict.com/91/27/d5/ad3dbaa7835b554ec0d06a4e0c/XG7ZL/800/woork2520257c2520web2520design25.png" height="110"/> </a>
</div>
<!-- end code of 3rd -->

<!-- 4th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/05/blogger-buster-style-blogger-template.html" target="blank" title="Blogger Buster Style"> <img src="http://img23.imageshack.us/img23/8537/bloggertemplate.jpg"/> </a>
</div>
<!-- end code of 4th -->

<!-- 5th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/05/free-lenomag-blogger-template.html" target="blank" title="Lenomag Blogger Template"> <img width="160" alt="Lenomag Blogger Template" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkhUcVOtZKiqwokwmPYLOvrPqImPan08Dfl1vCfuVuwMBb13zD9qjgCXV9WYUONP9ZG9_J1qkWL_gFjbiC6Y4ID-PXJsUVRTHOkW8ULedzArm6KD5snuwXBV-aObfrx7yAZyD8Vq2inDE/s400/Preview.jpg" height="110"/> </a>
</div>
<!-- end code of 5th -->

<!-- 6th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/06/money-blogger-blogger-template.html" target="blank" title="Money Blogger Template"> <img width="160" alt="Money Blogger Template" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh5chUfQs-QN2sUqSBzmGk6BX-3toN6LYEP2rPUrYWT__x_7gtSPcea4GHS6aEGMLAVcnQdd1DHQOCgMqDd2H7VekzDz1deVfIHDWiRic330bEz5bMhH_boqFi5FDcU2BMzCv_VjO08r4/s320/money2520blogger.png" height="110"/> </a>
</div>
<!-- end code of 6th -->

<!-- 7th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/06/digital-statement-blogger-template.html" target="blank" title="Digital Statement Blogger Template"> <img width="160" alt="Digital Statement Blogger Template" src="http://img2.pict.com/fd/ad/16/9de4e09426b4090113f40930f2/bnaeY/800/digital2520statement.png" height="110"/> </a>
</div>
<!-- end code of 7th -->

<!-- 8th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/06/orkut-theme-blogger-template.html" target="blank" title="Orkut Theme Blogger Template"> <img width="160" alt="Orkut Theme Blogger Template" src="http://img2.pict.com/f3/ec/dd/06efff55a05477591153094b2f/rDVvV/800/orkut2520theme2520blogger2520tem.png" height="110"/> </a>
</div>
<!-- end code of 8th -->


</div></div></div>


Just change the links and images url with yours and also there titles.Just keep on adding links to in this format to any number you want as you can add hundreds of images and posts in this format no limit to it.

Images Slider i.e carousels For Blogger

Carousels For Blogger what it is,it ia an type of images slider horizontally or vertically for your images with an link to desired post or website you want to link.In some carousels you can add title and description of posts also with an link to post.These image sliders are nowadays highly used by our blogger platforms to attract visitors to there content or show of there latest or best content.Every body use it of at different places in blog with different purposes.So why not you try and use it your blog.

You would have seen my last post peel add for blogger for attracting your visitors to subscribe your blog or show of your advertiser or show of some other important stuff.Some hacks like these i previously wrote were image hover effect,images reflection in blogger posts and zoom your images in blogger posts,which might also help you a lot.

Now lets carry on with an important tutorial of how to add the image slider to your blog.



Just see it at top below the blog header.

Download this Zip file and get two javascript files from it for backup.



Now after getting these two scripts you can upload them to your own server,if you want else dont know where to upload check my this post on where to upload .js files.

Now Just login to your blogger account Then Go To > Layout > Edit/Html > Press Ctrl+ F

Now search for </head> and place the below javascript codes before this tag.


<script src='http://btemplatescripts.googlecode.com/files/slider.js' type='text/javascript'/>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js' type='text/javascript'/>


In the above codes you will see red coloured lines just replace them with the link of your file which you downloaded and uploaded to your server, if dont want then also you can use my above links.

Now Search for this code ]]></b:skin> and add the below css above it.


#myslides{

background:#000 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgULFj2W-KTBqQf12WQTXAI-fnyjnEuy-58GYzjTrYaF0K9RxlOkEQN7Y95EEo_5XbnQT85WaTIPWsLf5pz3kRH6YrO78VC0WX1-t0oTSQFhkZFjoIvBl4K-gNXaf2LTZsIUcBf7CKEdw/s1600/mslid.jpg) repeat-x;
width: 650px;
height:165px;
margin-bottom:5px;
}

.stepcarousel{
position: relative; /*leave this value alone*/
overflow: scroll; /*leave this value alone*/
width: 554px; /*Width of Carousel Viewer itself*/
height: 160px; /*Height should enough to fit largest content's height*/
margin: 0px 48px 5px 48px;

}

.stepcarousel .belt{
position: absolute; /*leave this value alone*/
left: 0;
top: 0;
}

.stepcarousel .panel{
float: left; /*leave this value alone*/
overflow: hidden; /*clip content that go outside dimensions of holding panel DIV*/
margin: 20px 10px ; /*margin around each panel*/
width:170px; /*Width of each panel holding each content. If removed, widths should be individually defined on each content DIV then. */
background:#0e1829;
height:120px;
border:1px solid #1d2c44;

}
.stepcarousel .panel p{
text-align: left; /*leave this value alone*/
overflow: hidden; /*clip content that go outside dimensions of holding panel DIV*/
margin: 5px 5px ; /*margin around each panel*/

}

.stepcarousel .panel h2{
text-align: left; /*leave this value alone*/
height:20px;
overflow: hidden; /*clip content that go outside dimensions of holding panel DIV*/
margin: 2px 5px ; /*margin around each panel*/
font-size:16px;
font-weight:bold;
text-align:center;
font-family:Georgia,century gothic,Arial,verdana, sans-serif;
}

.stepcarousel .panel img{
float: left; /*leave this value alone*/
background:#0E1829; /*clip content that go outside dimensions of holding panel DIV*/
margin: 5px 5px 5px 5px; /*margin around each panel*/
padding:0px 0px;
}


Above in code is red line with url of background image of slider,you can also change it to adjust your blog.

Special Step



Just Find for /head tag and place the below script above it.


<style type='text/css'>
#mygallery{overflow: hidden;}
</style>

<script type='text/javascript'>
stepcarousel.setup({
galleryid: &#39;mygallery&#39;, //id of carousel DIV
beltclass: &#39;belt&#39;, //class of inner &quot;belt&quot; DIV containing all the panel DIVs
panelclass: &#39;panel&#39;, //class of panel DIVs each holding content
panelbehavior: {speed:500, wraparound:true, persist:true},
defaultbuttons: {enable: true, moveby: 3, leftnav: [&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEha6wDWoGf7SqoA70D9c_k3HhHq7AlK_fDH4PYl1ONJN0S14Yuozt72W2yYBeDWGrm1LhTxW9pl0MmLp1eqbN0JKonxHAWSE9uOjH7IOMb_8VSku6feAzwWcmXRO6htxbcQUI4_6zVsZXM/s400/left.jpg&#39;, -48, 0], rightnav: [&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtIBPESVLYAylYB4i6evOUVrDrtxnNgimAhJRzhFkU2adyIQLVqzpx3Hbkacd-nCwdQiNBC7lGg28LNm5MyTgSbihlomhEEhe-RxbzxaU2G-p3465wYKh6H_iY79Ej7NFBrJK6-n26tGk/s400/right.jpg&#39;, 0, 0]},
statusvars: [&#39;statusA&#39;, &#39;statusB&#39;, &#39;statusC&#39;], //register 3 variables that contain current panel (start), current panel (last), and total panels
contenttype: [&#39;external&#39;] //content setting [&#39;inline&#39;] or [&#39;external&#39;, &#39;path_to_external_file&#39;]
})


</script>


The green lines are the images of side arrows to make it scroll left and right you can make and add your also to make it look different.And in pink are number to control speed of slider and no of images to be shown at once in slider,so make it adjust acc. to you.If you increase images to be shown from 3 to any number then you have to increase the size of it also in slider css which is written below.

Now Save Your Template.All the coding part is finished,now just how to add images to slider.

Just go to Layout > Page Elements > Add A Gadget > Html/Javascript

And add the below links of images and posts in it,in the format i am writing below.


<div id="myslides">
<div id="mygallery" class="stepcarousel">
<div class="belt">

<!-- 1st Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2008/10/new-two-column-denim-template.html" target="blank" title="Two Column Denim Template"> <img width="160" alt="Two Column Denim Template" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDuksOSRgFcoPDwiNmAQeXYvlBh0edW-GJozEEyW8FUaZvTPY4kdvPk7J24TlHNwUJBVhZrmL687HH0xXEZQfAya9mNZJo7wh1p1p7x3mpBwMb5r2DCTJs4kZabzKSWDV6NFxKOzHEmx4/s400/newtwocolumndenimtemplate.jpg" height="110"/> </a>
</div>
<!-- end code of 1st -->

<!-- 2nd Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/02/simple-blog-writing-template.html" target="blank" title="Simple Blog Writing Template"> <img width="160" alt="Simple Blog Writing Template" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQos8X54j7R1Kptiw7ZBlcNsPuiuZKbeZkbWN12RTY2Uo-CgrcNc8A2ln34NzkC-fpkLzvP6IxgeqVw3M4WvTWdv5Wt0CVPqJNJPfLSQbvDg4p0my2PK6_ZKE1EhWhzp08NzEHn6Wlons/s400/simple+Blog+Template.png" height="110"/> </a>
</div>
<!-- end code of 2nd -->

<!-- 3rd Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/05/woork-style-blogger-template-design.html" target="blank" title="Woork Style Blogger Template"> <img width="160" alt="Woork Style Blogger Template" src="http://img2.pict.com/91/27/d5/ad3dbaa7835b554ec0d06a4e0c/XG7ZL/800/woork2520257c2520web2520design25.png" height="110"/> </a>
</div>
<!-- end code of 3rd -->

<!-- 4th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/05/blogger-buster-style-blogger-template.html" target="blank" title="Blogger Buster Style"> <img src="http://img23.imageshack.us/img23/8537/bloggertemplate.jpg"/> </a>
</div>
<!-- end code of 4th -->

<!-- 5th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/05/free-lenomag-blogger-template.html" target="blank" title="Lenomag Blogger Template"> <img width="160" alt="Lenomag Blogger Template" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkhUcVOtZKiqwokwmPYLOvrPqImPan08Dfl1vCfuVuwMBb13zD9qjgCXV9WYUONP9ZG9_J1qkWL_gFjbiC6Y4ID-PXJsUVRTHOkW8ULedzArm6KD5snuwXBV-aObfrx7yAZyD8Vq2inDE/s400/Preview.jpg" height="110"/> </a>
</div>
<!-- end code of 5th -->

<!-- 6th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/06/money-blogger-blogger-template.html" target="blank" title="Money Blogger Template"> <img width="160" alt="Money Blogger Template" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh5chUfQs-QN2sUqSBzmGk6BX-3toN6LYEP2rPUrYWT__x_7gtSPcea4GHS6aEGMLAVcnQdd1DHQOCgMqDd2H7VekzDz1deVfIHDWiRic330bEz5bMhH_boqFi5FDcU2BMzCv_VjO08r4/s320/money2520blogger.png" height="110"/> </a>
</div>
<!-- end code of 6th -->

<!-- 7th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/06/digital-statement-blogger-template.html" target="blank" title="Digital Statement Blogger Template"> <img width="160" alt="Digital Statement Blogger Template" src="http://img2.pict.com/fd/ad/16/9de4e09426b4090113f40930f2/bnaeY/800/digital2520statement.png" height="110"/> </a>
</div>
<!-- end code of 7th -->

<!-- 8th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/06/orkut-theme-blogger-template.html" target="blank" title="Orkut Theme Blogger Template"> <img width="160" alt="Orkut Theme Blogger Template" src="http://img2.pict.com/f3/ec/dd/06efff55a05477591153094b2f/rDVvV/800/orkut2520theme2520blogger2520tem.png" height="110"/> </a>
</div>
<!-- end code of 8th -->


</div></div></div>


Just change the links and images url with yours and also there titles.Just keep on adding links to in this format to any number you want as you can add hundreds of images and posts in this format no limit to it.

Images Slider i.e carousels For Blogger

Carousels For Blogger what it is,it ia an type of images slider horizontally or vertically for your images with an link to desired post or website you want to link.In some carousels you can add title and description of posts also with an link to post.These image sliders are nowadays highly used by our blogger platforms to attract visitors to there content or show of there latest or best content.Every body use it of at different places in blog with different purposes.So why not you try and use it your blog.

You would have seen my last post peel add for blogger for attracting your visitors to subscribe your blog or show of your advertiser or show of some other important stuff.Some hacks like these i previously wrote were image hover effect,images reflection in blogger posts and zoom your images in blogger posts,which might also help you a lot.

Now lets carry on with an important tutorial of how to add the image slider to your blog.



Just see it at top below the blog header.

Download this Zip file and get two javascript files from it for backup.



Now after getting these two scripts you can upload them to your own server,if you want else dont know where to upload check my this post on where to upload .js files.

Now Just login to your blogger account Then Go To > Layout > Edit/Html > Press Ctrl+ F

Now search for </head> and place the below javascript codes before this tag.


<script src='http://btemplatescripts.googlecode.com/files/slider.js' type='text/javascript'/>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js' type='text/javascript'/>


In the above codes you will see red coloured lines just replace them with the link of your file which you downloaded and uploaded to your server, if dont want then also you can use my above links.

Now Search for this code ]]></b:skin> and add the below css above it.


#myslides{

background:#000 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgULFj2W-KTBqQf12WQTXAI-fnyjnEuy-58GYzjTrYaF0K9RxlOkEQN7Y95EEo_5XbnQT85WaTIPWsLf5pz3kRH6YrO78VC0WX1-t0oTSQFhkZFjoIvBl4K-gNXaf2LTZsIUcBf7CKEdw/s1600/mslid.jpg) repeat-x;
width: 650px;
height:165px;
margin-bottom:5px;
}

.stepcarousel{
position: relative; /*leave this value alone*/
overflow: scroll; /*leave this value alone*/
width: 554px; /*Width of Carousel Viewer itself*/
height: 160px; /*Height should enough to fit largest content's height*/
margin: 0px 48px 5px 48px;

}

.stepcarousel .belt{
position: absolute; /*leave this value alone*/
left: 0;
top: 0;
}

.stepcarousel .panel{
float: left; /*leave this value alone*/
overflow: hidden; /*clip content that go outside dimensions of holding panel DIV*/
margin: 20px 10px ; /*margin around each panel*/
width:170px; /*Width of each panel holding each content. If removed, widths should be individually defined on each content DIV then. */
background:#0e1829;
height:120px;
border:1px solid #1d2c44;

}
.stepcarousel .panel p{
text-align: left; /*leave this value alone*/
overflow: hidden; /*clip content that go outside dimensions of holding panel DIV*/
margin: 5px 5px ; /*margin around each panel*/

}

.stepcarousel .panel h2{
text-align: left; /*leave this value alone*/
height:20px;
overflow: hidden; /*clip content that go outside dimensions of holding panel DIV*/
margin: 2px 5px ; /*margin around each panel*/
font-size:16px;
font-weight:bold;
text-align:center;
font-family:Georgia,century gothic,Arial,verdana, sans-serif;
}

.stepcarousel .panel img{
float: left; /*leave this value alone*/
background:#0E1829; /*clip content that go outside dimensions of holding panel DIV*/
margin: 5px 5px 5px 5px; /*margin around each panel*/
padding:0px 0px;
}


Above in code is red line with url of background image of slider,you can also change it to adjust your blog.

Special Step



Just Find for /head tag and place the below script above it.


<style type='text/css'>
#mygallery{overflow: hidden;}
</style>

<script type='text/javascript'>
stepcarousel.setup({
galleryid: &#39;mygallery&#39;, //id of carousel DIV
beltclass: &#39;belt&#39;, //class of inner &quot;belt&quot; DIV containing all the panel DIVs
panelclass: &#39;panel&#39;, //class of panel DIVs each holding content
panelbehavior: {speed:500, wraparound:true, persist:true},
defaultbuttons: {enable: true, moveby: 3, leftnav: [&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEha6wDWoGf7SqoA70D9c_k3HhHq7AlK_fDH4PYl1ONJN0S14Yuozt72W2yYBeDWGrm1LhTxW9pl0MmLp1eqbN0JKonxHAWSE9uOjH7IOMb_8VSku6feAzwWcmXRO6htxbcQUI4_6zVsZXM/s400/left.jpg&#39;, -48, 0], rightnav: [&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtIBPESVLYAylYB4i6evOUVrDrtxnNgimAhJRzhFkU2adyIQLVqzpx3Hbkacd-nCwdQiNBC7lGg28LNm5MyTgSbihlomhEEhe-RxbzxaU2G-p3465wYKh6H_iY79Ej7NFBrJK6-n26tGk/s400/right.jpg&#39;, 0, 0]},
statusvars: [&#39;statusA&#39;, &#39;statusB&#39;, &#39;statusC&#39;], //register 3 variables that contain current panel (start), current panel (last), and total panels
contenttype: [&#39;external&#39;] //content setting [&#39;inline&#39;] or [&#39;external&#39;, &#39;path_to_external_file&#39;]
})


</script>


The green lines are the images of side arrows to make it scroll left and right you can make and add your also to make it look different.And in pink are number to control speed of slider and no of images to be shown at once in slider,so make it adjust acc. to you.If you increase images to be shown from 3 to any number then you have to increase the size of it also in slider css which is written below.

Now Save Your Template.All the coding part is finished,now just how to add images to slider.

Just go to Layout > Page Elements > Add A Gadget > Html/Javascript

And add the below links of images and posts in it,in the format i am writing below.


<div id="myslides">
<div id="mygallery" class="stepcarousel">
<div class="belt">

<!-- 1st Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2008/10/new-two-column-denim-template.html" target="blank" title="Two Column Denim Template"> <img width="160" alt="Two Column Denim Template" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDuksOSRgFcoPDwiNmAQeXYvlBh0edW-GJozEEyW8FUaZvTPY4kdvPk7J24TlHNwUJBVhZrmL687HH0xXEZQfAya9mNZJo7wh1p1p7x3mpBwMb5r2DCTJs4kZabzKSWDV6NFxKOzHEmx4/s400/newtwocolumndenimtemplate.jpg" height="110"/> </a>
</div>
<!-- end code of 1st -->

<!-- 2nd Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/02/simple-blog-writing-template.html" target="blank" title="Simple Blog Writing Template"> <img width="160" alt="Simple Blog Writing Template" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQos8X54j7R1Kptiw7ZBlcNsPuiuZKbeZkbWN12RTY2Uo-CgrcNc8A2ln34NzkC-fpkLzvP6IxgeqVw3M4WvTWdv5Wt0CVPqJNJPfLSQbvDg4p0my2PK6_ZKE1EhWhzp08NzEHn6Wlons/s400/simple+Blog+Template.png" height="110"/> </a>
</div>
<!-- end code of 2nd -->

<!-- 3rd Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/05/woork-style-blogger-template-design.html" target="blank" title="Woork Style Blogger Template"> <img width="160" alt="Woork Style Blogger Template" src="http://img2.pict.com/91/27/d5/ad3dbaa7835b554ec0d06a4e0c/XG7ZL/800/woork2520257c2520web2520design25.png" height="110"/> </a>
</div>
<!-- end code of 3rd -->

<!-- 4th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/05/blogger-buster-style-blogger-template.html" target="blank" title="Blogger Buster Style"> <img src="http://img23.imageshack.us/img23/8537/bloggertemplate.jpg"/> </a>
</div>
<!-- end code of 4th -->

<!-- 5th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/05/free-lenomag-blogger-template.html" target="blank" title="Lenomag Blogger Template"> <img width="160" alt="Lenomag Blogger Template" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkhUcVOtZKiqwokwmPYLOvrPqImPan08Dfl1vCfuVuwMBb13zD9qjgCXV9WYUONP9ZG9_J1qkWL_gFjbiC6Y4ID-PXJsUVRTHOkW8ULedzArm6KD5snuwXBV-aObfrx7yAZyD8Vq2inDE/s400/Preview.jpg" height="110"/> </a>
</div>
<!-- end code of 5th -->

<!-- 6th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/06/money-blogger-blogger-template.html" target="blank" title="Money Blogger Template"> <img width="160" alt="Money Blogger Template" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh5chUfQs-QN2sUqSBzmGk6BX-3toN6LYEP2rPUrYWT__x_7gtSPcea4GHS6aEGMLAVcnQdd1DHQOCgMqDd2H7VekzDz1deVfIHDWiRic330bEz5bMhH_boqFi5FDcU2BMzCv_VjO08r4/s320/money2520blogger.png" height="110"/> </a>
</div>
<!-- end code of 6th -->

<!-- 7th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/06/digital-statement-blogger-template.html" target="blank" title="Digital Statement Blogger Template"> <img width="160" alt="Digital Statement Blogger Template" src="http://img2.pict.com/fd/ad/16/9de4e09426b4090113f40930f2/bnaeY/800/digital2520statement.png" height="110"/> </a>
</div>
<!-- end code of 7th -->

<!-- 8th Template -->
<div class="panel">
<a href="http://www.anshuldudeja.com/2009/06/orkut-theme-blogger-template.html" target="blank" title="Orkut Theme Blogger Template"> <img width="160" alt="Orkut Theme Blogger Template" src="http://img2.pict.com/f3/ec/dd/06efff55a05477591153094b2f/rDVvV/800/orkut2520theme2520blogger2520tem.png" height="110"/> </a>
</div>
<!-- end code of 8th -->


</div></div></div>


Just change the links and images url with yours and also there titles.Just keep on adding links to in this format to any number you want as you can add hundreds of images and posts in this format no limit to it.

Tuesday, June 9, 2009

Make Your Blogger Page Title Scroll Using Javascript

Scroll your all blog pages title from left to right.Yes friends as you would have seen few blogs using this hack like to make scroll there blog page title i.e moving from left to right.As not many blogs are using this as it depends only upon admin likings.If you also want to have this hack then read on for sure to implement this hack.

First of all i would like to show you the demo of this hack.Visit my Blogger widgets blog and see there the blog title scrolling from right to left.

If you liked it want to have it in your blogger just follow this tut.As one my reader shaz wanted to implement this hack in his blogger and requested me to blog about it,so below are the codes to make it work.

Just Login To Blogger > Layout > Edit Html

Now at the beggining of the codes only you will find below line:-


<title><data:blog.pagetitle/></title>


If you using Swap Title Hack you will find these codes :-


<b:if cond='data:blog.pageName == ""'>
<title><data:blog.title/></title>
<b:else/>
<title><data:blog.pageName/> | <data:blog.title/></title>
</b:if>


Or may get codes like at this post too.

So what you have to do is just copy the javascript codes from below and paste it after the any of the above code which one you are using.


<script>

//Document title scroller- By Graeme Robinson (me@graemerobinson.co.uk)
//Exlusive permission granted to Dynamic Drive to include this script in their DHTML archive.
//For full source code, terms of use visit http://www.dynamicdrive.com

var repeat=1 //enter 0 to not repeat scrolling after 1 run, othersise, enter 1
var title=document.title
var leng=title.length
var start=1
function titlemove() {
titl=title.substring(start, leng) + title.substring(0, start)
document.title=titl
start++
if (start==leng+1) {
start=0
if (repeat==0)
return
}
setTimeout("titlemove()",140)
}
if (document.title)
titlemove()
</script>


And now save your template.And you will now see your blogger title scrolling.

Make Your Blogger Page Title Scroll Using Javascript

Scroll your all blog pages title from left to right.Yes friends as you would have seen few blogs using this hack like to make scroll there blog page title i.e moving from left to right.As not many blogs are using this as it depends only upon admin likings.If you also want to have this hack then read on for sure to implement this hack.

First of all i would like to show you the demo of this hack.Visit my Blogger widgets blog and see there the blog title scrolling from right to left.

If you liked it want to have it in your blogger just follow this tut.As one my reader shaz wanted to implement this hack in his blogger and requested me to blog about it,so below are the codes to make it work.

Just Login To Blogger > Layout > Edit Html

Now at the beggining of the codes only you will find below line:-


<title><data:blog.pagetitle/></title>


If you using Swap Title Hack you will find these codes :-


<b:if cond='data:blog.pageName == ""'>
<title><data:blog.title/></title>
<b:else/>
<title><data:blog.pageName/> | <data:blog.title/></title>
</b:if>


Or may get codes like at this post too.

So what you have to do is just copy the javascript codes from below and paste it after the any of the above code which one you are using.


<script>

//Document title scroller- By Graeme Robinson (me@graemerobinson.co.uk)
//Exlusive permission granted to Dynamic Drive to include this script in their DHTML archive.
//For full source code, terms of use visit http://www.dynamicdrive.com

var repeat=1 //enter 0 to not repeat scrolling after 1 run, othersise, enter 1
var title=document.title
var leng=title.length
var start=1
function titlemove() {
titl=title.substring(start, leng) + title.substring(0, start)
document.title=titl
start++
if (start==leng+1) {
start=0
if (repeat==0)
return
}
setTimeout("titlemove()",140)
}
if (document.title)
titlemove()
</script>


And now save your template.And you will now see your blogger title scrolling.

Make Your Blogger Page Title Scroll Using Javascript

Scroll your all blog pages title from left to right.Yes friends as you would have seen few blogs using this hack like to make scroll there blog page title i.e moving from left to right.As not many blogs are using this as it depends only upon admin likings.If you also want to have this hack then read on for sure to implement this hack.

First of all i would like to show you the demo of this hack.Visit my Blogger widgets blog and see there the blog title scrolling from right to left.

If you liked it want to have it in your blogger just follow this tut.As one my reader shaz wanted to implement this hack in his blogger and requested me to blog about it,so below are the codes to make it work.

Just Login To Blogger > Layout > Edit Html

Now at the beggining of the codes only you will find below line:-


<title><data:blog.pagetitle/></title>


If you using Swap Title Hack you will find these codes :-


<b:if cond='data:blog.pageName == ""'>
<title><data:blog.title/></title>
<b:else/>
<title><data:blog.pageName/> | <data:blog.title/></title>
</b:if>


Or may get codes like at this post too.

So what you have to do is just copy the javascript codes from below and paste it after the any of the above code which one you are using.


<script>

//Document title scroller- By Graeme Robinson (me@graemerobinson.co.uk)
//Exlusive permission granted to Dynamic Drive to include this script in their DHTML archive.
//For full source code, terms of use visit http://www.dynamicdrive.com

var repeat=1 //enter 0 to not repeat scrolling after 1 run, othersise, enter 1
var title=document.title
var leng=title.length
var start=1
function titlemove() {
titl=title.substring(start, leng) + title.substring(0, start)
document.title=titl
start++
if (start==leng+1) {
start=0
if (repeat==0)
return
}
setTimeout("titlemove()",140)
}
if (document.title)
titlemove()
</script>


And now save your template.And you will now see your blogger title scrolling.

Sunday, May 31, 2009

Welcome Alert Script For Blogger

Alert Script for Blogger,when anybody will visit your website or blog he will get an welcome message before loading your page completely.You can have anything in the message what you want.It can be helpful for you whenever you want to display to your welcoming visitor some message or alert which you can be important for him to get to your blog reading further.

I had before shared you with two scripts:-
1)Disable Right Click For Blogger
2)Making Image Reflections




Just login to blogger > Layout > Edit Html

Find <head> tag and add the below script just after it.


<script language='JavaScript'>alert(&quot;Your Message Here&quot;);</script>


Just change text in red with your welcoming message.

And now save your template.And visit your blog you will get an welcome message.

Welcome Alert Script For Blogger

Alert Script for Blogger,when anybody will visit your website or blog he will get an welcome message before loading your page completely.You can have anything in the message what you want.It can be helpful for you whenever you want to display to your welcoming visitor some message or alert which you can be important for him to get to your blog reading further.

I had before shared you with two scripts:-
1)Disable Right Click For Blogger
2)Making Image Reflections




Just login to blogger > Layout > Edit Html

Find <head> tag and add the below script just after it.


<script language='JavaScript'>alert(&quot;Your Message Here&quot;);</script>


Just change text in red with your welcoming message.

And now save your template.And visit your blog you will get an welcome message.

Welcome Alert Script For Blogger

Alert Script for Blogger,when anybody will visit your website or blog he will get an welcome message before loading your page completely.You can have anything in the message what you want.It can be helpful for you whenever you want to display to your welcoming visitor some message or alert which you can be important for him to get to your blog reading further.

I had before shared you with two scripts:-
1)Disable Right Click For Blogger
2)Making Image Reflections




Just login to blogger > Layout > Edit Html

Find <head> tag and add the below script just after it.


<script language='JavaScript'>alert(&quot;Your Message Here&quot;);</script>


Just change text in red with your welcoming message.

And now save your template.And visit your blog you will get an welcome message.

Sunday, April 5, 2009

How Make And Show Image Reflections In Blogger Posts

Reflection of the images is made using photoshop,as you need to make each image with its reflection and have to post it on blogger posts.And when you want to post images with reflection and you don't know how to use photoshop,then what you will do.No need to worry friends now i will tell you the very easy way how to make your images reflect in blogger posts and you have not even to make any modifications to image just keep on posting it as before you are doing, just i will give you an javascript to add in your html,and after that you just have to define a class to your images while posting. Now i will tell you how to do it exactly.

As an same method i posted one more hacks before,How to make an hover effect to image if you havent checked check for sure.

Now how to make image reflection.


Login into blogger with your ID
Click Layout
Click Edit HTML tab
Click Download Full Template and please back up your template first.
Copy and Paste the below script right after ]]><b:skin>

Now download this script Reflection.js and upload to your own server.


<script src='http://your_server_link/reflection.js' type='text/javascript'/>


And now whenever you define your image add the class='reflect' in code as like below highlited in red in below code.


<img src="http://i74.servimg.com/u/f74/11/94/91/73/screen13.jpg" class="reflect"/>




I hope you will be able to make image reflect very easily.if you have any problem leave your comments below.

How Make And Show Image Reflections In Blogger Posts

Reflection of the images is made using photoshop,as you need to make each image with its reflection and have to post it on blogger posts.And when you want to post images with reflection and you don't know how to use photoshop,then what you will do.No need to worry friends now i will tell you the very easy way how to make your images reflect in blogger posts and you have not even to make any modifications to image just keep on posting it as before you are doing, just i will give you an javascript to add in your html,and after that you just have to define a class to your images while posting. Now i will tell you how to do it exactly.

As an same method i posted one more hacks before,How to make an hover effect to image if you havent checked check for sure.

Now how to make image reflection.


Login into blogger with your ID
Click Layout
Click Edit HTML tab
Click Download Full Template and please back up your template first.
Copy and Paste the below script right after ]]><b:skin>

Now download this script Reflection.js and upload to your own server.


<script src='http://your_server_link/reflection.js' type='text/javascript'/>


And now whenever you define your image add the class='reflect' in code as like below highlited in red in below code.


<img src="http://i74.servimg.com/u/f74/11/94/91/73/screen13.jpg" class="reflect"/>




I hope you will be able to make image reflect very easily.if you have any problem leave your comments below.

How Make And Show Image Reflections In Blogger Posts

Reflection of the images is made using photoshop,as you need to make each image with its reflection and have to post it on blogger posts.And when you want to post images with reflection and you don't know how to use photoshop,then what you will do.No need to worry friends now i will tell you the very easy way how to make your images reflect in blogger posts and you have not even to make any modifications to image just keep on posting it as before you are doing, just i will give you an javascript to add in your html,and after that you just have to define a class to your images while posting. Now i will tell you how to do it exactly.

As an same method i posted one more hacks before,How to make an hover effect to image if you havent checked check for sure.

Now how to make image reflection.


Login into blogger with your ID
Click Layout
Click Edit HTML tab
Click Download Full Template and please back up your template first.
Copy and Paste the below script right after ]]><b:skin>

Now download this script Reflection.js and upload to your own server.


<script src='http://your_server_link/reflection.js' type='text/javascript'/>


And now whenever you define your image add the class='reflect' in code as like below highlited in red in below code.


<img src="http://i74.servimg.com/u/f74/11/94/91/73/screen13.jpg" class="reflect"/>




I hope you will be able to make image reflect very easily.if you have any problem leave your comments below.

Wednesday, April 1, 2009

Disable Right Click Option in Blogger

Disable right click option in blogger,ya friends if you want that your visitors dont use right click on your blog to save your page or any images then its very easy for you to disable right click option in your blog.What you have to do is add small piece of javascript codes in your blog html.

There are two piece of codes one in which if visitor uses right click option an alert will be shown that is disabled.And other is one in which no alert will be shown.

You can add the codes in two ways.
1.Add below codes in blog html below the closing head tag </head>
2.Or add these codes in layout sidebar in Html/Javascript section and save it.

Script without message alert


<script language=JavaScript>
<!--

//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com

var message="Function Disabled!";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")

// -->
</script>



Script without message alert


<script language=JavaScript>
<!--

//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http://www.dynamicdrive.com

var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")
// -->
</script>