Banner bug Fix!! :D

Moderator: xyzzy

Well, I was googling around and I found this:

[spoiler=Bug fix Code!!]<html>
<head>
<title>Image</title>

<script type="text/javascript">

function resizeImage()
{
var window_height = document.body.clientHeight
var window_width = document.body.clientWidth
var image_width = document.images[0].width
var image_height = document.images[0].height
var height_ratio = image_height / window_height
var width_ratio = image_width / window_width
if (height_ratio > width_ratio)
{
document.images[0].style.width = "auto"
document.images[0].style.height = "100%"
}
else
{
document.images[0].style.width = "100%"
document.images[0].style.height = "auto"
}
}
</script>

<body onresize="resizeImage()">
<center><img onload="resizeImage()" margin="0" border="0" src="MyImage.jpg"></center>
</body>


</head>[/spoiler]

I think Hunter would understand this. :P
[youtube]hctOJuG6hgE[/youtube]
Nice find YDH. But...where exactly does this go in? xD
"You might think you know everything there is to know about me.. But really, you're not even close."

"I don't care if this is the end...So...I'll use everything."
Hehe :D

I think everyone know what it is. Sokol, you need to put this into a code (file) where is linked our banner. I will help you with it if you want.
Hunter
Image

Code high, commit sober.
Hunter wrote:
Sokol, you need to put this into a code (file) where is linked our banner.

Ah ok then. Got it.
"You might think you know everything there is to know about me.. But really, you're not even close."

"I don't care if this is the end...So...I'll use everything."

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 433 on Mon Jan 20, 2020 7:45 pm

Users browsing this forum: No registered users and 1 guest