Firefox errors

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
Parody
Forum Contributor
Posts: 252
Joined: Fri May 06, 2005 7:06 pm
Location: Great Britain

Firefox errors

Post by Parody »

I've spent the last few weeks organising and writing an ajax search which I have been testing in Internet Explorer. Everything works fine in IE, but then when I came to test it in firefox the whole design got flipped out and hardly any of the javascript works. I'm probably going to get flamed for picking on firefox, but from a developers point of view it's an annoying, picky, pedantic piece of crap. IE knows what it's meant to do and does it. Firefox needs you to spoon feed it every single character in the way it wants, not what's practical.

Anyway, enough anger.

This is the page: http://www.marcusl.com/testing/search2.php

Open it in IE and you'll see what it's meant to look like. (The alert box is displaying which tabs were hidden 1-4)

Then open it in FF and you'll see what doesn't work. Most of it; and for some reason when you refresh the page the side bar on the left goes weird, use the address bar again and it works. I guess that's just another of FF's quirks.

Despite this, I need the page to work in firefox just as well as it does in IE. One thing that I noticed first was the alignment of the divs, but I solved that using tables (how web 1.0 of me :D). Secondly, the javascript wasn't working for selecting the tabs. Then what just pushed me over the edge was that it wouldn't even give me an alert box that I was using to debug the tab problem. ARGH!!!

I've tried a few things and none of them seem to solve the whole problem, they do one tiny bit and then mess something else up. I put the page through the W3C validator tidy app and it gave me a page which would be impossible to edit due to overlapping styles and incomprehensible code.

What happened to keeping things simple :?:

As always; any help is greatly appreciated :D

Sorry firefox users
Post Reply