Anyone can help me?
I'm setting several custom data attributes (for skrollr), everything works fine, but in IE appears this error in the third line: SCRIPT1028: Expected identifier, string or number
There is another way to concatenate the string and the variable ["data-" + h_window] inside a attr()
$(".line").attr({
"data-0": "height:70px; visibility:visible;",
["data-" + h_window]: "height:0px; visibility:hidden;"
});
This error happens for every line similar to the third. block of code Thanks!