Quake III Logo
Posted: Sat Dec 08, 2007 10:33 am
ThanksTesticulese wrote:Either it doesn't work, or it doesn't work in Firefox.
Did you add the face? That looks like a good job.
My screen resolution is 800x600 (till I buy a new monitor ) and my guess is the javascript doesn't compensate for different settings. Even at 800x600 sometimes the alignment is off by 1 or 2 pixels, other times it's perfect - haven't figured out how to fix that.Duper wrote:the layers don't seem to line up. They overlap by a 1/3 or so. And Yeah, I needed to use IE also.
Code: Select all
if(document.all)
Code: Select all
<img src=\"quake2.jpg\" width=\"560\" height=\"400\" border=\"0\">
Code: Select all
<div id=\"Layer2\"...></div>
I really appreciate your help, but I don't have a clue about writing javascript. I just find one I like, paste it in my page and try to make it work the way I want. By the time I got it fixed, Firefox 3 will be out.Wishmaster wrote:It's an IE-only effect, but you can make it work for Firefox.
In your JavaScript, where you have:Add an else statement that'll set b.style.opacity to (a / 100)Code: Select all
if(document.all)
I tried that and the 2nd image won't load, but I had a <center> tag below the code you're talking about and it should have been above it. That seems to have corrected the problem on my computer. I'm probably the last person on the planet with a 800x600 screen resolution, and if that's the issue, I'm not gonna worry about it.As for the overlap problems, just move yourinside this empty tag I found in your document:Code: Select all
<img src="quake2.jpg" width="560" height="400" border="0">
Code: Select all
<div id="Layer2"...></div>