板块分离补充
作者:cmscn 日期:2006-07-23
根据情况,采用<%response.write joekoe_cms.web_dir%>
或者"&joekoe_cms.web_dir&"
或者<%=web_dim(6)%>
或者"&web_dim(6)&"
如果在脚本符号<%和%>之间的内容,就用"&的方式,否则用<%的方式
functions.asp
引用内容
function jk_em(em_frm,em_word)
dim temp1,j
for j=0 to 15
temp1=temp1&"<img src='../"&joekoe_cms.web_dir&"../images/icon/em"&(j+1)&".gif' border=0 align=absMiddle onclick=""javascript:jk_insert_em('[em"&(j+1)&"]','"&em_frm&"','"&em_word&"');"" style=""cursor: hand""> "
next
temp1=temp1&" <font class=gray>[ <a href='###' onclick=""javascript:open_win('../em.asp?"&em_frm&","&em_word&",em','em',300,360,'no');"">更多EM贴图…</a> ]</font>"
jk_em=temp1
end function
dim temp1,j
for j=0 to 15
temp1=temp1&"<img src='../"&joekoe_cms.web_dir&"../images/icon/em"&(j+1)&".gif' border=0 align=absMiddle onclick=""javascript:jk_insert_em('[em"&(j+1)&"]','"&em_frm&"','"&em_word&"');"" style=""cursor: hand""> "
next
temp1=temp1&" <font class=gray>[ <a href='###' onclick=""javascript:open_win('../em.asp?"&em_frm&","&em_word&",em','em',300,360,'no');"">更多EM贴图…</a> ]</font>"
jk_em=temp1
end function
评论: 4 | 引用: 0 | 查看次数: 889
发表评论