Adding Featured Content in Blogger

I believe you know WordPress Theme from Brian Gardner, a very popular work in WordPress Theme because he presented a magazine theme called “Revolution Theme”. Now, he has launched “Revolution Theme 2”. One of the Revolution Themes is called “Revolution_music-10”. The biggest interest from “Revolution_music-10” is that it has an image feature Slide Show.
I spent a half day to implement this feature into blogspot and finally, Djenggot can do it. If you are curious what this feature looks like, please see the demo here , watch for a few minutes to see the beauty of its slide show, click featured content or arrow on the side to see the interesting features.
You have seen it, haven’t you? And are you interested in adding it into your template? Just wait for Djenggot’s next posting, ok….Well, just kidding ! If you are interested to make that feature, please read the steps below;
Make images that will be Slide Show with your interest size, for example 550px X 200px. Don’t make too many images because it will slow down when loading. 5 Images are enough for every blog. Example;
Upload the images into the server that you usually use and write the address of the images. example;
Find the links that will be the target if the images are clicked by the visitors, example;

If you have had the image address and the link address, then change them into like below; (sample only)

Wordpress Themes

Get Wordpress Themes for free here!

Blogger Templates

Get Blogger templates for free here!


Get cute icons web and blog for free here!


Get beautiful wallpapers for free here!


Get Powerful tools for free here!

From Now, this script is named file #1

Before continuing, please download both scripts below (right click; Save target as… (for IE), Save Link as (for FF))
Upload both scripts into the server you usually use to save the script, for example yahoo geocities. After uploading, please note the URL of both scripts. Look at below to see the sample (sample only).
Change them into like below (sample only);

From now, this script is named file #2
Now, you will do the last step, please follow the steps below;
1. Log in into blogger with you ID
2. Click Layout.
3. Click Edit HTML tab
4. Click Download Full Template, please save first to back up the template.
5. Copy the following code right above ]]> :

#myGallery, #myGallerySet, #flickrGallery

{width: 550px;height: 200px;z-index: 5;}


{width: 500px;height: 334px;}

#myGallery img.thumbnail, #myGallerySet img.thumbnail

{display: none;}


{overflow: hidden;position: relative;}

.jdGallery img

{border: 0;margin: 0;}

.jdGallery .slideElement

