SitePoint Sponsor |
|
User Tag List
Results 1 to 17 of 17
Thread: js problems with firebird?
-
Sep 10, 2003, 21:31 #1
js problems with firebird?
I was following this tutorial tonight:
http://www.pageresource.com/dhtml/jtut1.htm
and it doesn't work in firebird, seems pretty basic to meFree Science Homework Help
http://www.physicsforums.com
-
Sep 11, 2003, 00:03 #2
- Join Date
- Aug 2002
- Location
- Burpengary, Australia
- Posts
- 4,495
- Mentioned
- 0 Post(s)
- Tagged
- 1 Thread(s)
Firebird is still very new and probably wouldn't have the best Javascript/DHTML support around. It will come one day, just not yet I wouldn't think.
-
Sep 11, 2003, 00:25 #3
haha, i love browsers, one of the more css compliant browsers has js troubles.
Free Science Homework Help
http://www.physicsforums.com
-
Sep 11, 2003, 00:58 #4
- Join Date
- May 2002
- Location
- Relative
- Posts
- 452
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
The example doesn’t work in Mozilla 1.5 either.
I’ll delve deeper into the code later, but I’d say it’s more like a case of shoddy coding as opposed to a shoddy browser.Of course, that's just my opinion. I could be wrong.
-
Sep 11, 2003, 02:10 #5
- Join Date
- Aug 2003
- Location
- Sussex, UK
- Posts
- 129
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Looks like an old DHTML-tutorial with IE-proprietary tags to me (document.all) - back from the days when IE4 was bliss as it had some kind of coherent DOM compared to NS4+.
-
Sep 11, 2003, 03:01 #6
- Join Date
- Aug 2002
- Location
- Burpengary, Australia
- Posts
- 4,495
- Mentioned
- 0 Post(s)
- Tagged
- 1 Thread(s)
There you go, shows how much I know
-
Sep 11, 2003, 05:24 #7
Originally Posted by patrikG
Someone needs to update their scripts!
-
Sep 11, 2003, 07:22 #8
Originally Posted by vgarcia
Free Science Homework Help
http://www.physicsforums.com
-
Sep 11, 2003, 11:54 #9
- Join Date
- Dec 2001
- Location
- Gouda, The Netherlands
- Posts
- 64
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Mozilla still has a long ways to go I am afraid...
Kiffin
Your average future-famous kind of guy...
-
Sep 11, 2003, 13:43 #10
- Join Date
- Aug 2003
- Location
- Sussex, UK
- Posts
- 129
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Actually, Mozilla has the best DOM I know (I am not that familiar with Konqueror) - with the Gecko layout engine it uses probably the most W3-standard compliant and advanced engine there is.
In terms of Javascript implementation, IE (and Operah to a much lesser extent) have a long way to go when compared to Mozilla.
I don't have a link handy to prove my point - hope to provide it after the weekend.
-
Sep 11, 2003, 13:45 #11
- Join Date
- Jun 2001
- Location
- Before These Crowded Streets
- Posts
- 9,446
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
how does Mozilla have a long way to go? If the script was standards based it would work fine. You can't plug in old code and expect it to work properly.
-
Sep 11, 2003, 13:53 #12
Originally Posted by Sketch
Is this invaild old code, because this little snipplet doesn't work in firebird
Code:var picture=document.image1; if (picture.left<400) picture.left=400;
Free Science Homework Help
http://www.physicsforums.com
-
Sep 11, 2003, 13:56 #13
- Join Date
- Aug 2003
- Location
- Sussex, UK
- Posts
- 129
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
You can't plug in old code and expect it to work properly.
It comes handy to remember that Javascript was not invented by Microsoft, but Netscape and that, just like CSS, the standards the W3 Consortium set years ago are only now being implemented and abided to.
Just because Mozilla is a relatively "new" browser, doesn't mean it has a buggy DOM-implementation or the like. On the contrary.
To prove my point, create a HTML-document containing:
<html>
<form>
<input type crash>
</form>
</html>
View the file in IE and it will crash the browser. Try it with other browsers and you may get an idea of why standards are important.
-
Sep 11, 2003, 23:44 #14
- Join Date
- Dec 2001
- Location
- Gouda, The Netherlands
- Posts
- 64
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by patrikG
All I know is that from my own experience, whenever I try to implement standards compliant stuff, often enough it just doesn't quite look right in Mozilla and/or Firebird. Too much padding, borders missing top and left, floating elements that do not appear where they are supposed to, that kind of thing.
Could be that I have unknowingly become brain-washed by my bad habits over the years, that I am missing the gist somewhere.
But it is still a touchy area which needs some time before it even gets close to perfection, you have to admit.Kiffin
Your average future-famous kind of guy...
-
Sep 12, 2003, 03:12 #15
- Join Date
- Aug 2000
- Location
- Thailand
- Posts
- 4,810
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
I will admit. But the use of standards compliant css code (even with IE hacks) is closer to internet perfection than we've ever had. Code only for Firebird and you have perfection
~The Artist Latterly Known as Crazy Hamster~
922ee590a26bd62eb9b33cf2877a00df
Currently delving into Django, GIT & CentOS
-
Sep 15, 2003, 05:41 #16
- Join Date
- Aug 2003
- Location
- Sussex, UK
- Posts
- 129
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Sorry, I know this is a sensitive subject and it was not my intention to initiate a browser war type of discussion.
Of course those browsers aren't perfect, but they are a giant's leap further towards that goal.
Is this invaild old code, because this little snipplet doesn't work in firebird
Code:var picture=document.image1; if (picture.left<400) picture.left=400;
I am not very up-to-date on where good online javascript tutorials are, but I would have a look at some at www.webmonkey.com.
-
Sep 15, 2003, 06:33 #17
Originally Posted by dethfire
Read the Javascript references.
Bookmarks