MediaWiki:Gadget-SoundCloud.js — различия между версиями
WikiSysop (обсуждение | вклад) (Новая страница: «$('iframe.soundcloud').each( function() { if ($('#right').height() < $(this).position().top) $(this).width($(this).parent().parent().width()); } );») |
WikiSysop (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
$('iframe.soundcloud').each( function() { | $('iframe.soundcloud').each( function() { | ||
− | if ($(' | + | if ($('.infobox vcard').height() < $(this).position().top) |
$(this).width($(this).parent().parent().width()); | $(this).width($(this).parent().parent().width()); | ||
} ); | } ); |
Версия 23:27, 27 мая 2013
$('iframe.soundcloud').each( function() { if ($('.infobox vcard').height() < $(this).position().top) $(this).width($(this).parent().parent().width()); } );