Custom Search

Monday, June 2, 2008

Adding a Java/HTML script to your blog

Recently I noticed maya was having a problem adding a ticker from to her blog and I also noticed that rosebud added a website counter to her blog as a post, which would render it ineffective once that post was archived or if a reader accessed another post directly without going to the blog's main page. So I thought it would be best to make a post to address the issue of Adding HTML/Java scripts to a blog, if even small one.
If we were to take maya's ticker script as an example of a script we want to install on a blog, we would basically start by copying the script from the ticker webpage after customizing the ticker ( use CTRL+A to select the whole code and CTRL+C to copy it ).

Now after copying it from the ticker webpage we have to insert it into the blog . To do that we go to the Dashboard and pick "Layout" from the options presented, then we will be led to the "Page Elements" page as shown below.

In it we can see the blog's layout, from which you choose were you want to insert the ticker ( in our example ) and you click the "Add a Page Element" link at the top of that section, after which you will be presented with the following pop-up page.

Now all you have to do is click the "HTML/Java Script" "ADD TO BLOG" button and you will get an empty box in which you paste the previously copied code and then press the "SAVE CHANGES" button in the subsequent page and you should be done. If there is no problem with the script all should be well and in tip-top shape, and Maya should have her Birthday ticker going :P.

No comments: