Ero sivun ”Widget:Fullscreen” versioiden välillä
Järvi-meriwikistä
Rivi 20: | Rivi 20: | ||
var output = '<div class="Xobschartbutton fullscreen-button" style="margin-left: 10px; float: right; border-radius: 50%;"><button title="fullscreen" style="width: 24px; height: 24px; padding: 0; margin: 0; color: #1B599B; background: none; border: none;"><i class="fas fa-expand"></i></button></div>'; | var output = '<div class="Xobschartbutton fullscreen-button" style="margin-left: 10px; float: right; border-radius: 50%;"><button title="fullscreen" style="width: 24px; height: 24px; padding: 0; margin: 0; color: #1B599B; background: none; border: none;"><i class="fas fa-expand"></i></button></div>'; | ||
+ | |||
+ | console.log( output ); | ||
+ | console.log( jQuery( "#<!--{$id|default:Fullscreen|escape:'html'}-->_container" ).length ); | ||
+ | |||
jQuery( "#<!--{$id|default:Fullscreen|escape:'html'}-->_container" ).html( output ); | jQuery( "#<!--{$id|default:Fullscreen|escape:'html'}-->_container" ).html( output ); | ||