ok this is my code
for the page that contain the slideshow
----------------------------------------------
Code:
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="fadeslideshow.js">
</script>
<script type="text/javascript">
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1",
dimensions: [250, 180],
<%
//connect to the database
rs.open "select * from mcontents where ctype = 'image'",cn
%>
imagearray: [
["<img src=../../ShowDataFile.asp?rid=<%=rs('rid')%>&ftype=file2 />", "", "", "<%=rs('title')%>"]
],
displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false},
persist: false,
fadeduration: 500,
descreveal: "peekaboo",
togglerid: ""
})
</script>
</head>
<body>
<div id="fadeshow1"></div>
</body>
------------------------------------------
and for the ShowDataFile.asp the view the Binary image contain the following
-------------------------------------------
Code:
if filetype = "file2" then
Response.ContentType = Rs("ContentType2")
Response.BinaryWrite Rs("BinaryData2")
-------------------------------------------
I know that i am writting something wrong
but i dont know how to fixe it please help me
Bookmarks