Export to GitHub

simile-widgets - issue #428

Lenses uses "className" for all IE - but that does not work anymore in IE8 (needs "class")


Posted on Mar 4, 2011 by Helpful Ox

What steps will reproduce the problem? 1. make lens templates with class attributes for styling 2. try it in IE7 and IE8

What is the expected output? What do you see instead? in both IE's "className" attribute is used (instead of "class") - that is needed to make it work in IE7 but in IE8. Code that needs to be changed is in lens.js around line 480.

What version of the product are you using? On what browser and what operating system? SIMILE Exhibit 2.2

Comment #1

Posted on May 2, 2011 by Quick Horse

Hi, just wondering if anybody knows when this bug might be fixed or if there is a workaround? Thanks!

Comment #2

Posted on Jun 23, 2011 by Happy Kangaroo

(No comment was entered for this change.)

Comment #3

Posted on Jun 23, 2011 by Happy Kangaroo

(No comment was entered for this change.)

Comment #4

Posted on Mar 14, 2012 by Massive Rhino

in lens.js, line#418 change from

name = "className";

to

name = "class";

Then the classes come correctly in IE8+.

Comment #5

Posted on Mar 14, 2012 by Massive Rhino

After making the change, you can recreate the budle or edit the exhibit-bundle.js (2.2.0) and make same change on line#4375.

I hope this helps someone struggling on IE8, IE9 to make the lens format work correctly.

Status: New

Labels:
Type-Defect Priority-High Project-Exhibit