NameSilo

Javascript display: None IE problem

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch

Tree

Established Member
Impact
9
I've got this Javascript

Code:
function naviOff() {
	document.getElementById("clanSub").style.display = "none";
	document.getElementById("communitySub").style.display = "none";
	document.getElementById("downloadsSub").style.display = "none";
	document.getElementById("siSub").style.display = "none";
}

function naviClan() {
	document.getElementById("clanSub").style.display = "block";
	document.getElementById("communitySub").style.display = "none";
	document.getElementById("downloadsSub").style.display = "none";
	document.getElementById("siSub").style.display = "none";
}

function naviCommunity() {
	document.getElementById("clanSub").style.display = "none";
	document.getElementById("communitySub").style.display = "block";
	document.getElementById("downloadsSub").style.display = "none";
	document.getElementById("siSub").style.display = "none";
}

function naviDownloads() {
	document.getElementById("clanSub").style.display = "none";
	document.getElementById("communitySub").style.display = "none";
	document.getElementById("downloadsSub").style.display = "block";
	document.getElementById("siSub").style.display = "none";
}

function naviSI() {
	document.getElementById("clanSub").style.display = "none";
	document.getElementById("communitySub").style.display = "none";
	document.getElementById("downloadsSub").style.display = "none";
	document.getElementById("siSub").style.display = "block";
}

And on each navigational element, I have code like this
Code:
<li onmouseover="naviCommunity()"><a href="#">Community</a></li>

It works wonderfully in FireFox, but not in IE. Here's the page http://www.dishonor-elite.com
 
Last edited:
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back