Staredit Network

Staredit Network -> Computers and Technical -> More Website issues
Report, edit, etc...Posted by scwizard on 2005-10-12 at 21:23:06
Update: New bug, this one is wierd. On the Slim Jim page the colors refuse to be anything other then the defult for some reason.
I know the CSS is working, so why isn't it changing the colors?

http://homepages.nyu.edu/~pd715/SlimJim.html

As you might notice, the comic script doesn't work at all in FireFox. When you click the next comic button, it doesn't go to the next comic, however it does cycle through the comments. Also, it lets you click the next comic button one more time then you should be able to, before the next button disappears. Hence the "undefined" that you might see. Also, the previous comic button doesn't appear what so ever.

At first I thought it might be because FireFox doesn't support getElementById, but testing showed me that it did.
FAQ question: Why don't you use a better language?
A: Because all the good languages (CGI and such) are server side.

My brother says that part of the reasons is because "FireFox is render once"
BTW, FireFox is not the only incompatible browser, doodle3000 tells me it doesn't work on internet explorer for macs as well.
If your too lazy to download the HTML page, here is the code.
Report, edit, etc...Posted by O)FaRTy1billion on 2005-10-12 at 21:28:06
I found that FF hates some javascripts (and background images...)
Report, edit, etc...Posted by scwizard on 2005-10-12 at 21:30:21
That sucks :Þ

Anyway, if you know away I can detect FireFox, then make some kind of FF backup script or something, let me know.
ADDITION, list:
Compatible browsers:
New versions of internet explorer on PCs.
Safari for macs
Incompatible browsers:
FireFox
Internet explorer for macs
Likely really old browsers nobody uses.
Report, edit, etc...Posted by BSTRhino on 2005-10-13 at 02:42:50
Ah yes, JavaScript, my specialty!

Well first, I don't know how you script works without semicolons at the end. I didn't realise you could do that with JavaScript, but it seems to work to an extent without the semicolons. I think you at least need to add semicolons into your disableMenu and enableMenu functions, they might be causing the code to not be able to display your previous menu link.

Maybe try adding a line before this line:
CODE
comic.src = "Comics/Jim"+CurrComic+".GIF";


So it says this:

CODE
var comic = document.getElementById("comic");
comic.src = "Comics/Jim"+CurrComic+".GIF";


And for that to work you'd need to change this line:
CODE
<img name="comic" src="Comics/Jim1.GIF"><br />


Into this:

CODE
<img id="comic" src="Comics/Jim1.GIF"><br />



QUOTE
My brother says that part of the reasons is because "FireFox is render once"

He's right yeah, but I'm not sure if that really applies to your problem. I did run into that problem though when coding the part of StarCraft.org that collapses the navbar, so it is there.
Report, edit, etc...Posted by scwizard on 2005-10-13 at 12:01:14
Thank you very much Rhino, that fixed all my problems completely.
Now I just need to call up doodle3000 and ask him to test it on iExplore for macs (a frequently used browser to stop n00bs using public mac computer from saying "where's the internet?" when they see Safari and Firefox icons, but no internet explorer icons.)

QUOTE(O)FaRTy1billion @ Oct 12 2005, 08:28 PM)
I found that FF hates some javascripts (and background images...)[right][snapback]332432[/snapback][/right]
I think FF hates javascripts that don't use semicolons.
Report, edit, etc...Posted by O)FaRTy1billion on 2005-10-13 at 22:52:45
AutoStacker uses semicolons. wink.gif IE 5.0 or higher to run it.
EDIT: Now that I meantioned "AutoStacker" I am going to get 500 PMs requesting it... pinch.gif
Report, edit, etc...Posted by scwizard on 2005-10-24 at 17:38:10
New bug, new bump.
Thought it would be a wate of space to start a new topic. It's a pretty minor bug to.
Report, edit, etc...Posted by BSTRhino on 2005-10-24 at 22:23:13
I took a look at your CSS code and I think it's because you need to write colours like this:

CODE
color: #000033;


As opposed to this:

CODE
color: 000033;
Report, edit, etc...Posted by Doodle77(MM) on 2005-10-25 at 16:51:01
Hmm, thats wierd, because in HTML, "#FFFFFF" is the way youre supposed to write it, bu the thing is, it only doesnt work on the Slim Jim page. why?
Report, edit, etc...Posted by scwizard on 2005-10-25 at 16:57:55
He said that we should do it with a pound sign, not that we shouldn't...

Thanks Rhino for some awsome debugging once again.
Next Page (1)