mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-17 10:19:55 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@642 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a24ef235b8
commit
d25da3ccc3
1 changed files with 3 additions and 3 deletions
|
|
@ -121,9 +121,9 @@ function display_gallery_image(obj, is_first_display) {
|
|||
xWidth(target_image, image_width);
|
||||
xHeight(target_image, image_height);
|
||||
|
||||
if(image_height<180) {
|
||||
target_image.style.marginTop = (180-image_height)+"px";
|
||||
target_image.style.marginBottom = (180-image_height)+"px";
|
||||
if(image_height<200) {
|
||||
target_image.style.marginTop = (100-image_height/2)+"px";
|
||||
target_image.style.marginBottom = (100-image_height/2)+"px";
|
||||
} else {
|
||||
target_image.style.marginTop = "10px";
|
||||
target_image.style.marginBottom = "10px";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue