我的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呢?
谢谢!!!!
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呢?
谢谢!!!!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货