#17632578 * 퍼머링크 이동시 효과가 jQuery.effects가 없을 때 오류 수정

* jQuery UI 플러그인을 로드하지않고 가용시에만 동작하도록

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5368 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
bnu 2009-01-15 13:08:27 +00:00
parent 929c645a8c
commit 6e85702d8a

View file

@ -106,7 +106,9 @@
<script type="text/javascript">
jQuery(window).load(function() {
try { location.href=location.href.replace(/#(.+)$/,'')+"#document_"+{$document_srl}; } catch(e) { }
jQuery('#commentBody\\:{$document_srl} .xe_content').effect("highlight", {}, 2000);
if(jQuery.effects && jQuery.effects.highlight) {
jQuery('#commentBody\\:{$document_srl} .xe_content').effect("highlight", { color:'#FFFF00' }, 2500);
}
});
</script>
<!--@end-->