mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-28 15:49:57 +09:00
issue 1309 fixed bug in image gallery with IE8.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10357 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0c586d4d10
commit
3a57aab83e
3 changed files with 20 additions and 13 deletions
|
|
@ -110,6 +110,13 @@ var slideShow = xe.createPlugin('slideShow', {
|
|||
w1 = im.$obj.prop('width');
|
||||
h1 = im.$obj.prop('height');
|
||||
|
||||
if (w1 == 0){
|
||||
w1 = im.$obj.attr('width');
|
||||
}
|
||||
if(h1 ==0){
|
||||
h1 = im.$obj.attr('height');
|
||||
}
|
||||
|
||||
if(w1 > iwidth - 20) {
|
||||
w2 = iwidth - 20;
|
||||
scale = w2 / w1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue