Ero sivun ”Widget:Fullscreen” versioiden välillä
Järvi-meriwikistä
Rivi 1: | Rivi 1: | ||
<includeonly> | <includeonly> | ||
<div id="<!--{$id|default:Fullscreen|escape:'html'}-->_container" style="float: right;"></div> | <div id="<!--{$id|default:Fullscreen|escape:'html'}-->_container" style="float: right;"></div> | ||
− | <script type="text/javascript"> | + | <script type="text/javascript"> |
+ | document.write('X'); | ||
(function() { | (function() { | ||
Rivi 17: | Rivi 18: | ||
setTimeout( function(){ <!--{$id|default:Fullscreen|escape:'html'}-->_jQueryTest() }, 300); | setTimeout( function(){ <!--{$id|default:Fullscreen|escape:'html'}-->_jQueryTest() }, 300); | ||
− | function <!--{$id|default:Fullscreen|escape:'html'}-->_func() { | + | function <!--{$id|default:Fullscreen|escape:'html'}-->_func() { |
var output = '<div class="fullscreen-button" style="margin-left: 10px; float: right; border-radius: 50%;"><button id="<!--{$id|default:Fullscreen|escape:'html'}-->_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="fullscreen-button" style="margin-left: 10px; float: right; border-radius: 50%;"><button id="<!--{$id|default:Fullscreen|escape:'html'}-->_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>'; |