Horizontal Plugin is broken -

nbr / 2015-02-05 17:05:39   

Hello Everybody,

It seems, I have lost my horizontal plugin, after I tried to customize it.

While I tried to customize the horizontal plugin, I made a new one (named it horizonta_new.php) and placed it in the plugin folder. Since it did not work, I switched back to the classic horizontal plugin afterwards and now , even the classic horizontal doesn't work. It seems most of my other plugins don't work ever since.

This are the lines, that I copied into the new one:

$(window).resize(function() {
showHeight('window', $(window).height());
function showHeight(ele, h) {
$('.picture img').css( 'height', h -30 );
$('#img-container').css( 'height', h -30 );

}
var sum = 0;
$('.picture img').each(function()
{
sum += $(this).width() +1;

});
$('#img-container').width( sum );

});

Is it possible, that somehow the code snippet ruined my other exhibition formats?

I tried to overwrite my whole plugin folder with my backupm but the problem is still occuring.

I'd be pleased for any advice

thanks a lot

Nils

Website is: nilsbroeer.com

This thread has been closed, thank you.