Label / Categories

Business (4) Computer (21) Healthy (15) Lifestyles (5) Property (1) Seo (14) Shoping (1) Social (6) Sports (2) Technology (3)

Kamis, 05 April 2012

How to create a script bookmarking site for Blogger

How to create a script bookmarking site for Blogger.  


Bookmark this site, Function of the link is to instruct your browser to store your blog or site in your browser's bookmark list


You've probably seen a blog or a site on the top there is a link labeled "Bookmark this, Bookmark this site, etc.". Function of the link is to instruct your browser to store your blog or site in your browser's bookmark list. As an example, please try to click the link at the top right above it that reads my blog Bookmark this Blog. How were the results? There is a 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 for the rest of his visit.
Here's How to Make a Bookmark Site Script :
A. Login to your Blogger account
2. Choose Layout> Edit HTML
3. Find the code </ head> and paste the following javascript code on it:

    
<script type='text/javascript'>
    
bookmarksite function (title, url) {
    
if (window.sidebar)
    
window.sidebar.addPanel (title, url, "");
    
else if (window.opera && window.print) {
    
var elem = document.createElement ('a');
    
elem.setAttribute ('href', url);
    
elem.setAttribute ('title', title);
    
elem.setAttribute ('rel', 'sidebar');
    
elem.click ();
    
}
    
else if (document.all)
    
window.external.AddFavorite (url, title);
    
}
    
</ Script>
4. Click Save Template
5. To show the link you can make a regular text link or the image, the code:Plain text link:

    
<a href="javascript:bookmarksite('Blog Title','URL Blog')"> Bookmark This Blog </ a>Link to picture:

    
<a href="javascript:bookmarksite('Blog Title','URL Blog')"> <img src="url-your-images" border="0"/> </ a>


Note:If the title of your blog there are quotes such as Sample's Blog, then you should add a javascript backslashed in your link, so it becomes:

    
<a href="javascript:bookmarksite('sample\'s Blog','URL Blog')"> Bookmark This Blog </ a>


The link you can place wherever you want.
How? Easy is not it?
Good luck



"Bookmark this site, Function of the link is to instruct your browser to store your blog or site in your browser's bookmark list"
Share on :

1 komentar:

Posting Komentar

 
© Copyright CANBOGA 2012 - Some rights reserved | Powered by Blogger.com.
Created by Tris Workshop | Template by Borneo Templates