MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
Add Omnibar
(Remove old APLcart code)
(Add Omnibar)
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
}
}
if ($('[title="File:Ngn/apl"]').length) {
if ($('[title="File:Ngn/apl"]').length) {
$('[title="File:Ngn/apl"]').replaceWith('<iframe src="https://n9n.gitlab.io/apl/web/" style="height:350px;width:calc(100% - 4px)">');
$('[title="File:Ngn/apl"]').replaceWith('<iframe src="https://abrudz.github.io/ngn-apl/web/" style="height:350px;width:calc(100% - 4px)">');
$('.thumbinner').css('width','');
}
if ($('[title="File:TryAPL"]').length) {
$('[title="File:TryAPL"]').replaceWith('<iframe src="https://tryapl.org" style="height:350px;width:calc(100% - 4px)">');
$('.thumbinner').css('width','');
}
if ($('[title="File:Omnibar"]').length) {
$('[title="File:Omnibar"]').replaceWith('<iframe src="https://omnibar.rubenverg.com/" style="height:350px;width:calc(100% - 4px)">');
$('.thumbinner').css('width','');
$('.thumbinner').css('width','');
}
}

Navigation menu