Some javascript not working in Firefox

This is a discussion on "Some javascript not working in Firefox" within the JavaScript Forum section. This forum, and the thread "Some javascript not working in Firefox are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Sep 17th, 2007, 20:28
Reputable Member
Join Date: Jul 2007
Location: UK
Posts: 108
Thanks: 2
Thanked 1 Time in 1 Post
Some javascript not working in Firefox

Hi!

I'm putting together a fairly simple page using CSS, with a javascript news scroller which I found on the internet (can't recall where now). Thing is, the news scroller works fine in Safari with and without the CSS and also in IE, but not a dickybird in Firefox. This puzzles me as it's usually Firefox that lets one get away with small errors.

Can anyone advise on why it might not be working?

Here's my page: http://www.jonathanmortimer.co.uk/test/

The stylesheet, not that I think it's the problem: http://www.jonathanmortimer.co.uk/te...t_dodgyjim.css

The javascript thingy: http://www.jonathanmortimer.co.uk/test/newsscroller.js
I have not edited this file in any way. I have forgotten where I originally got it from but have since found it here: http://www.sharepointcustomization.c...er/default.htm


Thanks!
Reply With Quote

  #2 (permalink)  
Old Sep 18th, 2007, 05:45
Rakuli's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Australia
Age: 24
Posts: 956
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Some javascript not working in Firefox

The script is using style.pixelTop and I don't think mozilla browsers recognise this.

I can't find anything on the net to prove that yet but it reminds me of a problem I've had before....

A quick look on the web shows that many people have problems with FF and style.pixelTop though.
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
Reply With Quote
  #3 (permalink)  
Old Sep 18th, 2007, 08:15
Reputable Member
Join Date: Jul 2007
Location: UK
Posts: 108
Thanks: 2
Thanked 1 Time in 1 Post
Thumbs up Re: Some javascript not working in Firefox

Quote:
Originally Posted by Rakuli View Post
A quick look on the web shows that many people have problems with FF and style.pixelTop though.
Ah right, thank you very much! I wouldn't have known where to start with that one. I'll just have to find some other method for my news scroll.
Reply With Quote
  #4 (permalink)  
Old Sep 18th, 2007, 09:37
Rakuli's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Australia
Age: 24
Posts: 956
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Some javascript not working in Firefox

No Problems.

There's many scripts like this out there that will work across all browsers.

My favourite site for javascripts is http://www.dynamicdrive.com

Cheers.
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
Reply With Quote
  #5 (permalink)  
Old Sep 18th, 2007, 10:47
Reputable Member
Join Date: Jul 2007
Location: UK
Posts: 108
Thanks: 2
Thanked 1 Time in 1 Post
Smile Re: Some javascript not working in Firefox

Quote:
Originally Posted by Rakuli View Post
My favourite site for javascripts is http://www.dynamicdrive.com
Thanks for that, found a good little scroller there that's just the job

Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing image not working in Firefox PoetAlley JavaScript Forum 5 Sep 27th, 2007 14:12
Some javascript not working in Firefox jonnymorris Web Page Design 4 Sep 18th, 2007 14:02
javascript working fine in IE but cannot work in Firefox web20tester JavaScript Forum 0 May 21st, 2007 17:37
css not working in firefox NeilW Web Page Design 8 Dec 6th, 2006 13:40
Code not working on firefox acidblue0 Web Page Design 3 Jan 2nd, 2006 20:14


All times are GMT. The time now is 00:03.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43