Log in

View Full Version : Pausing up-down Scroller using ASP and Database



technorocker
10-03-2011, 02:05 PM
Hi all,

I am trying to make this script dynamic using asp. I would like the data from my mysql database to be displayed using the script from your website.

http://www.dynamicdrive.com/dynamicindex2/crosstick.htm

At the moment my code look like this. But when I view the page on the server, it simply doesn't show up at all.


<script type="text/javascript">

//configure the below variable to change the contents of the scroller
var messages=new Array()
<%
dim ctr
ctr=0
While ((Repeat1__numRows <> 0) AND (NOT News.EOF))
%>
pausecontent[<%=ctr%>]='<font face="Arial"><a href="/news.asp?NewsID="& News("NewsID")> <%=(News.Fields.Item("Subject").Value)%></a></font>'
pausecontent[1]='<a href="http://www.codingforums.com">Coding Forums</a><br />Web coding and development forums.'
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
ctr = ctr + 1
News.MoveNext()
Wend
%>
</script>


I would really appreciate any help you can give me.

Regards,
Adam

technorocker
10-03-2011, 07:59 PM
Anyone? :)

technorocker
10-05-2011, 10:35 AM
I could really use a bit of help with this script guys, it's a little urgent.

I would really appreciate it! :)

Adam

technorocker
10-11-2011, 09:37 AM
Is there no member of staff that actually cares here?

I mean, even a post to say "I'm sorry no one has any information for you, try this website"!?

Nice to know new members are appreciated here... :mad: