C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




How to give marquee effect for tet in lable control ?


Posted Date: 11 Oct 2008      Total Responses: 3

Posted By: nilesh bahirshet       Member Level: Gold     Points: 1


I want to create the application/Lable in which text of that lable will scroll
continusly from right to left or left to right . .
How can I give that effect ?




Responses

Author: senthil    12 Oct 2008Member Level: GoldRating:     Points: 3
marquee effect done with javascript code,

The code is given below:

<marquee> direction="left" scrollamount="2">
Welcome //Text here write...
</marquee>


Author: anand kumar    13 Oct 2008Member Level: BronzeRating:     Points: 4
<table cellpadding="0" cellspacing="0" border="1" width="980px">
<tr>
<td valign="top" align="center">
<marquee>
<h3>
<asp:Label ID="lblHeadingtext" runat="server">
Sample Site Verification</asp:Label></h3></marquee>
</td>
</tr>
</table>

Regards,
Anand Kumar


Author: Rajesh kumar    14 Oct 2008Member Level: SilverRating:     Points: 5
keep that label inside marquee tag like
<marquee><label.../> </marquee>
or else
u have a option of java script like
<script type="text/javascript">
var i=1
function starttimer()
{
document.getElementById('labelid').style.position="relative";
document.getElementById('labelid').style.left=+i;
i++;
timer=setTimeout("starttimer()",10);
}
function stoptimer()
{
clearTimeout(timer);
}
</script>
i think your problem solved with this



Post Reply
You must Sign In to post a response.
Next : re :time limit
Previous : How to add user control in GAC ?
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

doors in nj

Contact Us    Privacy Policy    Terms Of Use