Anyone familiar with Revolution Wordpress themes would know about the sliding featured content section in the home page . If not , have a look at the following screen shots .
Blog administrator can set random posts as featured content so that the user can access them easily. Apart from the user navigation , it makes the blog looking good with sliding graphics. This feature is still not available in many of the converted Revolution Blogger templates .
The sliding menu uses two JavaScripts which are available at jondesign.net . We have to incorporate these JavaScripts with necessary CSS codes to accomplish sliding featured content in Blogger .
1 .Copy the following JavaScript code just before </head> of your Blogger template . Gallery JavaScripts from jondesign.net were uploaded to my Google pages account and linked with the script .
<script src="http://coloriteman.googlepages.com/mootoolsv111.js" type="text/javascript"/> <script src="http://coloriteman.googlepages.com/jdgallery.js" type="text/javascript"/>
2. Now we have to add a CSS code for formatting the Sliding Gallery with featured content .
Copy the following code and insert it before </style>(in Blogger ]]></b:skin>) tag of your template .
Download the CSS code .
3 . Next we have to decide the number of posts to be appeared in the content Gallery , along with the design of sliding Gallery elements(photos) description and targeting links .
A maximum of 5 pics(450px *150px or reasonable) would be enough as otherwise leads to slower page loading .
After preparation , we have to build a similar Blogger widget as shown below . It depends on the number of sideshow elements , image URL, targeting URL , featured content header text etc . Here in this example , there's only two featured gallery elements used .
<div id="myGallery">
<div class="imageElement">
<h3>Give your featured content header here</h3>
<p>Give your small featured content description</p>
<a href="Targeting URL" class="open" title="Click here to read full story"></a>
<img src="Sideshow picture element uploaded URL" class="full"/>
<img src="Sideshow picture element uploaded URL" class="thumbnail"/>
</div>
<div class="imageElement">
<h3>Blogger Templates</h3>
<p>Get Blogger templates for free here!</p>
<a href="http://www.techknowl.com" class="open" title="Click here to read full story"></a>
<img src="http://lh5.ggpht.com/_pt7i0nbIOCY/SSoUU8cXExI/AAAAAAAAAcc/W37l9b00JNQ/blogger-templates_thumb%5B2%5D.png?imgmax=800" class="full"/>
<img src="http://lh5.ggpht.com/_pt7i0nbIOCY/SSoUU8cXExI/AAAAAAAAAcc/W37l9b00JNQ/blogger-templates_thumb%5B2%5D.png?imgmax=800" class="thumbnail"/>
</div>
<script type="text/javascript">
function startGallery() {
var myGallery = new gallery($('myGallery'), {
timed: true
});
}
window.addEvent('domready', startGallery);
</script>
</div>
</div>
The portion starting with <div class="imageElement"> and ending with </div> is a single slide element .You can extend the number sliding pictures by adding more <div class="imageElement">.... </div> elements . In the first case , I have given the positions where the images , links , descriptions etc. to be added . The second( <div class="imageElement"> case gives an example . That is , Blogger templates stands and the header and get Blogger templates as description . You have upload your own images and replace the sideshow picture elements . At the end there is JavaScript for gallery call timing, which doesn't need any change .You can download the above code here and make necessary changes adapting your template .
After successful creation of widget code, From the Layout >select add Gadget >Add HTML or JavaScript and paste the contents .Now drag the widget to the top of your blog post to make it visible over there .
A working example for a gallery with sliding featured content in Blogger given here
Any problem in Installation ?? Ask them in the comment section .








Add a Reply / Comment







21 comments:
#myGallery, #myGallerySet, #flickrGallery
{width: 550px;height: 200px;z-index: 5;}
This can be edited to change the size and width of the Gallery with sliding featured content in Blogger
error: The element type "script" must be terminated by the matching end-tag "".
what can i door what we are doing wrong ????
ur da man!
d tutorial was very descriptive n easy to implement...very cool the effect
even though i never try this yet, but i thing this is really cool..
http://aurasejahtera.blogspot.com
This tips doesn't work.
its work on my blog http://aurasejahtera.blogspot.com
I am getting error :
Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: The element type "script" must be terminated by the matching end-tag "".
Plz try again !! Now the code has been corrected
i have done the above two step without error but where to paste the 3rd step code i am newbie plz help where i have to paste code
plz mail me mittal.ankur1988@gmail.com
dude i tried to apply as you said.it appeared in my blog.problem is the link i give works but when i try to give a relevant picture link that i have uploaded in my blog just a blank screen appears.i tried for hours with no result!pls help!!whats wrong?pls let me know how to add an image to the post more detailed way.is there any specific image property that i need to focus on?
crash_analozy@yahoo.com
have a look.
http://sexyhotcelebspic.blogspot.com/
@D-Pirate : In the third step , you have to add a new HTML/JavaScript (From edit Layout) and paste the code given into it . Make relevant changes(images and target links) in the third code .If you want more images , you have to add more <div class="imageElement"> ..... </div> .
@webstar your problem is related wit your template .You have to reduce the size and width of the gallery and images , as per your templates widths .
Okey, this is my problem every time my blog load the Gallery get all odd until the script take effect, how can i fix this PLZ ^^
Yeah, when my page is loading, the featured content widget displays all the stuff until the page completely loads... How do I get rid of this?
http://www.restlesswarrior.net
iwant to say.... Thank You so much.....finally, i have featured content slider...:-). you're the best tutorial...
Thank you very very much! i have been looking for this and at the end i could find it here.
I was try to adding this script to my blog, and success. but, it's too slow loading when get started. can you give the tips for make this featured content more fast loading?
thank you
the same proble this take a lot loading and display every image before is load.
then both dissapears
:p
dude... still confuse.. I've done all the steps, but when my blog was opened, the images can only be seen for seconds then they just disappeared.
:) this is cool!... i'm planning a blog overhaul and i'll be adding this featured article thingee...
Post a Comment
Please don't be anonymous while submitting comments or asking help.