hi
i'm using a marquee to display some images, here is the code
Panel1.Controls.Add(New LiteralControl("<marquee id='marq' onmouseover='this.stop();' onmouseout='this.start();' loop='infinite' behavior='scroll' width='100%' scrolldelay='0' scrollAmount='2' direction='left'>"))
For j As Integer = 0 To dt.Rows.Count - 1
Panel1.Controls.Add(New LiteralControl("<img src='x.jpg' />"))
Next
Panel1.Controls.Add(New LiteralControl("</marquee>"))
here is the problem; the marquee behavior is scroll, & the direction is left, according to that wht is supposed to happen is that the image start scrolling (from right) from the beginning of the marquee area to reach the end of it (the left) & then start over again and again
wht is actually happening is that it doesn't start scrolling from the right of the area, instead it appears at once then start scrolling from left! & when the images goes out & supposed to start scrolling over again it take a long time
this happens only when there is an image in the marquee, if i put anything else other than an image it goes fine
i tried it in a simple html page it went fine, but not in my project
any ideas???
thnx in advance