同页面多js循环效果
<%
NewsPic = Collections.Base<Entity.News>.Caches.FindAll(delegate(Entity.News news) { return news.CategoryPath.Contains(",0,6,"); });
pic.Remove(0, pic.Length);
link.Remove(0, link.Length);
Get_pic();
%>
<script type="text/javascript">
<!--
var focus_width=263
var focus_height=242
var text_height=0
var swf_height = focus_height
var pics='<%=pic %>'
var links='<%=link %>'
//-->
</script>
Get_pic();方法为pic link 赋值;
前台js即时获取StringBuilder 变量pic link 时;同意页面多次调用Get_pic();记得在调用前 pic.Remove(0, pic.Length);
link.Remove(0, link.Length);
--今日你博了吗?