/    Sign up×
Community /Pin to ProfileBookmark

Help with this site

Hi,

I’ve recently built this website, but recently view it using firefox, and the positioning is all out, it looks fine on IE.

Any help would be greatly appreciated.

Thanks

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@FangMay 17.2004 — This is a JavaScript question.

The script for displaying the menu is designed for Internet Explorer.

For example; in topnavbar.htm there is this function:

function loaddiv(css,div)

{

document.getElementById('Tab_1').className = css;

document.all[div].style.visibility='visible';

}

The second line only works in IE, Mozilla throws an error and halts execution.

You could try changing all similar lines in all pages from:

document.all[div].style.visibility='visible';

to:

document.getElementById(div).style.visibility='visible';

Backup all relevant files before doing this. It's a brute force solution that may work, but don't count on it.
×

Success!

Help @ashers spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.8,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...