mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 23:29:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@637 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5aa956dcbf
commit
bff78231d1
6 changed files with 98 additions and 56 deletions
|
|
@ -189,3 +189,17 @@ function move_url(url, open_wnidow) {
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// 본문내에서 컨텐츠 영역보다 큰 이미지의 경우 원본 크기를 보여줌
|
||||
function showOriginalImage(evt) {
|
||||
var e = new xEvent(evt);
|
||||
var obj = e.target;
|
||||
var src = obj.src;
|
||||
|
||||
var image = new Image();
|
||||
image.src = src;
|
||||
var image_width = image.width;
|
||||
var image_height = image.height;
|
||||
|
||||
winopen(src, "SlideShow", "left=10,top=10,scrollbars=yes,resizable=yes,toolbars=no,width="+image_width+",height="+image_height);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue