Results 1 to 4 of 4

Thread: Pausing up-down Scroller using ASP and Database

  1. #1
    Join Date
    May 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Pausing up-down Scroller using ASP and Database

    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.

    Code:
    <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

  2. #2
    Join Date
    May 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Anyone?

  3. #3
    Join Date
    May 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I could really use a bit of help with this script guys, it's a little urgent.

    I would really appreciate it!

    Adam

  4. #4
    Join Date
    May 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs down

    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...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •