mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-21 12:19:56 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@638 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bff78231d1
commit
e3be175a52
2 changed files with 5 additions and 5 deletions
|
|
@ -74,7 +74,7 @@ function start_list_gallery() {
|
|||
// resize_scale이 1이 아니면, 즉 리사이즈 되었다면 해당 이미지 클릭시 원본을 새창으로 띄워줌
|
||||
if(resize_scale!=1) {
|
||||
obj.image.style.cursor = 'pointer';
|
||||
xAddEventListener(obj.image, 'mousedown', showOriginalImage);
|
||||
xAddEventListener(obj.image, 'click', showOriginalImage);
|
||||
}
|
||||
|
||||
zone.appendChild(obj.image);
|
||||
|
|
|
|||
|
|
@ -130,17 +130,17 @@ function display_gallery_image(obj, is_first_display) {
|
|||
}
|
||||
|
||||
if(resize_scale!=1) {
|
||||
xAddEventListener(target_image, 'dblclick', showOriginalImage);
|
||||
xAddEventListener(target_image, 'click', showOriginalImage);
|
||||
target_image.style.cursor = 'pointer';
|
||||
} else {
|
||||
xRemoveEventListener(target_image, 'dblclick', showOriginalImage);
|
||||
xRemoveEventListener(target_image, 'click', showOriginalImage);
|
||||
target_image.style.cursor = 'default';
|
||||
}
|
||||
|
||||
// resize_scale이 1이 아니면, 즉 리사이즈 되었다면 해당 이미지 클릭시 원본을 새창으로 띄워줌
|
||||
var next_idx = obj.idx+1;
|
||||
if(slide_gallery_images[obj.srl].length<=next_idx) next_idx = 0;
|
||||
|
||||
target_image.style.cursor = 'pointer';
|
||||
|
||||
target_image.style.display = "block";
|
||||
|
||||
// srl의 모든 썸네일의 투명도 조절
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue