Posted
Filed under Htm&Javascript
<iframe id="contentFrame" name="contentFrame" src="about:blank" marginwidth="0" marginheight="0" frameborder="0" width="100%" height="100%" scrolling="no"></iframe>

<div id="content">
... contents ...
</div>
...
<script type="text/javascript">
function init(){
  var doc = document.getElementById('content');
  if(doc.offsetHeight == 0){
  } else {
  pageheight = doc.offsetHeight;
  parent.document.getElementById("contentFrame").height = pageheight+"px";
  }
}
window.onload = function(){
  init();
}
</script>
2013/11/28 16:20 2013/11/28 16:20
Posted
Filed under JSP, JAVA
jstl c:if 공백처리

==> 공백이면
<c:if test="${!empty view.fscastfrontimage}"></c:if>

==>공백이 아니면
<c:if test="${empty view.fscastfrontimage}"></c:if>
2013/11/21 15:47 2013/11/21 15:47
Posted
Filed under Htm&Javascript

구글웹폰트 api를 이용하여 나눔폰트 적용하기

아래 코드를 style.css 파일 상단에 넣고, 폰트를 적용하고 싶은 클래스에 각각 나눔폰트를 지정해주면 됩니다.



2013/11/07 11:45 2013/11/07 11:45