vbs与jsp数据传递问题,谢谢!

daoyuanjiao 2011-06-11 09:47:39
我的javascript代码如下:
var cfg={
//width & height of the popup window ,these values should be determined debpended on inner contents.
width : 260,
height : 200,

//distance to the bottom & the right edge.
bottom : 2,
right : 19,

//switch of displaying the popup
display : true,

//content url

<%
dim ID,zytgao
dim sqlAnnounce
dim rsAnnounce
dim AnnounceNum
dim ChannelID
sqlAnnounce="select top 1 * from YC_shouyegg order by ID Desc"
Set rsAnnounce= Server.CreateObject("ADODB.Recordset")
rsAnnounce.open sqlAnnounce,conn,1,1
if rsAnnounce.bof and rsAnnounce.eof then
zytgao="没有通告"
else
AnnounceNum=rsAnnounce.recordcount
dim i
do while not rsAnnounce.eof
zytgao=rsAnnounce("Content")
rsAnnounce.movenext
i=i+1
if i<AnnounceNum then response.write "<hr>"
loop
end if
%>
contentUrl : "这样当然不换行了 ",
//time configuration,in seconds
time : {
slideIn : 1,
hold : 60,
slideOut : 1
}
}

请问我该如何将zytgao赋给contentUrl呢?
谢谢!!!!
...全文
419 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
daoyuanjiao 2011-06-12
  • 打赏
  • 举报
回复
这个难道没有办法?求高手!

87,990

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