Aug 8, 2015

Code cho Pop-up

<script type="text/javascript">

function hide_float_right() {

    var content = document.getElementById('float_content_right');

    var hide = document.getElementById('hide_float_right');

    if (content.style.display == "none")

    {content.style.display = "block"; hide.innerHTML = '<a href="javascript:hide_float_right()">Tắt [X]</a>'; }

        else { content.style.display = "none"; hide.innerHTML = '<a href="javascript:hide_float_right()">Xem...</a>';

    }

    }

</script>

<style>

.float-ck { position: fixed; bottom: 0px; z-index: 9000}

* html .float-ck {position:absolute;bottom:auto;top:expression(eval (document.documentElement.scrollTop+document.docum entElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,10)||0))) ;}

#float_content_right {border: 1px solid #01AEF0;}

#hide_float_right {text-align:right; font-size: 11px;}

#hide_float_right a {background: #01AEF0; padding: 2px 4px; color: #FFF;}

</style>

<div class="float-ck" style="right: 0px" >

<div id="hide_float_right">

<a href="javascript:hide_float_right()">Tắt[X]</a></div>

<div id="float_content_right">

<!-- Start quang cao-->

  <a href="http://tuhoctienghanonline.blogspot.com/search/label/%EB%B9%84%EC%A6%88%EB%8B%88%EC%8A%A4%20%ED%95%9C%EA%B5%AD%EC%96%B4%20-%20Korean%20For%20Business" taget="_blank" ><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhto1x2pOvv0rpqz53etwUHQySRdZvQIQ0fmhSltVmKjdmfEJqkdxBWxyo8FlrQrlDhHHMGiNaWnXx42r-q6RLjPsNC_LyhI6QrKq48d8TYygyuy3JXpRxUMTgsVSR3Ws6MUXRapSsR9ovx/s1600/a+hanthuongmai.JPG" width="250" height="200" /></a>

<!-- End quang cao -->

</div>

</div>

Mar 6, 2015

10 places to put Google adsense

http://helplogger.blogspot.com/2013/03/10-places-to-put-adsense-ads-in-blogger.html

Mar 3, 2015

Thêm Google analytics cho blogspot

https://www.google.com/analytics/web/?et&authuser=0#management/Settings/a60303395w94742552p98740161/%3Fm.page%3DTrackingCode/

https://www.google.com/analytics/web/?et&authuser=0#management/Settings/a60303395w94742552p98740161/%3Fm.page%3DTrackingCode/

http://www.seowebtechinfo.com/2009/06/how-to-insert-google-analytics-tracking.html

Feb 6, 2015

Ghép chỉnh sửa ảnh

http://www.photovisi.com/

Nov 24, 2014

Bachground image for Tuhoctienghan


Nov 18, 2014

Free templates

Nov 14, 2014

Add an Icon to Blog Post Titles with CSS

Step One: Upload Your Icon

Blogger users, upload the icon to your blog's Picasa Web Album. Wordpress users, upload the image to your media library. Typepad users, upload the image to the File Manager. You can also use Photobucket or another image hosting service if you prefer. Wherever you upload it, copy the direct link to the image. You'll need that soon.

Step Two: Add the CSS

You only need to add this CSS to your template once and the icons will appear on every post title.
In Blogger, go to Template > Customize > Advanced > Add CSS. If you're on Typepad, go to Design > Custom CSS. On Wordpress your custom CSS location will vary. If you're using Jetpack's Custom CSS option, it's under Appearance > Edit CSS.
I'm going to demonstrate this with the class .post-title, since I'm on Blogger. Remember to change it if you blog elsewhere! Here's the basic CSS:
  .post-title {
    background: url(ICON-IMAGE-URL-HERE) no-repeat left transparent;
    padding-left: 15px;
    }
Now that you've seen the CSS, let me break it down for you!
  • In the first line, the selector (.post-title in the example) tells the CSS to style all the links with the class post-title. Again, change that if .post-title isn't your class. Don't forget the dot (.) in front of the class name!
  • The next line has four parts:
    1. background: url(ICON-IMAGE-URL-HERE) sets a background image for the selected titles. Replace the text inside the parentheses with the direct link to your icon image.
    2. The "no-repeat" value makes it so the image only appears once for each link.
    3. "Left" places it to the left of the URL.
    4. "Transparent" sets the background color of the link and its associated icon.
  • The last line, padding-left: 15px; , creates a bit of room between the icon and the beginning of your post title. You may need to adjust the padding size, 15px is just a starting point.

Variations

Now that you've got the idea, you might want to try one of these variations. Thanks to Joelle and Marina for their prompts in the comments!
These variations work in modern browsers, but aren't compatible with older versions of Internet Explorer. They don't cause any problems in older IE, they just don't show up.
Icon Above Your Title
If you'd like to place your icon above your title, find the class of the div surrounding your post using the class-finding methods described above. Once you've found the class, use this basic CSS:
.post-outer:before {
content: url(YOUR IMAGE URL HERE);
}
I used ".post-outer" because I'm on Blogger. If you're on another platform, you may need to use a different class.
You can also center the icon above your post title if you prefer.
If you'd like to center the icon, the CSS is:
.post-outer:before {
content: url(YOUR IMAGE URL HERE);
display: block;
width: ICON WIDTH IN PX HERE;
margin: 0 auto;
}
Two Icons
If you'd like to add two icons to either side of your title, you can use :before and :after content to place the image. If you use this method, the second icon will be placed at the end of your title's text, like in these examples:
icon before and after a short blog post title
icons before and after an unusually long blog post title
Here's the basic CSS:
.post-title:before,
.post-title:after {
content: url(YOUR IMAGE URL HERE);
}
Remember that I used .post-title because I'm on Blogger. If you're on a different platform, be sure to change the selector if needed.

http://www.codeitpretty.com/2013/04/add-icon-to-blog-post-titles-with-css.html