Update: boxed view with one column only

Using this script we can change boxed view to 1 item per line instead of 2 items

 

<script type=”text/javascript”>

var boxedview = document.getElementById(“WebPartWPQ1″).innerHTML;

boxedview = boxedview.replace(/<td width=”1.5%”>&nbsp;<\/td>/gi,”<\/tr><tr style=’font-size:6px\;’><td>&nbsp;<\/td><\/tr><tr>”);

boxedview = boxedview.replace(/<td width=”1%”>&nbsp;<\/td>/gi,”<\/tr><tr style=’font-size:6px\;’><td>&nbsp;<\/td><\/tr><tr>”);

boxedview = boxedview.replace(/<td>&nbsp;<\/td>/gi,”<\/tr><tr style=’font-size:6px\;’><td>&nbsp;<\/td><\/tr><tr>”);

 

document.getElementById(“WebPartWPQ1”).innerHTML = boxedview;

</script>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s