By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,394 Members | 1,912 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,394 IT Pros & Developers. It's quick & easy.

Help Me In Marquee Bar

abdoelmasry
100+
P: 104
Hi Friends
I have marquee bar showing last topics in my site
I Want to make the marquee bar scrolling continuously with out ending

my marquee bar is showing all data then the bar be empty
then it's starting again

i want to make it never stoping
just jump from last item to show the first item continuously

I Hope I can explain

Thanks
Mar 2 '07 #1
Share this Question
Share on Google+
3 Replies


ronverdonk
Expert 2.5K+
P: 4,258
Show your bar code here. Then we can see what's the problem.

Ronald :cool:
Mar 5 '07 #2

Expert 100+
P: 1,892
Hi Friends
I have marquee bar showing last topics in my site
I Want to make the marquee bar scrolling continuously with out ending

my marquee bar is showing all data then the bar be empty
then it's starting again

i want to make it never stoping
just jump from last item to show the first item continuously

I Hope I can explain

Thanks
Stay away from using marquee's unless you are scrolling news/sports scores/stock quotes etc.. things that need to be updated. Post your marquee code I believe the default behavior is to scroll continuously.
Mar 8 '07 #3

abdoelmasry
100+
P: 104
Hey
Sorry About Late
Here Is My Code:

[PHP]<?
$dbcon=mysql_connect("localhost","root","");
mysql_select_db("vb",$dbcon);
$gtlastth=mysql_query("select lastthread,lastthreadid from forum");
$lastopics="<br><marquee direction='rigt' scrollamount='4' onmouseover=this.stop() onmouseout=this.start()>";
while($clastth=mysql_fetch_row($gtlastth)){
if(!empty($clastth[0])){
$lastopics.="<a href='http://www.egyhk.com/vb/showthread.php?t=$clastth[1]'><font size='2'><b> $clastth[0] </a><font color='blue'> :: </b></font></font>";
}}
$lastopics.="</marquee><b>";
?>[/PHP]
Mar 8 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.