news with asp C#

  • Thread starter Thread starter vinnie
  • Start date Start date
V

vinnie

using Flash it's easy to create a small textbox, and let the news to
flow i.e. from right to left.

I was wondering if there is something in asp.net 2.0 C#, to create
anything like that.

Vinnie
 
Vinnie,

Not really, and you wouldn't really do it in ASP.NET. While ASP.NET
would serve up the page, you would have to use JavaScript to control the
elements on the client side, or flash, or some sort of embedded component
(ActiveX or a .NET component) which would do the same thing.
 
There is an IE-specific tag "Marquee" that intrinsically handles this
behavior. But if you want to do it on a cross-browser basis, you need to use
client script. There are a number of Javascript demos that do this. Just
search on "scrolling".

It's important to remember that ASP.NET is a server-side technology - it
delivers the eventual markup that is sent out to the browser. However, any
kind of scrolling, etc. then needs to be done with the DOM that's now
resident in the browser, with browser - based client side script.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com
 
Back
Top