MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
(Created page) |
mNo edit summary |
||
| Line 7: | Line 7: | ||
// Add the image markup to the div with CSS for size adjustment | // Add the image markup to the div with CSS for size adjustment | ||
imageDiv.innerHTML = '<a href="/Kyle" title="Image"><img src="https://skullgirlz.wiki/images/4/44/Kyle_Bloodworth-Thomason.png" style="width: 115px; height: auto;" /></a>'; | imageDiv.innerHTML = '<a href="index.php/Kyle" title="Image"><img src="https://skullgirlz.wiki/images/4/44/Kyle_Bloodworth-Thomason.png" style="width: 115px; height: auto;" /></a>'; | ||
// Append the div to the body | // Append the div to the body | ||
document.body.appendChild(imageDiv); | document.body.appendChild(imageDiv); | ||
}); | }); | ||
Revision as of 17:36, 14 May 2024
/* Any JavaScript here will be loaded for all users on every page load. */
/*Kyle image down there*/
$(document).ready(function() {
// Create a div element for the image
var imageDiv = document.createElement('div');
imageDiv.className = 'bottom-left-image';
// Add the image markup to the div with CSS for size adjustment
imageDiv.innerHTML = '<a href="index.php/Kyle" title="Image"><img src="https://skullgirlz.wiki/images/4/44/Kyle_Bloodworth-Thomason.png" style="width: 115px; height: auto;" /></a>';
// Append the div to the body
document.body.appendChild(imageDiv);
});