【问题标题】:RaphaelJS freeTransform IERaphaelJS freeTransform IE
【发布时间】:2011-12-20 13:07:41
【问题描述】:

我正在尝试制作一个转换图像的工具(旋转、调整大小、稍后裁剪)。这也应该适用于 IE7。我决定使用 RaphaelJS

当我使用旋转时出现了一些问题,因为轴移动了,后来我发现有一个插件 freeTransform 正是我需要的。不幸的是,这个功能在 IE7 中似乎中断了,图像开始表现得很奇怪(重复本身,请参阅 jsFiddle 示例)。它适用于其他浏览器。

这里是http://jsfiddle.net/Ef83k/43/的例子

【问题讨论】:

    标签: javascript image internet-explorer-7 transform raphael


    【解决方案1】:

    我在plugin's page on github 上提出了issue。当keepRatio 设置为true 时,它似乎在IE7 中工作。 Here is the fiddle.

    paper.freeTransform(img, {keepRatio: true});​
    

    【讨论】:

      猜你喜欢
      • 2012-03-07
      • 1970-01-01
      • 2011-08-31
      • 1970-01-01
      • 1970-01-01
      • 2012-02-19
      • 1970-01-01
      • 2011-09-15
      • 1970-01-01
      相关资源
      最近更新 更多