web
共 6 篇文章
style="word-break: break-all;"
If the content of vlaue for some property exceeds size of tb, please use work-break;break-all stydle. <td style="word-break: break-all;"> ${fn:trim(person.firstname)} ${fn:trim(person.minitial)} ${fn:trim(person.lastname)} </td> word-break:break-all 和 word-wrap:break-word都是能使其容器如DIV的内容自动换行。 它们的区别就在…
2010-05-14 14:26 · web
JSTL function
Function Summary boolean contains( java.lang.String, java.lang.String) Tests if an input string contains the specified substring. boolean containsIgnoreCase( java.lang.String, java.lang.String) Tests if an input string contains the specified substring in a case insensitive way. boolean endsWith( ja…
2010-03-30 09:26 · web · Java · XML
JSTL 比教时间
How to deal with break in jsp Sometimes, we have to deal with the break in a for iteration. In jstl, there's no break logic. But we can achieve that by composing the jstl tags. The following is an example: Code: for (int i=pageVariable; i<= showThisMuch;i++) { if (j==10){ break; } } Code: <c:forEac…
2010-03-24 15:36 · web · J# · JSP
How to useJavaScript
1 2 3 放置在事件句柄上 如:onmourseOver, 4 在一个URL上,eg:javascript:
2010-03-08 21:37 · web · JavaScript
unobtrusive JavaScript
无干扰的JavaScript 的首要目的就是保持javascript代码与Html的分离,因此要尽可能的让JavaScript代码在外部成为模块 第二个目标:他必须降低有雅性,脚步应该基于增加html内容来构思和设计。 第三个目标: 它不能降低一个html的可访问性。 pattern:
2010-03-08 21:32 · web · HTML · JavaScript
js实现页面跳转的几种方式
转载 js实现页面跳转的几种方式 收藏 第一种: 第二种: 第三种: 第四种: 第五种: 转:http://blog.csdn.net/qjyong/archive/2007/12/22/1958325.aspx
2010-02-11 16:12 · web · Blog · .net · JSP