Columnizer-jQuery-Plugin icon indicating copy to clipboard operation
Columnizer-jQuery-Plugin copied to clipboard

columnizing html5 elements in ie8

Open mmelon opened this issue 11 years ago • 1 comments

I have some <figure> tags in the markup I am columnizing. To style these in ie8 I am using

<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

When I call

$('.columnWrapper').columnize({width:300, lastNeverTallest: true,doneFunc: function() {keepRhythm()} });

with the above included in the head, I get

'nodeType' is null or not an object.

with the html5 shim removed all is fine.

For now am going to replace <figure> with <div class="figure"> but a fix would be brilliant.

Kind regards,
Mike

mmelon avatar Feb 17 '14 11:02 mmelon

are the conditional comments inside the code you're columnizing? if so, can you move that include to the

or elsewhere in the body. i suspect the conditional comments are causing the issue

adamwulf avatar Feb 17 '14 19:02 adamwulf