Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. slideshow problem

slideshow problem

Scheduled Pinned Locked Moved Web Development
databasehelpjavascripthtmlsysadmin
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rajiv_kadam
    wrote on last edited by
    #1

    my images are not displayed in slideshow and images are fetched from database and path is also right but stilll images are not displayed please help me <!--#include file="common.asp"--> <html><head></head><body onLoad="scrolls()"> <% OpenDataBase conn sql="select top 1 * from news order by news_id desc" set obj=server.createobject("adodb.recordset") obj.open sql,conn,1,1 x=obj("news_id")-10 sql2="select * from newsimage where newsid>=" & x set obj2=server.CreateObject("adodb.recordset") obj2.open sql2,conn,1,1 while obj2.eof<>true path=path & """../images/" & obj2("imagename") & """," 'c=c+1 obj2.movenext wend path=left(path,len(path)-1) %> <img src="" name="rotateimg"></img> <script language="JavaScript"> arrs=new Array(<%=path%>); counter=0; arrslength=arrs.length; function scrolls() { if(document.rotateimg.complete) { counter++; if(counter==arrslength) { counter=0; } document.rotateimg.src=arrs[counter]; setTimeout("scrolls()",6000); } } </script> </body> </html>

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups