This is my second tutorial on adding a link exchange button/badge/banner widget to your blog. Unlike my previous link exchange button tutorial, where your readers need to copy and paste the button code into their blog, this method lets them install the button just by clicking a button -no code will be displayed, no copy-pasting required.
Note: This method only imports the button into a Blogger blog.
Installing the “Link to us” widget
- Login to your Blogger account.
- Go to Design > Page Elements.
- Click an Add A Gadget link.
- In Add A Gadget window, select HTML/Javascript .
- Enter the title of your widget. This is optional.
- Copy the code below and paste it inside content box.Where:
01<center>02<imgsrc="YourButtonUrl"value="YourBlogName"/>03<formaction="http://beta.blogger.com/add-widget"method="POST">04<inputvalue=""name="widget.title"type="hidden"/>05<textareastyle="display:none;"name="widget.content">06<center><a href="YourBlogUrl"><img src="YourButtonUrl" title="YourBlogName"></a></center>07</textarea>08<inputvalue="http://www.bloggersentral.com/"name="infoUrl"type="hidden"/>09<inputvalue="Grab this button"name="go"type="submit"/>10</form>11<spanstyle="font-size: 80%;">Get this <ahref="http://www.bloggersentral.com/2009/11/how-to-install-link-to-us-widget.html">widget</a></span>12</center>YourButtonUrlis the link to your link exchange button, badge or banner.YourBlogUrlis the URL of your blog.YourBlogNameis the name of your blog
- Click Save.
By now you should be able to see your button/badge/banner with a “Grab this button” button right below it, similar to the picture above.
Testing the widget
You want to test whether your link button installs correctly. Your readers will go through this same process when they want to grab your button.
- Go ahead click the “Grab this button” button. Add Page Element page will pop up:
- Select the button recipient blog and enter the gadget title (optional).
- Click Add Widget button to add the link to us button. You will be transferred to Page Elements page on the recipient blog.
- Drag the widget to reposition.
If it installs correctly, you should be able to see your linked button or badge in your recipient blog, similar to the picture above but without the “Grab this button” part.
Testing the button link
To test the link, simply click on the button. The browser should take you back to your blog. If not, you might have entered a wrong URL. Go back to step 6 to correct it.
No comments:
Post a Comment