adamwulf / Columnizer-jQuery-Plugin

The Columnizer jQuery Plugin will automatically layout your content in newspaper column format. You can specify either column width or a static number of columns. And, of course, it’s easy to use!
http://welcome.totheinter.net/columnizer-jquery-plugin/
Other
760 stars 147 forks source link

columnizing html5 elements in ie8 #149

Open mmelon opened 10 years ago

mmelon commented 10 years ago

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&quot;&gt;&lt;/script&gt;
<![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

adamwulf commented 10 years ago

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