Showing posts with label toutorial-blog. Show all posts
CSS × tips trick blog × toutorial-blog
use the tooltip very beautiful when installed in your web because the tooltip is useful when a person directs to one of the elements that exist in our web. whether it is a picture element or a link. tooltip usually contains information for certain parts of our element.
Here's how to use facebook tooltip to our web
The HTML
The tooltip structure consists of five elements:
<div class="uiContextualDialogPositioner uiContextualDialogLeft" style="top: 20px; left: 600px;">
<div class="uiOverlay uiContextualDialog uiOverlayArrowRight" style="width: 347px; top: 0px; ">
<div class="uiOverlayContent">
<div class="uiOverlayContentHolder">
{content here}{content here}{content here}{content here}{content here}{content here}{content here}{content here}{content here}
</div>
</div>
<div class="uiOverlayArrow" style="top: 15px; margin-top: 0px;"></div>
</div>
</div>
The root element dictates the position of the tooltip (which is most likely injected to the body). The sole child element controls the width of the tooltip. That element contains two elements: the content container and the and the arrow node (which I've changed from an I element to a DIV). The last, innermost DIV element will hold the content and provide padding.
The CSS
The CSS to create the tooltip layout is actually very minimal:
body {
font-size: 11px;
font-family: "lucida grande",tahoma,verdana,arial,sans-serif;
color: #333;
line-height: 1.28;
text-align: left;
direction: ltr;
}
.uiContextualDialogPositioner, .uiContextualDialogPositioner .uiContextualDialog {
position: absolute;
z-index: 200;
}
.uiContextualDialogLeft .uiContextualDialog {
right: 0;
}
.uiOverlayArrowRight {
padding-right: 10px;
}
.uiOverlay {
position: relative;
z-index: 200;
}
.uiContextualDialog, .uiContextualDialog:focus {
outline: 0 solid transparent;
}
.uiOverlayContent {
background: white;
border: 1px solid #8C8C8C;
border: 1px solid rgba(0, 0, 0, .45);
border-bottom: 1px solid #666;
-moz-box-shadow: 0 3px 8px rgba(0, 0, 0, .3);
-webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, .3);
box-shadow: 0 3px 8px rgba(0, 0, 0, .3);
position: relative;
}
.uiOverlayContentHolder {
padding: 10px;
}
.uiOverlayArrow {
position: absolute;
overflow: hidden;
}
.uiOverlayArrowRight .uiOverlayArrow {
background-image: url(sprite.png);
background-repeat: no-repeat;
background-position: -177px -309px;
height: 16px;
right: 2px;
width: 9px;
}
The content pane contains the majority of the CSS rules, include the box-shadow and border, both of which use rgba color for a more detailed effect. Showing and hiding of the tooltip may be done via CSS key-frames or JavaScript -- the choice would be up to the individual implementing the tooltip.
Why Show This?
Two reasons. The first is that I appreciate well-coded features like this. The second, more important reason, is that I'll be creating a JavaScript-powered version of this functionality which accounts for content size, position on page, stacking/z-index management, etc. Do I create as a jQuery and MooTools plugin? Do I create it as a standalone JavaScript project. Let me know your thoughts!
artikel By : http://davidwalsh.name/facebook-tooltip
tips trick blog × toutorial-blog
How to show only your blogger post title on your homepage
Do you like to show only your blogger post title on your home page?Then follow the steps below:Note : This tutorial was updated. Now it will work without giving XML error messages.
1.Login to your blogger dashboard--> layout- -> Edit HTML
2.Scroll down to where you see </head> tag .
3.Copy below code and paste it just before the </head> tag .
5.Go to Layout-->Page Elements.Click on "Edit" link of Blog Posts Section.
6.Enter the value for "Number of posts on main page:" as your choice and click on save.
comments × label × tips trick blog × toutorial-blog
How To Add Author Bio Box to Your Blogger Below Every Blogger Post

1.Login to your blogger dashboard--> Design- -> Edit HTML
2.Scroll down to where you see ]]></b:skin> tag .
3.Copy below code and paste it just After ]]></b:skin> tag
4.Now Scroll down to where you see <data:post.body/> tag.
5.Copy below code and paste it just After <data:post.body/> tag.
Note : Replace NAME OF AUTHOR , IMAGE URL OF AUTHOR , AUTHOR'URL Here ,NAME OF AUTHOR , NOTES ABOUT Your Self with your content..
6. Now Save Template And You are done..

