MENU TERUTORIAL ADVERTISING YOUR ADS
Showing posts with label Tips And Triks. Show all posts
Showing posts with label Tips And Triks. Show all posts

How To Install Automatic Readmore

To read more of this automatically, it takes a javascript code that can actually save yourself mate in the usual place pal store files online. But this time the script read more laid directly on a template without using the host to prevent errror while hosting that we use to store the script code it is down.
Create a new blogger, like me, I recommend using any automatic read more read more than usual. Because of course my friend would not bother dividing the two posts mate with the code manually., which I previously did was a bit complicated at the time of posting artkel or even writing this ... when I use the auto-... read more

Let me quickly go directly to his topic

The following steps - read more step in making automatically:
  1. Please login to blogger first
  2. Click Layout.
  3. Then click Edit HTML.
  4. Put the following code right above the code </head>






<script type='text/javascript'> var thumbnail_mode = &quot;no-float&quot; ; summary_noimg = 450; summary_img = 360; img_thumb_height = 120; img_thumb_width = 150; </script>

    <script type='text/javascript'>
    //<![CDATA[
    /******************************************
    Auto-readmore link script, version 2.0 (for blogspot)

    (C)2008 by Anhvo

    visit http://en.vietwebguide.com to get more cool hacks
    ********************************************/
    function removeHtmlTag(strx,chop){
    if(strx.indexOf("<")!=-1)
    {
    var s = strx.split("<");
    for(var i=0;i<s.length;i++){
    if(s[i].indexOf(">")!=-1){
    s[i] = s[i].substring(s[i].indexOf(">")+1,s[i].length);
    }
    }
    strx = s.join("");
    }
    chop = (chop < strx.length-1) ? chop : strx.length-2;
    while(strx.charAt(chop-1)!=' ' && strx.indexOf(' ',chop)!=-1) chop++;
    strx = strx.substring(0,chop-1);
    return strx+'...';
    }

    function createSummaryAndThumb(pID){
    var div = document.getElementById(pID);
    var imgtag = "";
    var img = div.getElementsByTagName("img");
    var summ = summary_noimg;
    if(img.length>=1) {
    imgtag = '<span style="float:left; padding:0px 10px 5px 0px;"><img src="'+img[0].src+'" width="'+img_thumb_width+'px" height="'+img_thumb_height+'px"/></span>';
    summ = summary_img;
    }

    var summary = imgtag + '<div>' + removeHtmlTag(div.innerHTML,summ) + '</div>';
    div.innerHTML = summary;
    }
    //]]>
    </script>

Attentiont !!!!!!!!!!!
     5.  For read more've used older versions (manual), should return the first mate code as before. Delete the code that I marked in blue below, adjust to your template, because each template is different .











<div class='post-header-line-1'/>
<div class='post-body'>
<b:if cond='data:blog.pageType == "item"'>
<style>.fullpost{display:inline;}</style>
<p><data:post.body/></p>
<b:else/>
<style>.fullpost{display:none;}</style>
<p><data:post.body/></p>
<a expr:href='data:post.url'>Readmore</a>
</b:if>
<div style='clear: both;'/>       



So now there is only one  <data:post.body/>

     6. Then delete the code:






<data:post.body/> atau <p><data:post.body/></p>

7.  Replace that code with the following code:






<b:if cond='data:blog.pageType != "item"'>
<div expr:id='"summary" + data:post.id'><data:post.body/></div>
<script type='text/javascript'>createSummaryAndThumb("summary<data:post.id/>");</script>
<span class='rmlink' style='float:left'><a expr:href='data:post.url'>Read More � <data:post.title/></a></span>
</b:if>
<b:if cond='data:blog.pageType == &quot;item&quot;'><data:post.body/></b:if>


    8. Then Save Template.

Description:

     * summary_noimg = 450 -> to higher posts without pictures.
     * summary_img = 360 -> for the high post with pictures.
     * img_thumb_height = 120 -> image height.
     * img_thumb_width = 150 -> width of image.
     * Read More ... -> could replace it with a writing buddy Read More / Read more / or what my friend wanted
Photobucket Photobucket
READ MORE>>>>>

How to make a 3 column above or below the post


Widget This is actually just added it because the default templete actually been good, maybe just to optimize it
For just knowledge, I will try to explain how to make it:

