开发者

Lift's splitting single tags into pairs leads to issues

I'm using Nivo Slider for some html-pages of my 开发者_C百科project. Img tags are inserted by a snippet into the Nivo's div. In all browsers all looks fine - except IE: duplicated images, broken navigation, etc. The cause is that the snippet transforms <img ... /> into <img></img> tag pair. Is there a way not to split single tags into pairs with Scala/Lift during processing?


The answer is to turn off Lift's IE render feature. In Boot.scala:

LiftRules.calcIEMode = () => false
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