Home > ASP Development > Information Display using Marquee

Information Display using Marquee



Do While NOT rs.EOF

Str_Scroll = Str_Scroll & " .:::. " & rs.fields(0)

rs.movenext

loop











Does anyone knows how to change some code above to make it display the all the information line by line...i mean,not in a full sentence..



1st information

2nd information

3rd information



tq

    
Guest


i think this is your need.


Code:



<marquee scrollamount="3"><font color="#FF0000">
<% =Str_Scroll %></font></marquee>



Was this answer helpful ? Yes No   
Guest


Quote:
Originally Posted by Guddu
i think this is your need.


Code:



<marquee scrollamount="3"><font color="#FF0000">
<% =Str_Scroll %></font></marquee>






how about if i want to display a lot of data from my database...



how will the system loop or check another field after it finished checking fields(0)..???



any ideas?

Was this answer helpful ? Yes No   
Guest


same logic will do


Code:



Do While NOT rs.EOF
Str_Scroll = Str_Scroll & " .:::. " & rs.fields(1)
rs.movenext
loop




Was this answer helpful ? Yes No   
Guest


Quote:
Originally Posted by Guddu
same logic will do


Code:



Do While NOT rs.EOF
Str_Scroll = Str_Scroll & " .:::. " & rs.fields(1)
rs.movenext
loop







hm...ok..but it will give output like this...



.:::.information 1.:::.information 2:::.1information 3





my friend, what i want is the output will be displayed in this type of order



information 1



information 2



information 3



so, you have any ideas about that matter???



i think u know it rite?



tq...

Was this answer helpful ? Yes No   
Guest


u can put break tag

.:::.information 1<br>.:::.information 2:::.<br>1information 3

Was this answer helpful ? Yes No   
Guest
 
 
Home - About Infoqu - Contact - Privacy Statement - Link to Infoqu - Bookmark Infoqu

Copyright 2007-2008 by Infoqu. All rights reserved