1. Please login to blogger.
2. Go to Layout.
3. Select the Edit tab HML.
4. Do not click on Expand Widget Templates, because it would bother my friend.
5. Put the following css code above the code ]]></ b: skin> 
  • /* –- Top --*/
    #top {
    background:#fff;
    margin-top:10px auto;
    width:960px;
    overflow:hidden;
    font-size:12px;
    padding:10px;
    }

    #top h2 {
    background:#000 url(http://lh5.ggpht.com/_7Y9pl24WpQY/Ss37F0ZA9kI/AAAAAAAAB2k/c_ySi8QZg20/header_thumb%5B2%5D.jpg) repeat-x;
    font-size:14pt;
    font-weight:400;
    text-align:center;
    font-style:normal;
    line-height:1.3em;
    color:#fff;
    padding:5px;
    margin-top:-10px;
    margin-left:-10px;
    margin-right:-10px;
    }

    #top ul {
    color:#333;
    margin:0;
    padding:0;
    }

    #top ul li {
    background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNO-xme2C1Lf1KBgGi0q8b5w3Jz2iALhrral7mceTCyVlac86IPcV5s54Gre1IiLDKb0g0Ap48nUJaaSDmmbcjIbWcczDhmb8IO1DcAmvFvMvWFrZ0WAF3dr8Gcew2FtCgTTYaLujMhxeH/s320/b3.gif) no-repeat;
    list-style-type:none;
    border-bottom:1px dashed #CCC;
    margin:0 0 10px;
    padding:0 0 5px 20px;
    }

    #top ul li a:hover {
    margin:0px 0px 5px;
    padding:0px;
    }

    #topcenter {
    width:300px;
    float:left;
    margin-left:10px;
    background:#fff;
    padding:10px
    }

    #topleft {
    width:280px;
    float:left;
    margin-left:10px;
    background:#fff;
    padding:10px;
    }

    #topright {
    width:280px;
    float:right;
    margin-left:10px;
    background:#fff;
    padding:10px;
    }
6. Find similar code like this, usually located under the     </ head>
  • <div id='header-wrapper'>
    <b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
    <b:widget id='Header1' locked='true' title='JUDUL BLOG SOBAT (Header)' type='Header'/>
    </b:section>
    </div>

7. Then place the following code right after the code above:

  • <div id='top'>
    <b:section class='top' id='topleft' preferred='yes' showaddelement='yes'>
    </b:section>
    <b:section class='topcenter' id='topcenter' preferred='yes' showaddelement='yes'>
    </b:section>
    <b:section class='topright' id='topright' preferred='yes' showaddelement='yes'>
    </b:section>
    </div>
8. Save Template
Good Luck


Photobucket Photobucket
READ MORE>>>>>

How to Install Live Traffic Feed

Live Traffic Feed is a free Traffic function to know the history of your blog visitors
Lie traffic feeds for consideration by visitors from anywhere who comes to our blog.

Immediately, I set it this way

1. Visit the link: http://feedjit.com
2. Click on the widgets after you are on the site.
3. Click one of the options you need Javascript widget.
4. After choosing one of 4 options there and then you click "Click here to Customize It!" It is useful to determine the colors to fit on our blog.
5. After fiddling with color, Copy and Paste into your blog in the following ways below.
6. ~> Log in to Blogger and then to Page Elements and Add a gadget in the sidebar or the footer up to the owner of the blog after that select
HTML / JavaScript then paste in it the code that has been in the copy of the above.

Then Save and see the results

Good luck
READ MORE>>>>>

How to Make a Widget Link Exchange Automatic

Make a widget Tuker automatic link on our blog will be assisted by a third party that is Mr. Linky Widget.
1. Click Mr. Linky





2.  Select the Wizard menu>> click type blogger>> click auto links





3. For the select button spread around like that
4. Click Generate Code>> Copy Code vaste Java script>> plug in your Blogger (wherever place)

Good luck 
Photobucket Photobucket
READ MORE>>>>>

How to Add Gadgets Under / above post

To complete your Blog Optimization andadengan add the gadget blog above or below the post, the point you can store ads or related links that all can be viewed by visitors in every post you, his way is simple:

1. Log in to your blog> layout> Edit HTML
2. Search code

 
<div id='main-wrapper'>
<b:section class='main' id='main' showaddelement='no'>

3. If you've found it, instead of writing no becomes yes. So the code above into




<div id='main-wrapper'>
<b:section class='main' id='main' showaddelement='yes'>

4. Save the template and see the results.

Hopefully useful ....


Photobucket Photobucket
READ MORE>>>>>

How To Create Tab View Menu

Menu Tab Vieu serves to minimize the place a bit, with this vieu tab function that is so much data can be saved in one place, that's the uniqueness of this vieu table function.

Rather than talk about it too long is better just to explain:


Code 1: This code is in place before the closing</ head>
 


 <script type='text/javascript'>
