aralejs / aralejs.github.io

开放、简单、易用的前端基础类库
http://aralejs.github.io
MIT License
1.37k stars 333 forks source link

raphealJS问题 #190

Closed xfantasy closed 12 years ago

xfantasy commented 12 years ago
paper.circle(10, 10, 5).attr({
     href: "http://www.google.com/",
     target: 'blank'
});

类似这样的代码,在ff/chrome下,会生成<a show="new" href="http://www.google.com/">...</a>的svg代码,能正常在新窗口打开 但是,在万恶的ie下,会生成<shape target="blank" href="http://www.google.com/">...</shape>的代码,但是不能在新窗口打开

求升级raphaelJS这个万恶的bug啊~

popomore commented 12 years ago

不知道用 'show':'new' 可以么

https://github.com/DmitryBaranovskiy/raphael/issues/179

xfantasy commented 12 years ago

show=new正是在svg模式下生成的代码 但是ie下的vml模式时,target='blank'却是不生效的

lifesinger commented 12 years ago

可以反馈给 rahpealjs 官方,这里大家知道怎么解决的,可以帮忙看看。 感谢。

On Tue, Aug 28, 2012 at 11:19 PM, xfantasy notifications@github.com wrote:

show=new正是在svg模式下生成的代码 但是ie下的vml模式时,target='blank'却是不生效的

— Reply to this email directly or view it on GitHubhttps://github.com/alipay/arale/issues/190#issuecomment-8095225.

王保平 / 玉伯(射雕) 送人玫瑰手有余香