웹마스터 팁
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
기본 css 파일 언로드 하기.
2012.04.26 14:58
unload 태그가 안먹히면 이런 임시방편을 사용해보세요..
<script type="text/javascript">
jQuery("link[rel=stylesheet][href*='common/css/xe.min.css']").remove();
</script>
jQuery("link[rel=stylesheet][href*='common/css/xe.min.css']").remove();
</script>
혹시 먹히지 않는다면 아래 방법으로..
<script type="text/javascript">
jQuery(function(){
jQuery("link[rel=stylesheet][href*='common/css/xe.min.css']").remove();
});
</script>
jQuery(function(){
jQuery("link[rel=stylesheet][href*='common/css/xe.min.css']").remove();
});
</script>
첫째는 xe.min.css 파일을 아예 로드하지 않는 방법입니다.
둘째는 파일이 로드된 뒤에 지우는 방식이구요.
허접한 내용이라 올릴까 말까 고민하다가 올립니다 -_-;