{width: 100%;height: 100%;background-color: #000;background-repeat: no-repeat;background-position: center center;background-image: url('');

.jdGallery .loadingElement

{width: 100%;height: 100%;position: absolute;left: 0;top: 0;background-color: #000;background-repeat: no-repeat;background-position: center center;background-image: url('');}

.jdGallery .slideInfoZone

{position: absolute;z-index: 10;width: 100%;margin: 0px;left: 0;bottom: 0;height: 50px;background: #000;color: #fff;text-indent: 0;overflow: hidden;}

* html .jdGallery .slideInfoZone

{bottom: -1px;}

.jdGallery .slideInfoZone h2

{padding: 7px 10px 2px 10px;font-size: 12px;margin: 0;font-weight: bold;color: #ffffff;text-transform: uppercase;background: #111111;letter-spacing:0em;}

.jdGallery .slideInfoZone p

{font-size: 12px;margin: 2px 5px;color: #fff;padding: 0px 0px 0px 5px;font-family:arial;}

.jdGallery div.carouselContainer

{position: absolute;height: 135px;width: 100%;z-index: 10;margin: 0px;left: 0;top: 0;}

.jdGallery a.carouselBtn

{position: absolute;bottom: 0;right: 30px;height: 20px;text-align: center;padding: 0 10px;font-size: 13px;background: #000;color: #fff;cursor: pointer;}

.jdGallery .carousel

{position: absolute;width: 100%;margin: 0px;left: 0;top: 0;height: 115px;background: #000;color: #fff;text-indent: 0;overflow: hidden;}


{overflow: hidden;position: relative;}

.jdGallery .carousel .carouselWrapper, .jdExtCarousel .carouselWrapper

{position: absolute;width: 100%;height: 78px;top: 10px;left: 0;overflow: hidden;}

.jdGallery .carousel .carouselInner, .jdExtCarousel .carouselInner

{position: relative;}

.jdGallery .carousel .carouselInner .thumbnail, .jdExtCarousel .carouselInner .thumbnail

{cursor: pointer;background: #000;background-position: center center;float: left;border: solid 1px #fff;}

.jdGallery .wall .thumbnail, .jdExtCarousel .wall .thumbnail

{margin-bottom: 10px;}

.jdGallery .carousel .label, .jdExtCarousel .label

{font-size: 13px;position: absolute;bottom: 5px;left: 10px;padding: 0;margin: 0;}

.jdGallery .carousel .wallButton, .jdExtCarousel .wallButton

{font-size: 10px;position: absolute;bottom: 5px;right: 10px;padding: 1px 2px;margin: 0;background: #222;border: 1px solid #888;cursor: pointer;}

.jdGallery .carousel .label .number, .jdExtCarousel .label .number

{color: #b5b5b5;}

.jdGallery a

{font-size: 100%;text-decoration: none;color: inherit;}

.jdGallery a.right, .jdGallery a.left

{position: absolute;height: 99%;width: 25%;cursor: pointer;z-index:10;filter:alpha(opacity=20);-moz-opacity:0.2;-khtml-opacity: 0.2;opacity: 0.2;}

* html .jdGallery a.right, * html .jdGallery a.left


.jdGallery a.right:hover, .jdGallery a.left:hover

{filter:alpha(opacity=80);-moz-opacity:0.8;-khtml-opacity: 0.8;opacity: 0.8;}

.jdGallery a.left

{left: 0;top: 0;background: url('') no-repeat center left;}

* html .jdGallery a.left { background: url('') no-repeat center left; }

.jdGallery a.right

{right: 0;top: 0;background: url('') no-repeat center right;}

* html .jdGallery a.right { background: url('') no-repeat center right; }


{left: 0;top: 0;width: 100%;height: 100%;}


{position: absolute;top: 0;left: 25%;height: 99%;width: 50%;cursor: pointer;z-index: 10;background: none;-moz-opacity:0.8;-khtml-opacity: 0.8;opacity: 0.8;}

.withArrows { background: url('') no-repeat center center; }

* html .withArrows { background: url('') no-repeat center center;filter:alpha(opacity=80); }

/* Gallery Sets */

.jdGallery a.gallerySelectorBtn

{z-index: 15;position: absolute;top: 0;left: 30px;height: 20px;text-align: center;padding: 0 10px;font-size: 13px;background: #333;color: #fff;cursor: pointer;opacity: .4;-moz-opacity: .4;-khtml-opacity: 0.4;filter:alpha(opacity=40);}

.jdGallery .gallerySelector

{z-index: 20;width: 100%;height: 100%;position: absolute;top: 0;left: 0;background: #000;}

.jdGallery .gallerySelector h2

{margin: 0;padding: 10px 20px 10px 20px;font-size: 20px;line-height: 30px;color: #fff;}

.jdGallery .gallerySelector .gallerySelectorWrapper

{overflow: hidden;}

.jdGallery .gallerySelector .gallerySelectorInner div.galleryButton

{margin-left: 10px;margin-top: 10px;border: 1px solid #888;padding: 5px;height: 40px;color: #fff;cursor: pointer;float: left;}

.jdGallery .gallerySelector .gallerySelectorInner div.hover

{background: #333;}

.jdGallery .gallerySelector .gallerySelectorInner div.galleryButton div.preview

{background: #000;background-position: center center;float: left;border: none;width: 40px;height: 40px;margin-right: 5px;}

.jdGallery .gallerySelector .gallerySelectorInner div.galleryButton h3

{ margin: 0;padding: 0;font-size: 12px;font-weight: normal;}

.jdGallery .gallerySelector .gallerySelectorInner div.galleryButton

{ margin: 0;padding: 0;font-size: 12px;font-weight: normal;color: #aaa;}

6. Copy file #2 and then paste right above
8. Click Page Element Tab.
9. Click Add A Gadget. Click (+) or HTML/JavaScript.
10. Copy file #1 (see the script above), Then paste into the available column).
11. Click Save button.
12. Drop that new element into the above of posting element.
13. Click SAVE
14. Finish and see the result.

A little additional, in CSS code above (5th steps) in the beginning code, you will see the code below;
#myGallery, #myGallerySet, #flickrGallery
{width: 550px;height: 200px;z-index: 5;}

You can set the height or height by changing its height and width as you want.
Happy enjoying the new face of your blog.

Artikel Terkait

By Djenggot with 0 comments


Leave a Reply