scrolling text-marquee-html codes for bloggers
0 comments Posted by athifa nailah putri at Friday, April 24, 2009
scrolling text-marquee-html codes for bloggers
Written by kranthi on Tuesday, December 18, 2007This post explains you how to add Scrolling text(also called as marquee)to your blog sidebars,blog posts,etc.
Another way to attract the visitors is adding some decoration to the site like scrolling text,etc.But,don't decorate it too much,particularly if your site contains too much text as it irritates and spoils the concentration of the reader.You can add scroll bars to tell your visitors what will be your next updates,popular posts,advertisements,etc.
So,how to add the scrolling text in your blog,let me explain it:
Adding simple scrolling text:
Here is the code to add a simple scrolling text from right to left side
The output will be like:
Example 1:
If you want some more attraction,then try these,
Add a background color to the text,
Example 2:
You can choose your background colour by replacing the hexadecimal code(#99ccff).
Click here to see the codes of the different colors.
Here are some mode attributes to learn:
|
direction="left" direction="right" direction="up" direction="down" |
The above attributes tells the text which direction to scroll.
Use the code below:
Here is are some examples:
To scroll in the 'right' direction:
Example 3:
Example 4:
To scroll in the 'up' direction:
Example 5:
Downwards:(I changed the hexa decimal codes for different colours)
few more attributes:
You can add this attribute to alternate the text
Here is the code to do this:
Example 6:
You can also set the speed of the text with this simple attribute:
The lower the scrollamount value, the less the speed it moves,
the html code for this:
example 7:(for scrollamout =2)
Example 8:(for scrollamount=5)
Pausing the text when mouse is over the text:
It is very useful when the reader wants to read the text,and the scrollamount is big,sothat he will put the mouse over the text to pause the text and read the matter:
Here is the code to do this
Example 9:
(place the mouse over the text to test it)
Changing the text colour:
Here is the code to change the text colour:(Add it before the marquee tag)
So, the code looks like this
Example 10:
Here is the important one and most useful one, adding hyperlinks in the scrolling text.
Hyperlink means a link when clicked go to another location(site).
Let's see how to add hyperlinks to the scrolling text:
Adding hyperlinks(open in the same window):
Here is the sample code:
NOTE:Replace the Link#1,Link#2,Link#3 with the text and url#1,url#2 and url#3 with the target url addresses.
Here is an example:
Labels: Add-ons Mozilla , Advertise , Antivirus , Backup , CSS , E-Book , Free Blogger Templates , Free Icon , Free Software
Blogger Optimization
If you are a user of Blogger noticed that posting an entry appears in the search engines ordered by “Blog Name | Title of the post.” This puts you at a disadvantage compared to other blogs if we talk about positioning.
The robots that indexed pages give much importance to the first words of the titles of entries. But with copying and pasting a few lines of code that can do the reverse Blogger order of title by achieving a better positioning. Let’s go!
The code can display the name of a particular entry without bringing the name of the blog in the first position (an aspect that remains search engine positioning). In this way we can optimize titles in the following way.
* Go to the tab “Design” and subsequently to the “Edit HTML”.
* Find the code for the titles:
Code
* Replace that code with the following Conditional:

Code
Thus the title for the homepage, archives and labels remain unchanged (blog name: element) and the titles of the entries are optimized (name blog entry name).
Why not also optimize the titles of main page, archives and labels? In most cases it is not appropriate because the search engines can confuse the content of a particular entry by a label or archive, parts where the information is not remains static. Blogger even in the robots.txt file has automatically excluded.
This detail does not do magic with the search engines, but if it helps them to better classify the content of your articles, you can supplement it further optimizing the URLs of your posts.
Labels: Hotel , Open Source , Opinion , PageRanking , Promotion Blog , Tools Blogging , Tutorial Blogger , Twitter Stuff , Web 2.0 , Widgets , Wordpress





























