19 July 2010

Add scrolling text/images to your blog.

Advertisements

Jobsplanet asked about scrolling text to be added to his blog. Actually this is known as "marquee" code. This is a non-standard HTML code which causes text/images to scroll/slide in up,down,left or right direction.


 The Code
<marquee behavior="scroll" direction="up"
width=200 height=50
onmouseover="this.stop()" scrollamount="5" onmouseout="this.start()" bgcolor="#191919" align="middle">

Your Text/Image/other HTML code

</marquee>


Add this code to Add a Gadget > HTML/Java script

Customization of above code.

Add your text or image to the red text. You can also add another HTML code there.

1. behavior: 
scroll - text will scroll
slide - text will slide
alternate - text will bounce back and forth


2. direction
You may change this to Left, Right, Up or Down


3. scrollamount/scrolldelay
More the scrollamount more the scrolling/sliding speed


4. bgcolor
It is a background color. Read about HTML color code picker here.


5. align
It may be middle, left or right


6.Width and Height
As per your needs

Related Posts

3 comments

July 20, 2010 at 12:22 AM

@draaman Thanks for this code.

Now please tell me how could i be able to add subtitles to my post Current Openings. i just want to add like following thing to my current openings section.

here is the link to my blog

http://jobsansaar.blogspot.com



Current Openings
INDIA
• BANK
• INSURANCE
• TELECOM
• SALES AND MARKETING
• FMCG
• RETAIL
• FINANCE
OVERSEAS
• BANK
• INSURANCE
• TELECOM
• SALES AND MARKETING
• FMCG
• RETAIL
• FINANCE

please help me in this

July 20, 2010 at 2:56 AM

Did you want to add links to

BANK
• INSURANCE
• TELECOM
• SALES AND MARKETING ...

October 20, 2010 at 2:07 AM

This code seems quite easy to use, As I haven't used this code yet now, hoping that it will let me scroll in all the direction whether it is up, down, left or right.

Post a Comment

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More