1.Login to your blogger dashboard--> Design- -> Edit HTML
2.Scroll down to where you see ]]></b:skin> tag .
3.Copy below code and paste it just After ]]></b:skin> tag
<style type='text/css'>
#Bttoolz Author Box {
background: none repeat scroll 0 0 #EDEDED;
padding: 10px;
margin-top:10px;}
.authoravatar {float:left;margin-right:10px;padding:4px;background:#ccc;border:1px solid #222222;}
.postauthor {float:left;}
</style>
4.Now Scroll down to where you see <data:post.body/> tag.
5.Copy below code and paste it just After <data:post.body/> tag.
<div style='clear:both'/>
<div id='Bttoolz Author Box'>
<!-- Author Bio-->
<b:if cond='data:blog.pageType == "item"'>
<b:if cond='data:post.author == "NAME OF AUTHOR"'>
<img class='authoravatar' height='39' src='IMAGE URL OF AUTHOR' width='39'/>
<div class='postauthor'>
<h3><a href='AUTHOR'URL Here'>NAME OF AUTHOR </a></h3>
<p> NOTES ABOUT Your Self </p>
</div>
<div style='clear:both'/>
</b:if>
Note : Replace NAME OF AUTHOR , IMAGE URL OF AUTHOR , AUTHOR'URL Here ,NAME OF AUTHOR , NOTES ABOUT Your Self with your content..
6. Now Save Template And You are done..
label × tab-menu × tips trick blog × toutorial-blog
How To Add Table of Contents to Blogger
1.Login to your blogger dashboard--> desing and go to Edit Posts-->> Edit Pages
2.Now Create new page
3 Copy below code and paste it your page.
<script src="http://sitemaphendrytha.googlecode.com/files/byblogtoquick.blogspot.com.txt"> </script> <script src="http://blogtoquick.blogspot.com/feeds/posts/default?max-results=9999&alt=json-in-script&callback=loadtoc"> </script>
Note: Replace http://blogtoquick.blogspot.com with your blog site Url.
DEMO
4. Now Save your page you are done.
tips trick blog × toutorial-blog
1.Login to your blogger dashboard and go to Desing --& Page Elements.
2.Click on 'Add a Gadget' on the sidebar.
3.Select 'HTML/Javascript' and add the one of code given below and click save.
Note: Change Back to Top Button name as you like
4.Now You are done.
INFO Senantiasa belajar
2.Click on 'Add a Gadget' on the sidebar.
3.Select 'HTML/Javascript' and add the one of code given below and click save.
<a alt="Back to Top" style="display:scroll;position:fixed;bottom:25px;right:5px;" href="#" title="Back to Top"><img onmouseover="this.src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6DRSFPUjZP-Lfp5EdEUOHRZfQeIzx7IHtpWjH8ygV1XaTAUbBEKS6O6ngxjCeufI6-c8VzRTEjfE5-T4Bvvt7Nljw_IRHriQjCvmKB2Kwj5q9zS2PJJ-eZwdlXRtXN_uJv_iAL_dzX-A/'" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQKinKjR0XIqR_gmFDNCgutGhR5xtsYr7S9Wqp_jpAIMR_0P00Bq6P8Y3vWAIswOokCiZjfJPOkT1-hEDJaoCfTVwmmPV3Bn2n_qBQBzKpfyMn-mzxQD36OdXWBM-NN56HLT3n6XXMuf4/s1600/B2T_Small.jpg" onmouseout="this.src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGDIYgqqoNI4CEIOr12xb2jGwpY8J1oUHuv4XT0bt_WvE1-txcQpeI-3XpvnmSAx1heMHInLLmk0KFcis2ium30vsM8zJ4uXsO7KJ6R20fGXV0mHFco3i7aSmBuW4LCzdBrmlQTyKIkbM/'" /></a><!--BACK2TOP-IMAGE-STOPS-->
Note: Change Back to Top Button name as you like
4.Now You are done.
INFO Senantiasa belajar
tips trick blog × toutorial-blog
How To Show Only The Title Of Posts For Searches, Archives And Labels
If you use this hack, when users will click on Archives, search or labels, they will see only the titles of the post, this will decrease the loading time of your template.Follow below steps to do it.
1.Login to your blogger dashboard--> layout- -> Edit HTML
2.Click on "Expand Widget Templates"
3.Scroll down to where you see this:
<b:include data='post' name='post'/>
4.Now Replace above line with below code.
<!--ARCHIVE-TITLES-STARTS--><b:if cond='data:blog.homepageUrl !=data:blog.url'><b:if cond='data:blog.pageType != "item"'><a expr:href='data:post.url'><li></li><data:post.title/></a><br/><br/><b:else/><b:include data='post' name='post'/></b:if><b:else/><b:include data='post' name='post'/></b:if><!--ARCHIVE-TITLES-STOPS-->
5.Now save your template and you are done.
File Under : change template, html, labels
Related posts:
1. How To Hide/Show (Expand/Collapse:+/-) Labels of blogger blog
2. How to Add Adsense ads inside Blogger blog posts or between blog posts
3. How To Add Technorati Tags using Beta Labels
4. HOW TO CHANGE THE NAME "LABELS" BELOW YOUR POST
5. How To Make a Table Of Content
sidebar × tips trick blog × toutorial-blog
- how to make the sidebar 2 columns under the main sidebarnotice how carefully and thoroughly ok let me no errors occurLogin to bloggergo to Layout => Edit HTMLafter that find this code ]]></ b: skin> and add the code below right above it
.lsidebar {
line-height: 1.5em;
}
.lsidebar .widget {
background: #FFFFFF; /* -- bisa sobat ganti dengan kode warna yang lain -- */
float:left;
width: 125px; /* -- bisa sobat ganti membesarkan atau mengecilkannya (Panjang) -- */
margin: 0 0 10px 0;
}
#lsidebar h2 {
height: 20px;
text-align: center;
padding:4px 0px 0px 0px;
font: verdana;
background:url('http://oketrik.googlecode.com/files/1.jpg'); /* -- bisa sobat ganti dengan kode warna yang lainnya (warna background Judul) -- */
font-size:12px;
line-height: 1.4em;
text-transform:uppercase;
letter-spacing:.2em;
color:#fff; /* -- bisa sobat ganti dengan kode warna yang lainnya (warna teks Judul) -- */
-moz-border-radius: 10px;
}
.rsidebar {
line-height: 1.5em;
}
.rsidebar .widget {
background: #FFFFFF; /* -- bisa sobat ganti dengan kode warna yang lain -- */
float:right;
width: 245px; /* -- bisa sobat ganti membesarkan atau mengecilkannya (Panjang) -- */
margin: 0 0 10px 0;
}
#rsidebar h2 {
height: 20px;
text-align: center;
padding:4px 0px 0px 0px;
font: verdana;
background:url('http://oketrik.googlecode.com/files/1.jpg'); /* -- bisa sobat ganti dengan kode warna yang lainnya (warna background Judul) -- */
font-size:12px;
line-height: 1.4em;
text-transform:uppercase;
letter-spacing:.2em;
color:#fff; /* -- bisa sobat ganti dengan kode warna yang lainnya (warna teks Judul) -- */
-moz-border-radius: 10px;
}
- after that look for code <div id='sidebar-wrapper'> and put the code below into it
<div id='lsidebar-wrapper'>
<b:section class='lsidebar' id='lsidebar' preferred='yes'>
</b:section>
</div>
<div id='rsidebar-wrapper'>
<b:section class='rsidebar' id='rsidebar' preferred='yes'>
</b:section>
</div>
me give you an example, code such clean Sidebar
<div id='sidebar-wrapper'>
<b:section class='lsidebar' id='lsidebar' preferred='yes'>
</b:section>
</div>
the results
<div id='sidebar-wrapper'>
<b:section class='lsidebar' id='lsidebar' preferred='yes'>
<b:widget id='HTML4' locked='false' title='' type='HTML'/>
</b:section>
</div>
Now the intention of putting into it is put the before code </ div> closing the sidebar-wrapper - SAVE and see the results
- completed
tips trick blog × toutorial-blog × widget
"How to Create a Menu DTree"
Dtree menu is very useful if you have a post that much, because by using the menu Dtree it will be able to save space / space in your blog. Well if you are interested follow these steps?
1. Login to Blogger, then select "Layout -> Edit HTML"
2. Place the following code above the code
<link rel="StyleSheet" href="http://www.geocities.com/uddin_81/dtree.css" type="text/css" />
<script type="text/javascript" src="http://www.geocities.com/uddin_81/dtree.js"> </ script>
3. Then click the button "Save
4. After that copy the code below and post it on your sidebar,____> "Page Elements" then click "Add a Gadget -> HTML / Javascript". This is the script that you have to copy in your sidebar.
<div class="dtree">
<script type="text/javascript">
<! -
d = new dTree ('d');
d.add (0, -1, 'My example tree');
d.add (1.0, 'Node 1', 'link.html');
d.add (2.1, 'Node 1.1', 'link.html');
d.add (3.2, 'Node 1.1.1', 'link.html');
d.add (4.3, 'Node 1.1.1.1', 'link.html');
d.add (5.0, 'Node 2', 'link.html');
d.add (6.5, 'Node 2.1', 'link.html');
d.add (7.5, 'Node 2.2', 'link.html');
d.add (8.0, 'Node 3', 'link.html');
d.add (9.0, 'Node 5', 'link.html');
document.write (d);
//-->
</ script>
</ div>
the following information:
- Replace the words "link.html" with a link you (your post titles).
- The first number must be unique there should not be the same (d.add (1.0, 'Node 1', 'link.html');
- The second figure is a branch of the first number (note the numbers that have the same color).
- You can change the icon, the icon with your own icon, an example script would be like this:
d.add (10.0, 'Profile', '','','',' link.html http://.................gif')
Replace the text "http://.......................gif" with the address of your picture.
thanks
always learn "how to create menu dtree"
tips trick blog × toutorial-blog × widget
How to create Dropdown Menu
DEMO
With the dropdown menu we can save space / room in our blog, because with such small sizes can save a lot of links and text. It can be filled with archives, blogroll etc..
How to make:
Login your blogger,"Page Element" Add page elements --> HTML/JavaScript.
Then enter the following script
<select onChange="document.location.href=this.options[this.selectedIndex].value;"> <option value="0" selected>Arsip Blog</option> <option value="Links 1">Text 1</option> <option value="Links 2">Text 2</option> </select>
Text red is the link.Links 1 Link2replace it with you.
The blue text is the text that is displayed. It should also be miles instead.
Examples like this:
<select onChange="document.location.href=this.options[this.selectedIndex].value;"> <option value="0" selected>Arsip Blog</option> <option value="http://hendrytha.blogspot.com/2011/10/agar-blog-cepat-di-index-google.html"> Agar Blog cepat di index Google</option> <option value="http://hendrytha.blogspot.com/p/seo-tools.html"> SEO TOLS</option> </select>then the result will be like this:
to add another menu, add code like this:
<option value="Links 2"> Text 2 </ option>
before the code </ select>
The links in the dropdown menu above if the click will open the link on the same page. It's suitable for the Archives and the links are still related to the blog page.
There is one more type which, when clicked the link it will open a new window without closing your blog. Which is suitable untu Friend Blogroll or links.
How to make it as above but replace the following code
<select onChange="document.location.href=this.options[this.selectedIndex].value;">
replace with this code:
<select onchange="javascript:window.open(this.options[this.selectedIndex].value);">
the result:
text area × toutorial-blog
'how to make Back To Top Scroll' or automatic key to the above, if the click as the button on the right side of this blog
The first way into the menu edit page design and add gadget and select HTML / JAVA SCRIPT
Enter the following code into it, and click Save
2 You can use the second way
'Back To Top Scroll' into two using jQuery
Enter the following code above the code </ head>, and do not forget to Save Template
tips trick blog × toutorial-blog
how to make writing runs in the footer
Well we just practice it, first of all incoming bloggers.
Edit HTML.
Insert the following CSS code right above the code: ]]></ b: skin>
<STYLE>
/ * Footer dynamically * /
# Footer2 {
align: center;
position: fixed;
border-top: 1px solid # fff;
border-bottom: 1px solid # fff;
background-color: # 0083a4;
width: 100%;
height: 16px;
text-align: left;
color: # fff;
font-family: Verdana;
font-weight: bold;
font-size: 11px;
z-index: 10000;
bottom: 0;
}
After that copy the code below right above the code: </ body>
<! - Dynamic footer ->
<DIV Id='footer2'>
<MARQUEE Onmouseout='this.start()' onmouseover='this.stop()' scrollamount='3'> samples of running </ marquee>
</ DIV>
</ DIV>
Well we just practice it, first of all incoming bloggers.
Edit HTML.
Insert the following CSS code right above the code: ]]></ b: skin>
<STYLE>
/ * Footer dynamically * /
# Footer2 {
align: center;
position: fixed;
border-top: 1px solid # fff;
border-bottom: 1px solid # fff;
background-color: # 0083a4;
width: 100%;
height: 16px;
text-align: left;
color: # fff;
font-family: Verdana;
font-weight: bold;
font-size: 11px;
z-index: 10000;
bottom: 0;
}
After that copy the code below right above the code: </ body>
<! - Dynamic footer ->
<DIV Id='footer2'>
<MARQUEE Onmouseout='this.start()' onmouseover='this.stop()' scrollamount='3'> samples of running </ marquee>
</ DIV>
</ DIV>
horizontal navigation menu × tips trick blog × toutorial-blog
>>>>>> first
1.Login to your blogger dashboard and go to Page Elements --&-- desing.
2.Click "Add a Gadget 'in the sidebar.
3.Select 'HTML / Javascript' and add one of the code given below
Stay Now Save
See the result you want to adjust the position of the In
attention
Replace Signs: # with your link
and Link 1 with your name Each menu
<a href="#"> <span> Link 1 </ span> </ a> </ li>
<a href="#"> <span> Link 2 </ span> </ a> </ li>
<a href="#"> <span> Link 3 </ span> </ a> </ li>
<a href="#"> <span> Link 4 </ span> </ a> </ li>
<a href="#"> <span> Link 5 </ span> </ a> </ li>
<a href="#"> <span> Link 6 </ span> </ a> </ li>
<a href="#"> <span> Link 7 </ span> </ a> </ li>
tips trick blog × toutorial-blog × widget
this time I will post about how to make a link dancing
example as shown in the picture
1.Login to your blogger Dashboard -> Desing -> Edit HTML
2.Scroll where you see the </ head> tag. (use Ctr f to search for and write code that will be in the search)
3.Copy code below and paste it right before </ head> tag.
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js' type='text/javascript'/>
<script type='text/javascript'>
//<![CDATA[
$(document).ready(function()
{
slide("#sliding-navigation", 25, 15, 150, .8);
});
function slide(navigation_id, pad_out, pad_in, time, multiplier)
{
// creates the target paths
var list_elements = navigation_id + " li.sliding-element";
var link_elements = list_elements + " a";
// initiates the timer used for the sliding animation
var timer = 0;
// creates the slide animation for all list elements
$(list_elements).each(function(i)
{
// margin left = - ([width of element] + [total vertical padding of element])
$(this).css("margin-left","-180px");
// updates timer
timer = (timer*multiplier + time);
$(this).animate({ marginLeft: "0" }, timer);
$(this).animate({ marginLeft: "15px" }, timer);
$(this).animate({ marginLeft: "0" }, timer);
});
// creates the hover-slide effect for all link elements
$(link_elements).each(function(i)
{
$(this).hover(
function()
{
$(this).animate({ paddingLeft: pad_out }, 150);
},
function()
{
$(this).animate({ paddingLeft: pad_in }, 150);
});
});
}
//]]>
</script>
4. Now save your template
The next stage
5. Go to Design -> Elements and click the "Add gadgets".
6. Select the "html / java script" and add the code given below and click save.
ul id="sliding-navigation"> <li class="sliding-element"><a href="#">Link 1</a></li> <li class="sliding-element"><a href="#">Link 2</a></li> <li class="sliding-element"><a href="#">Link 3</a></li> <li class="sliding-element"><a href="#">Link 4</a></li> <li class="sliding-element"><a href="#">Link 5</a></li> <li class="sliding-element"><a href="#">Link 6</a></li> <li class="sliding-element"><a href="#">Link 7</a></li> <li class="sliding-element"><a href="#">Link 8</a></li> <li class="sliding-element"><a href="#">Link 9</a></li> <li class="sliding-element"><a href="#">Link 10</a></li> </ul>
Note: Replace # with the links you want and change the link 1, link 2 .... with the name of your link
and see the results
toutorial-blog
1. Blogroll Textarea Box Model
consider how to make it:
Attach the following code into your element (Page Elements --> Add a Gadget --> HTML /Javascript)
description:
- Code width: 200px; and height: 200px; is a measure of the width and length of the box, you can change it and menyesuaikanya with reply size you like.
- Replace the words "# link1, # Link2, link3 dst #" with a list of links you, oh yes it can also be filled with a banner link.
- If you pingin-link list of links lined up, then remove the code <br />
Attach the following code into your element (Page Elements --> Add a Gadget --> HTML /Javascript)

