From: Minoo Date: Fri, 25 Mar 2011 01:09:19 +0000 (-0400) Subject: fixed the width and height of div container of the image -#368 X-Git-Tag: v0.5~15^2~9 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=bda55f19b778920647b0fc4774765963fe39f6e7;p=popcorn-js.git fixed the width and height of div container of the image -#368 --- diff --git a/plugins/image/popcorn.image.html b/plugins/image/popcorn.image.html index 168a4e9..b3059d3 100644 --- a/plugins/image/popcorn.image.html +++ b/plugins/image/popcorn.image.html @@ -53,7 +53,9 @@ -
-
+
+
+
+ diff --git a/plugins/image/popcorn.image.js b/plugins/image/popcorn.image.js index a9065c6..371d9dc 100644 --- a/plugins/image/popcorn.image.js +++ b/plugins/image/popcorn.image.js @@ -60,8 +60,8 @@ } var div = document.createElement( 'div' ); divStyle = { - width : '200px', - height : '200px', + width : '100%', + height : '600px', background : "url( " + options.src + " ) no-repeat ", backgroundSize : '100%', MozBackgroundSize: '100%',