Powered by Blogger.

Saturday, March 1, 2014

marquee example in asp.net:



In this post we will discuss about one marquee example in asp.net. Also you can check out my previous posts on:

- Triggers in sql server 2008

- How to download file in C#.Net?

- Show confirmation message in gridview for delete in Asp.net

The marquee tag is a non-standard HTML element which causes text to scroll up, down, left or right automatically.

Below is an example:

<font face="Merriweather" color="Red">
                <marquee scrollamount="3" onmouseover="stop();" onmouseout="start();">Win prizes like Hard Disk, Pen drives, T-Shirts etc. <a href="http://www.enjoysharepoint.com/Write-Article-win-Prizes.aspx">Click here </a>for more information</marquee>
            </font>

Here we have given the font face and color in a <font> tag.

onmouseover, onmouseout attributes to stop and start scrolling on mouse over.

scrollamount is to control the speed of scrolling.

direction="left/right/down/up" This attribute is required for the direction of the scroll.





0 comments

Post a Comment