4,494
edits
(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:// | $('[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',''); | ||
} | } |