Description:
- Code "up" it shows the direction of movement, you can replace it with down, left, right
- If you replace it with a horizontal movement (left ato right) then remove the code <br />.
- The number "100" indicates the height of box your blogroll. The more the number the higher the size of the blogroll.
consider how to make it:
Attach the following code into your element (Page Elements --> Add a Gadget --> HTML /Javascript)
<div style="border: 1px solid rgb(153, 153, 153);
overflow: auto;
width: 200px;
height: 200px;
text-align: center; ">
#link1 <br />
#link2 <br />
#link3 <br />
#link...
</div>
description:
- Code width: 200px; and height: 200px; is a measure of the width and length of the box, you can change it and menyesuaikanya with reply size you like.
- Replace the words "# link1, # Link2, link3 dst #" with a list of links you, oh yes it can also be filled with a banner link.
- If you pingin-link list of links lined up, then remove the code <br />
2. Blogroll Box Model Marquee
This box is also able to accommodate many links in narrow places. But the blog roll box is different from the reply box above, because this box does not have a rollbar (which is usually drawn up on the right trus down it). These links or contents in this box will move / walk, can be vertically ato horizontal. Well how to make:Attach the following code into your element (Page Elements --> Add a Gadget --> HTML /Javascript)


<MARQUEE align="center" direction="up" height="100" scrollamount= "2" onmouseover='this.stop()' onmouseout='this.start()' width="95%" >
#link1 <br />
#link2 <br />
#link3 <br />
#link...<br />
</marquee>
Description:
- Code "up" it shows the direction of movement, you can replace it with down, left, right
- If you replace it with a horizontal movement (left ato right) then remove the code <br />.
- The number "100" indicates the height of box your blogroll. The more the number the higher the size of the blogroll.
tab-menu × toutorial-blog
How to make Tab View Pake clear icon tabs view of this very useful in the web world due to not wear a lot of space or space saving
Among the various tabber tabs one of which we will study how to make it now, is tabber tab with the menu structure using the icons.
Okay directly to the tutorial making tabber tab or the tab view menu with JQuery:
Step One:
1. After the sig in on your blogger account>>> on the dashboard>>> Click Layout>>> Edit HTML

