I was following this tutorial tonight:
http://www.pageresource.com/dhtml/jtut1.htm
and it doesn't work in firebird, seems pretty basic to me
| SitePoint Sponsor |
I was following this tutorial tonight:
http://www.pageresource.com/dhtml/jtut1.htm
and it doesn't work in firebird, seems pretty basic to me
Free Science Homework Help
http://www.physicsforums.com
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.
haha, i love browsers, one of the more css compliant browsers has js troubles.
Free Science Homework Help
http://www.physicsforums.com



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.

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+.
There you go, shows how much I know![]()
Yep, document.all[] and document.layers[].Originally Posted by patrikG
Someone needs to update their scripts!
Take those out and it still doesn't workOriginally Posted by vgarcia
Free Science Homework Help
http://www.physicsforums.com
Mozilla still has a long ways to go I am afraid...
Kiffin
Your average future-famous kind of guy...

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.
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.
Originally Posted by Sketch
Is this invaild old code, because this little snipplet doesn't work in firebird
what site has the best up-to-date js tutorials then?Code:var picture=document.image1; if (picture.left<400) picture.left=400;
Free Science Homework Help
http://www.physicsforums.com

Old, proprietary (i.e. non-standard compliant) code that is.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.
Sorry, I know this is a sensitive subject and it was not my intention to initiate a browser war type of discussion.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...
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

It isn't my intent either, what I am trying to point out is that Mozilla and Mozilla Firebird are, in my view, superior to every browser I have seen because of a truly hierarchical DOM that other browsers (including IE) are still aspiring to achieve, great adherence to standards, scalability and development and integration of new ideas.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.
left is a NS4 proprietary tag.Is this invaild old code, because this little snipplet doesn't work in firebird
what site has the best up-to-date js tutorials then?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.
http://devedge.netscape.com/central/javascript/Originally Posted by dethfire
Read the Javascript references.![]()
Bookmarks