Wednesday, January 4, 2012

How to Make a Bookmark Site Script

Favorite IconFor tips opener after a while the vacuum is how to create a script bookmarking site. You may have never seen a blog or a site that at the top there is a link labeled "Bookmark this, Bookmark this site, etc.". The function of the link it is for us mememerintahkan browser to store your blog or site address in your browser's bookmark list. For example, you try to click the link at the top right that reads my blog Bookmark This Blog. How were the results? There are pop-up display that works to save new bookmarks right?

The advantage of this script is to allow visitors to quickly access our blog and can always remember it, so we can maintain it untul kunjngannnya onwards. Ok, rather than extend muqodimah, let kta directly wrote in the title of this lecture, uh how to create scripts bookmark this site, hehehe ...

Here's How to Make a Bookmark Site Script

1. Login to your Blogger account

2. Choose Layout> Edit HTML

3. Find the code and paste the following javascript code on it:

  1. <script type="text/javascript">  
  2.     bookmarksite function (title, url) {  
  3.     if (window.sidebar)  
  4.     window.sidebar.addPanel (title, url, "");  
  5.     else if (window.opera & & window.print) {  
  6.     var elem = document.createElement ('a');  
  7.     elem.setAttribute ('href', url);  
  8.     elem.setAttribute ('title', title);  
  9.     elem.setAttribute ('rails''sidebar');  
  10.     elem.click ();  
  11.     }  
  12.     else if (document.all)  
  13.     window.external.AddFavorite (url, title);  
  14.     }  
  15.     </ Script>  

4. Click Save Template

5. To display the link you can make with a regular text link or with images, code:

Plain text link:
  1. <a href="javascript:bookmarksite('Judul Blog','URL Blog')"> Bookmark This Blog! </ a>  

Link to picture:
  1. <a href="javascript:bookmarksite('BlogTitle','URL Blog')"> <img src="url-image" border="0"/> </ a>  

Note:

If the title of your blog there are quotation marks eg Zacky's Blog, then you should add a javascript backslashed in your link, so it becomes:
  1. <a href="javascript:bookmarksite('Deni\'s Blog','URL Blog')"> Bookmark This Blog! </ a>  

The link you can place where you want.

How? Make it easy?

Anyway, do not forget to bookmark my blog

Good luck ...

How to Create a Drop Shadow Image

Drop Shadow Image


Drop Shadow is a shadow effect arising on an object, can in a box, tables, and pictures. Try to note the existing image on every post this blog. All these images have shadows that make it looks more attractive. To create a drop shadow can we do on some photo editing software like Adobe Photoshop. But gimna if all of our posts have images that will be given a shadow and a polynomial? Duh, dizziness can happen ... Relax, by reading these tips through to completion you will know how to give the drop shadow on the picture post with just using a simple css code.

Here's How to Create a Drop Shadow Image

1. Login to your Blogger account, then select Layout> Edit HTML

2. Find the code ]]> and then paste the following CSS code right above it:

  1. . drop-shadow img {  
  2.      backgroundurl (http://i30.tinypic.com/1qsh1h.jpg) no-repeat bottombottom rightright;  
  3.      padding10px 10px 5px 5px;  
  4.      }  

3. Find code <data:post.body/>, then replace the code with the following code:
  1. <div class='drop-shadow'><data:post.body/></div>  

4. Finally, click Save Template and see the results.

Good luck ...

Do not forget the love of his comments ...

Updates Via E-Mail

Featured Post 3

Labels