2. Add the following jQuery script or code before the tag </ head>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js' type='text/javascript'/>
note: For the friend who never added or already exist in your template JQuery script ignore it then the second step,
3. Then add the following script under the same JQuery script above:
<script type='text/javascript'>
$(document).ready(function() {
//Get all the LI from the #tabMenu UL
$('#tabMenu > li').click(function(){
//perform the actions when it's not selected
if (!$(this).hasClass('selected')) {
//remove the selected class from all LI
$('#tabMenu > li').removeClass('selected');
//Reassign the LI
$(this).addClass('selected');
//Hide all the DIV in .boxBody
$('.boxBody div').slideUp('1500');
//Look for the right DIV in boxBody according to the Navigation UL index, therefore, the arrangement is very important.
$('.boxBody div:eq(' + $('#tabMenu > li').index(this) + ')').slideDown('1500');
}
}).mouseover(function() {
//Add and remove class, Personally I dont think this is the right way to do it, anyone please suggest
$(this).addClass('mouseover');
$(this).removeClass('mouseout');
}).mouseout(function() {
//Add and remove class
$(this).addClass('mouseout');
$(this).removeClass('mouseover');
});
//Mouseover with animate Effect for Category menu list
$('.boxBody #category li').click(function(){
//Get the Anchor tag href under the LI
window.location = $(this).children().attr('href');
}).mouseover(function() {
//Change background color and animate the padding
$(this).css('backgroundColor','#888');
$(this).children().animate({paddingLeft:"20px"}, {queue:false, duration:300});
}).mouseout(function() {
//Change background color and animate the padding
$(this).css('backgroundColor','');
$(this).children().animate({paddingLeft:"0"}, {queue:false, duration:300});
});
//Mouseover effect for Posts, Comments, Famous Posts and Random Posts menu list.
$('#.boxBody li').click(function(){
window.location = $(this).children().attr('href');
}).mouseover(function() {
$(this).css('backgroundColor','#888');
}).mouseout(function() {
$(this).css('backgroundColor','');
});
});
</script>
$(document).ready(function() {
//Get all the LI from the #tabMenu UL
$('#tabMenu > li').click(function(){
//perform the actions when it's not selected
if (!$(this).hasClass('selected')) {
//remove the selected class from all LI
$('#tabMenu > li').removeClass('selected');
//Reassign the LI
$(this).addClass('selected');
//Hide all the DIV in .boxBody
$('.boxBody div').slideUp('1500');
//Look for the right DIV in boxBody according to the Navigation UL index, therefore, the arrangement is very important.
$('.boxBody div:eq(' + $('#tabMenu > li').index(this) + ')').slideDown('1500');
}
}).mouseover(function() {
//Add and remove class, Personally I dont think this is the right way to do it, anyone please suggest
$(this).addClass('mouseover');
$(this).removeClass('mouseout');
}).mouseout(function() {
//Add and remove class
$(this).addClass('mouseout');
$(this).removeClass('mouseover');
});
//Mouseover with animate Effect for Category menu list
$('.boxBody #category li').click(function(){
//Get the Anchor tag href under the LI
window.location = $(this).children().attr('href');
}).mouseover(function() {
//Change background color and animate the padding
$(this).css('backgroundColor','#888');
$(this).children().animate({paddingLeft:"20px"}, {queue:false, duration:300});
}).mouseout(function() {
//Change background color and animate the padding
$(this).css('backgroundColor','');
$(this).children().animate({paddingLeft:"0"}, {queue:false, duration:300});
});
//Mouseover effect for Posts, Comments, Famous Posts and Random Posts menu list.
$('#.boxBody li').click(function(){
window.location = $(this).children().attr('href');
}).mouseover(function() {
$(this).css('backgroundColor','#888');
}).mouseout(function() {
$(this).css('backgroundColor','');
});
});
</script>
4. Next add the following CSS code on the tag or code ]]></ b: skin>
#tabMenu {margin:0; padding:0 0 0 15px;list-style:none;}
#tabMenu li {float:left;height:32px;width:39px;cursor:pointer;cursor:hand}
/* this is the button images http://amatullah83.blogspot.com*/
li.comments {background:url(http://sites.google.com/site/amatullah83/bg/tabComment.png) no-repeat 0 -32px;}
li.posts {background:url(http://sites.google.com/site/amatullah83/bg/tabstar.png) no-repeat 0 -32px;}
li.category {background:url(http://sites.google.com/site/amatullah83/bg/tabFolder.png) no-repeat 0 -32px;}
li.famous {background:url(http://sites.google.com/site/amatullah83/bg/tabHeart.png) no-repeat 0 -32px;}
li.random {background:url(http://sites.google.com/site/amatullah83/bg/tabRandom.png) no-repeat 0 -32px;}
li.mouseover {background-position:0 0;}
li.mouseout {background-position:0 -32px;}
li.selected {background-position:0 0;}
.box {width:227px}
.boxTop {background:url(http://sites.google.com/site/amatullah83/bg/boxTop.png)no-repeat;height:11px;clear:both}
.boxBody {background-color:#282828;}
.boxBottom {background:url(http://sites.google.com/site/amatullah83/bg/boxBottom.png) no-repeat;
height:11px;}
.boxBody div {display:none;}
.boxBody div.show {display:block;}
.boxBody #category a {display:block}
/* styling for the content*/
.boxBody div ul { margin:0 10px 0 25px;padding:0;width:190px;list-style-image:url(http://sites.google.com/site/amatullah83/bg/arrow.gif)}
.boxBody div li {border-bottom:1px dotted #8e8e8e; padding:4px 0;cursor:hand;cursor:pointer;font-size:10px; color:#DDDDDD;text-decoration: none;}
.boxBody div ul li.last {border-bottom:none}
.boxBody div li a{font-size:10px; color:#DDDDDD;text-decoration: none;}
.boxBody div li span { font-size:8px;color:#9F9F9F;}
/* IE Hacks */
*html .boxTop {margin-bottom:-2px;}
*html .boxBody div ul {margin-left:10px;padding-left:15px;}
#tabMenu li {float:left;height:32px;width:39px;cursor:pointer;cursor:hand}
/* this is the button images http://amatullah83.blogspot.com*/
li.comments {background:url(http://sites.google.com/site/amatullah83/bg/tabComment.png) no-repeat 0 -32px;}
li.posts {background:url(http://sites.google.com/site/amatullah83/bg/tabstar.png) no-repeat 0 -32px;}
li.category {background:url(http://sites.google.com/site/amatullah83/bg/tabFolder.png) no-repeat 0 -32px;}
li.famous {background:url(http://sites.google.com/site/amatullah83/bg/tabHeart.png) no-repeat 0 -32px;}
li.random {background:url(http://sites.google.com/site/amatullah83/bg/tabRandom.png) no-repeat 0 -32px;}
li.mouseover {background-position:0 0;}
li.mouseout {background-position:0 -32px;}
li.selected {background-position:0 0;}
.box {width:227px}
.boxTop {background:url(http://sites.google.com/site/amatullah83/bg/boxTop.png)no-repeat;height:11px;clear:both}
.boxBody {background-color:#282828;}
.boxBottom {background:url(http://sites.google.com/site/amatullah83/bg/boxBottom.png) no-repeat;
height:11px;}
.boxBody div {display:none;}
.boxBody div.show {display:block;}
.boxBody #category a {display:block}
/* styling for the content*/
.boxBody div ul { margin:0 10px 0 25px;padding:0;width:190px;list-style-image:url(http://sites.google.com/site/amatullah83/bg/arrow.gif)}
.boxBody div li {border-bottom:1px dotted #8e8e8e; padding:4px 0;cursor:hand;cursor:pointer;font-size:10px; color:#DDDDDD;text-decoration: none;}
.boxBody div ul li.last {border-bottom:none}
.boxBody div li a{font-size:10px; color:#DDDDDD;text-decoration: none;}
.boxBody div li span { font-size:8px;color:#9F9F9F;}
/* IE Hacks */
*html .boxTop {margin-bottom:-2px;}
*html .boxBody div ul {margin-left:10px;padding-left:15px;}
Another image icons that can be friend use:
For his body background, wrote his own search
5. Save Template
Step two:
Still on the menu layout>>> click on a page element>>> add gadget>>> Select the HTML / JavaScript
- In the content column contents with the following HTML code:
<div class="box">
<ul id="tabMenu">
<li class="posts selected"></li> <!-- default button-->
<li class="comments"></li>
<li class="category"></li>
<li class="famous"></li>
<li class="random"></li>
</ul>
<div class="boxTop"></div>
<div class="boxBody">
<!-- default page-->
<div id="posts" class="show">
<ul>
<li>Post 1</li>
<li>Post 2</li>
<li class="last">Post 3</li>
</ul>
</div>
<div id="comments">
<ul>
<li>Comment 1</li>
<li>Comment 2</li>
<li class="last">Comment 3</li>
</ul>
</div>
<div id="category">
<ul>
<li>Category 1</li>
<li>Category 2</li>
<li class="last">Category 3</li>
</ul>
</div>
<div id="famous">
<ul>
<li>Famous post 1</li>
<li>Famous post 2</li>
<li class="last">Famous post 3</li>
</ul>
</div>
<div id="random">
<ul>
<li>Random post 1</li>
<li>Random post 2</li>
<li class="last">Random post 3</li>
</ul>
</div>
</div>
<div class="boxBottom"></div>
</div>
<ul id="tabMenu">
<li class="posts selected"></li> <!-- default button-->
<li class="comments"></li>
<li class="category"></li>
<li class="famous"></li>
<li class="random"></li>
</ul>
<div class="boxTop"></div>
<div class="boxBody">
<!-- default page-->
<div id="posts" class="show">
<ul>
<li>Post 1</li>
<li>Post 2</li>
<li class="last">Post 3</li>
</ul>
</div>
<div id="comments">
<ul>
<li>Comment 1</li>
<li>Comment 2</li>
<li class="last">Comment 3</li>
</ul>
</div>
<div id="category">
<ul>
<li>Category 1</li>
<li>Category 2</li>
<li class="last">Category 3</li>
</ul>
</div>
<div id="famous">
<ul>
<li>Famous post 1</li>
<li>Famous post 2</li>
<li class="last">Famous post 3</li>
</ul>
</div>
<div id="random">
<ul>
<li>Random post 1</li>
<li>Random post 2</li>
<li class="last">Random post 3</li>
</ul>
</div>
</div>
<div class="boxBottom"></div>
</div>
- Please use the tabber tab menu with content that you want then save and save again. see the results











