html js
danshanpeng
这个作者很懒,什么都没留下…
展开
-
html页面转换为js,作为其他页面引入
今天遇到一使用要求,将html页面以js的形式提供给其它网站使用。其效果类似于iframe. public void achieveId(){ ActionContext ac = ActionContext.getContext(); HttpServletRequest request = (HttpServletRequest) ac.get(ServletActionCont...原创 2013-08-30 14:35:39 · 445 阅读 · 0 评论 -
js 判断div是否启用overflow
var divobj = document.getElementById("ID"); if(divobj.style.height.match(/^\d+/) == "" + divobj.scrollHeight) { document.getElementById("").style.display = "none"; }else{ //overflow } ...原创 2014-09-02 12:03:24 · 1914 阅读 · 0 评论