Bonjour,
j'ai utilisé ce code pour faire un news scolling text, le code marche tres bien sauf quand on ouvre le site, on voit le cadre vide puis le text commence a scroller verticalement du bas.
le probleme : comment eliminer ce vide du cadre, c'est a dire quand la page est ouverte par le visiteur, on voit immediatement le text dans le cadre et puis commence a scroller.
voici mon code :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14 <asp:Panel ID="Panel2" runat="server" style="z-index: 2; left: 756px; top: 194px; position: absolute; height: 248px; width: 177px"> <table width="100%" cellspacing="0px" cellpadding="0px" style="height: 245px"> <tr> <td class="Table_TD_Center"> <marquee behavior="SCROLL" width="100%" direction="up" scrollamount='1' scrolldelay="30" onmouseover='this.stop();'onmouseout='this.start();' style="height: 247px"> <asp:Label ID="lblNews" runat="server" Text="" CssClass="RedLabel"> </asp:Label> </marquee> </td> </tr> </table> </asp:Panel>
Partager