幻灯片中的图片 链接数据库
来源:互联网 发布:数据采集系统源代码 编辑:程序博客网 时间:2024/05/21 13:54
<table width="345" height="290" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="280" align="center" class="jiaodian"><a target="_self" href="javascript:goUrl()"> <span class="f14b">
<script type="text/javascript">
<%dim sql,rs,strimg,rsimg,imgpath,i
sql="select top 5 * from Sys_new where typeid=4 and visible=1 order by contentorder "
set rs=objdb.runsql_return_rs(sql)
ImgPath=GetImagesCat(4,rs("contentid"),ObjDB,strImg,rsImg)
for i=1 to rs.recordcount
%>
imgUrl<%=i%>="./uploadfile/menu/<%=ImgPath%>";
imgtext<%=i%>="<%=rs("contentname")%>"
imgLink<%=i%>=escape("#");
<%
rs.movenext
next
rs.close
set rs=nothing
%>
var focus_width=345
var focus_height=270
var text_height=18
var swf_height = focus_height+text_height
var pics=imgUrl1+"|"+imgUrl2+"|"+imgUrl3+"|"+imgUrl4+"|"+imgUrl5
var links=imgLink1+"|"+imgLink2+"|"+imgLink3+"|"+imgLink4+"|"+imgLink5
var texts=imgtext1+"|"+imgtext2+"|"+imgtext3+"|"+imgtext4+"|"+imgtext5
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="focus.swf"><param name="quality" value="high"><param name="wmode" value="transparent" />');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
document.write('<embed src="pixviewer.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#F0F0F0" quality="high" width="'+ focus_width +'" height="'+ focus_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'); document.write('</object>');
</script>
</span></a><span id="focustext" class="f14b"> </span> </td>
</tr>
<tr>
<td bgcolor="#FFFFFF"></td>
</tr>
</table>
- 幻灯片中的图片 链接数据库
- JS图片幻灯片效果与数据库链接的动态(两种)
- 图片在网页中的幻灯片显示代码
- discuz幻灯片链接自定义
- android 仿系统图片播放器中的幻灯片播放
- 古树幻灯片图片
- 随机幻灯片图片效果
- 图片幻灯片效果
- 幻灯片:循环播放图片
- UIImageView实现图片幻灯片
- UIImageView实现图片幻灯片
- UIImageView实现图片幻灯片
- UIImageView实现图片幻灯片
- 图片滚动,幻灯片特效
- UIImageView实现图片幻灯片
- 图片滚动 幻灯片
- Jquery图片滚动,幻灯片
- Jquery图片滚动,幻灯片
- javascript 模式对话框
- 采访 Alain 'Lino' Tadros
- MySQL入门学习(五)多表操作
- 如何向SQL Server中保存bmp图象以及读取
- 教你应该如何来对抗MySQL数据库解密高手
- 幻灯片中的图片 链接数据库
- 由图像的灰度化看基本图像处理(1)
- Hibernate+mysql乱码问题解决方案
- 推荐:让你的MySQL数据库彻底与中文联姻
- 在 .NET 中使用 oracle 数据库 事务提交,事务保存点
- 好久没有来了
- 由图像的灰度化看基本图像处理(2)
- Installation Instructions for the Nokia Developer Suite and Series 60 SDKs---Error
- 精细讲解最简便的备份MySQL数据库的方法