Search This Blog

Wednesday, June 17, 2009

MARQUEE-Scrolling text and link hacks

Marquee can considerably increase the viewers attention towards the text or link rolling into it.



It is used and is can be useful for any announcements on your Blog.

>>How to add the scrolling text in your blog?
Let me explain it:

ONE Adding simple scrolling text:
          
Here is the code to add a simple scrolling text from right to left side


        
The output:.....


code to simple scrolling text
         If you want some more attention of your Viewers,


         Change the Background color to the text,
         Note: Use matching and favourable colours that look good with each other.


        
The output:.....



code to simple scrolling text
        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.
Apply whichever you want


         
Here are its examples   ....................




code to simple scrolling text


code to simple scrolling text


code to simple scrolling text


code to simple scrolling text

More attributes:
                              You can add this attribute to alternate the text means it will bounce within the coloured area.


Like this

code to simple scrolling text
Its Code:-





You can also set the speed up the widget text with a simple attribute:


The lower the scroll amount value, the less speed it moves,
the html code adding scrollamount would be



(for scrollamout =2) in this marquee it would be at this speed


code to simple scrolling text


(for scrollamount=10)


code to simple scrolling text


        TWO
        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 for it





It will have the following feel


code to simple scrolling text
(Roll the mouse over the text)


           THREE
           Changing the text colour:
           Here is the code to change the text colour:(Add it before the marquee tag)

The whole code would be like 






code to simple scrolling text



Here are the codes for various colours

Here is the important 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:


FOUR
Adding hyperlinks(open in the same window):

sample sode for it.
 Replace the Link#1,Link#2,Link#3 with the text and url#1,url#2 and url#3 with the desired url addresses.


The output will look like this



EtalkIndia Colour Codes Gmail


If you want to open the links in new window,here is the code:
Here's the code for it



That's it!Now you can add this to your blogger sidebar,in the blog post,where ever you want.

If you want to put this in sidebar,then sign in to your blogger account>click the add a page element> and paste the code in html/javascript and 
save the changes .This is shown in the below pictures.


Blogger Widgets
happy marqueeing
If you have any doubts, ask your questions via your comments.


Tell us which widgets you need us to post

11 comments:

  1. ITS REALLY NICE.. BUT CAN YOU PLEASE TELL ME HOW TO CREATE A LABLE IN BLOG...? AND WHAT IS CSS IN MENU CREATION.. PLS HELP ME AFTER SEEING MY BLOG. THANK YOU FRIEND.

    ReplyDelete
  2. you had put up lable in your blog know how is it so pls help me how to put that in my blog...

    ReplyDelete
  3. ITS AWSOME THANK YOU SO MUCH
    PLEASE MORE

    CHK OUT MA BLOG
    WWW.RULEOFGOD.BLOGSPOT.COM

    ReplyDelete
  4. Thanks for this. It was extremely helpful!

    ReplyDelete
  5. THANK YOU!!! Can you tell me how to make the font bold?

    ReplyDelete
  6. @Sash
    Welcome

    insert the text you want to be bold in < strong > and < /strong >
    like " < strong > your text here < /strong > "
    [without the spaces that the example]

    ReplyDelete
  7. really nice information....find more info at Blogger Tips and Templates - Praneet Agarwal

    ReplyDelete
  8. This is a cool widget. Exactly what I have been looking for. But how to set text to scrolling continuously without empty space in the end of the text? I mean like looping with spaces width in the text.

    ReplyDelete
  9. This comment has been removed by the author.

    ReplyDelete
  10. Hi thanks for posting very useful inf. I've gained by it. However, the tag, target="_blank" is missing in the code given for opening the hyperlink in new window. Please correct it. Good work. Thanks again.

    ReplyDelete