//<![CDATA[
function tabview_aux(TabViewId, id)
{
  var TabView = document.getElementById(TabViewId);

  // ----- Tabs -----

  var Tabs = TabView.firstChild;
  while (Tabs.className != "Tabs" ) Tabs = Tabs.nextSibling;

  var Tab = Tabs.firstChild;
  var i   = 0;

  do
  {
    if (Tab.tagName == "A")
    {
      i++;
      Tab.href      = "javascript:tabview_switch('"+TabViewId+"', "+i+");";
      Tab.className = (i == id) ? "Active" : "";
      Tab.blur();
    }
  }
  while (Tab = Tab.nextSibling);

  // ----- Pages -----

  var Pages = TabView.firstChild;
  while (Pages.className != 'Pages') Pages = Pages.nextSibling;

  var Page = Pages.firstChild;
  var i    = 0;

  do
  {
    if (Page.className == 'Page')
    {
      i++;
      if (Pages.offsetHeight) Page.style.height = (Pages.offsetHeight-2)+"px";
      Page.style.overflow = "auto";
      Page.style.display  = (i == id) ? 'block' : 'none';
    }
  }
  while (Page = Page.nextSibling);
}

// ----- Functions -------------------------------------------------------------

function tabview_switch(TabViewId, id) { tabview_aux(TabViewId, id); }

function tabview_initialize(TabViewId) { tabview_aux(TabViewId,  1); }
//]]>
</script>

Code 2 : This code is placed on code ]]></b:skin>
 
div.TabView div.Tabs
{
height: 30px;
overflow: hidden;
}
div.TabView div.Tabs a
{
float: left;
display: block;
width: 98px; /* Lebar Menu Utama Atas */

text-align: center;
height: 30px; /* Tinggi Menu Utama Atas */
padding-top: 3px;
vertical-align: middle;
border: 1px solid #BDBDBD; /* Warna border Menu Atas */
border-bottom-width: 0;
text-decoration: none;
font-family: "Verdana", Serif; /* Font Menu Utama Atas */
font-weight: bold;
color: #000; /* Warna Font Menu Utama Atas */
-moz-border-radius-topleft:10px;
-moz-border-radius-topright:10px;
}
div.TabView div.Tabs a:hover, div.TabView div.Tabs a.Active
{
background-color: #E6E6E6; /* Warna background Menu Utama Atas */
}
div.TabView div.Pages
{
clear: both;
border: 1px solid #BDBDBD; /* Warna border Kotak Utama */
overflow: hidden;
background-color: #E6E6E6; /* Warna background Kotak Utama */
}
div.TabView div.Pages div.Page
{
height: 100%;
padding: 0px;
overflow: hidden;
}
div.TabView div.Pages div.Page div.Pad
{
padding: 3px 5px;
}

Code 3 : This code is placed in the HTML / Java Script on Blogger's how:
Login to blogger>> Layout> Page Elements>> Add Gadget HTML / java script>> Enter the code below into it
<form action="tabview.html" method="get">
<div class="TabView" id="TabView">
<div class="Tabs" style="width: 300px;">
<a>Tab 1</a>
<a>Tab 2</a>
<a>Tab 3</a>
</div>
<div class="Pages" style="width: 300px; height: 250px;">

<div class="Page">
<div class="Pad">
Tab 1.1 <br />
Tab 1.2 <br />
Tab 1.3 <br />
</div>
</div>

<div class="Page">
<div class="Pad">
Tab 2.1 <br />
Tab 2.2 <br />
Tab 2.3 <br />
</div>
</div>

<div class="Page">
<div class="Pad">
Tab 3.1 <br />
Tab 3.2 <br />
Tab 3.3 <br />
</div>
</div>

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

<script type="text/javascript">
tabview_initialize('TabView');
</script>
<a href="http://adamcherbond.blogspot.com/" target="_blank" title="F.cher Site">Mau Buat Seperti ini?</a>
 
Done vieu tab menu
Good luck

Photobucket Photobucket
READ MORE>>>>>

How to make animations corner Blog



Hi Buddy All this time I will explain about creating animation in a corner of the blog functions as a complement to a blog to make it look interesting
Get to his topic:

Code    1. 
The code is placed on the code ]]></b:skin>

#anima_sudut {
position:fixed;_position:relative;top:0px; left:0px;
clip:inherit;
_top:expression(document.documentElement.scrollTop+
document.documentElement.clientHeight-this.clientHeight); _left:expression(document.documentElement.scrollLeft+ document.documentElement.clientWidth - offsetWidth); } 

Untuk menuntukan posisinya, sobat blogger bisa merubah top:10px; left:10px; .( top=atas, bottom=bawah, right=kanan, left=kiri)

Code   2.  The code is placed on the code </body>

<div id="anima_sudut">
<a href="http://adam-cherbond.blogspot.com/">
<img alt="" src="url gambar anda" border="0" /></a>
</div> 

Way To Go Blogger>> Layout> Edit HTML>> To search the code above click F3 on your keyboard.
Goodluck..


Photobucket Photobucket
READ MORE>>>>>