original reinkopiert
This commit is contained in:
534
programmieren/spiele/klick-the-witch/Klick the Witch 1.2.html
Normal file
534
programmieren/spiele/klick-the-witch/Klick the Witch 1.2.html
Normal file
File diff suppressed because one or more lines are too long
@ -248,7 +248,7 @@
|
||||
<br/>
|
||||
<div align='center'>
|
||||
<!-- Spielen-Button -->
|
||||
<button class="button" onclick="window.location.href=`/programmieren/spiele/klick-the-witch/witc1h.html`">
|
||||
<button class="button" onclick="window.location.href=`/programmieren/spiele/klick-the-witch/Klick the Witch 1.2.html`">
|
||||
<div class="button-inner">
|
||||
<span class="button-text"><img src="/icons/playbutton.png" alt="Icon" style="width:20px; height:20px; margin-right:5px;"> Play</span>
|
||||
</div>
|
||||
@ -332,27 +332,27 @@
|
||||
|
||||
// Teilen via WhatsApp
|
||||
function shareViaWhatsApp() {
|
||||
const text = encodeURIComponent('Check out this fantastic game!https://test.creative-crafter.de/programmieren/spiele/klick-the-witch/');
|
||||
const text = encodeURIComponent('Check out this fantastic game!https://www.creative-crafter.de/programmieren/spiele/klick-the-witch/');
|
||||
const url = 'https://api.whatsapp.com/send?text=' + text;
|
||||
window.open(url, '_blank');
|
||||
}
|
||||
|
||||
// Teilen via Telegram
|
||||
function shareViaTelegram() {
|
||||
const text = encodeURIComponent('Check out this fantastic game!https://test.creative-crafter.de/programmieren/spiele/klick-the-witch/');
|
||||
const text = encodeURIComponent('Check out this fantastic game!https://www.creative-crafter.de/programmieren/spiele/klick-the-witch/');
|
||||
const url = 'https://t.me/share/url?url=' + text;
|
||||
window.open(url, '_blank');
|
||||
}
|
||||
|
||||
function shareViaPinterest() {
|
||||
const text = encodeURIComponent('Check out this fantastic game!https://test.creative-crafter.de/programmieren/spiele/klick-the-witch/');
|
||||
const text = encodeURIComponent('Check out this fantastic game!https://www.creative-crafter.de/programmieren/spiele/klick-the-witch/');
|
||||
const url = 'https://pinterest.com/pin/create/button/?url=' + text;
|
||||
window.open(url, '_blank');
|
||||
}
|
||||
|
||||
function shareViaPinterest() {
|
||||
const media = encodeURIComponent('URL_ZU_DEINEM_BILD'); // Ersetze dies durch den tatsächlichen Bild-Link
|
||||
const text = encodeURIComponent('Check out this fantastic game!https://test.creative-crafter.de/programmieren/spiele/klick-the-witch/');
|
||||
const text = encodeURIComponent('Check out this fantastic game!https://www.creative-crafter.de/programmieren/spiele/klick-the-witch/');
|
||||
const url = 'https://pinterest.com/pin/create/button/?url=' + text + '&media=' + media;
|
||||
window.open(url, '_blank');
|
||||
}
|
||||
@ -360,16 +360,16 @@
|
||||
// Teilen via E-Mail
|
||||
function shareViaEmail() {
|
||||
const subject = encodeURIComponent('Klick the Witch');
|
||||
const body = encodeURIComponent('Check out this fantastic game!https://test.creative-crafter.de/programmieren/spiele/klick-the-witch/');
|
||||
const body = encodeURIComponent('Check out this fantastic game!https://www.creative-crafter.de/programmieren/spiele/klick-the-witch/');
|
||||
window.location.href = 'mailto:?subject=' + subject + '&body=' + body;
|
||||
}
|
||||
|
||||
function copyToClipboard() {
|
||||
const text = 'Check out this fantastic game!https://test.creative-crafter.de/programmieren/spiele/klick-the-witch/';
|
||||
const text = 'Check out this fantastic game!https://www.creative-crafter.de/programmieren/spiele/klick-the-witch/';
|
||||
navigator.clipboard.writeText(text).then(function() {
|
||||
alert('Text wurde in die Zwischenablage kopiert!');
|
||||
alert('Text has been copied to the clipboard!');
|
||||
}, function(err) {
|
||||
alert('Fehler beim Kopieren in die Zwischenablage: ', err);
|
||||
alert('Error copying to clipboard!: ', err);
|
||||
});
|
||||
}
|
||||
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 21 KiB |
Binary file not shown.
Before Width: | Height: | Size: 230 KiB After Width: | Height: | Size: 715 KiB |
Binary file not shown.
Before Width: | Height: | Size: 978 KiB After Width: | Height: | Size: 1.1 MiB |
Reference in New Issue
Block a user