SitePoint Sponsor

User Tag List

Results 1 to 17 of 17
  1. #1
    SitePoint Wizard dethfire's Avatar
    Join Date
    Aug 2000
    Posts
    2,477
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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 me
    Free Science Homework Help
    http://www.physicsforums.com

  2. #2
    ********* Wizard silver trophy Cam's Avatar
    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.

  3. #3
    SitePoint Wizard dethfire's Avatar
    Join Date
    Aug 2000
    Posts
    2,477
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    haha, i love browsers, one of the more css compliant browsers has js troubles.
    Free Science Homework Help
    http://www.physicsforums.com

  4. #4
    SitePoint Evangelist Mr. Brownstone's Avatar
    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.

  5. #5
    SitePoint Zealot patrikG's Avatar
    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+.

  6. #6
    ********* Wizard silver trophy Cam's Avatar
    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

  7. #7
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,236
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by patrikG
    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+.
    Yep, document.all[] and document.layers[]. Someone needs to update their scripts!

  8. #8
    SitePoint Wizard dethfire's Avatar
    Join Date
    Aug 2000
    Posts
    2,477
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by vgarcia
    Yep, document.all[] and document.layers[]. Someone needs to update their scripts!
    Take those out and it still doesn't work
    Free Science Homework Help
    http://www.physicsforums.com

  9. #9
    SitePoint Enthusiast kgish's Avatar
    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...

  10. #10
    SitePoint Zealot patrikG's Avatar
    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.

  11. #11
    Prolific Blogger silver trophy Technosailor's Avatar
    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.
    Aaron Brazell
    Technosailor



  12. #12
    SitePoint Wizard dethfire's Avatar
    Join Date
    Aug 2000
    Posts
    2,477
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Sketch
    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.

    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;
    what site has the best up-to-date js tutorials then?
    Free Science Homework Help
    http://www.physicsforums.com

  13. #13
    SitePoint Zealot patrikG's Avatar
    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.
    Old, proprietary (i.e. non-standard compliant) code that is.

    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.

  14. #14
    SitePoint Enthusiast kgish's Avatar
    Join Date
    Dec 2001
    Location
    Gouda, The Netherlands
    Posts
    64
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by patrikG
    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.
    Sorry, I know this is a sensitive subject and it was not my intention to initiate a browser war type of discussion.

    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...

  15. #15
    SitePoint Wizard silver trophy TheOriginalH's Avatar
    Join Date
    Aug 2000
    Location
    Thailand
    Posts
    4,811
    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

  16. #16
    SitePoint Zealot patrikG's Avatar
    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.
    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.

    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;
    what site has the best up-to-date js tutorials then?
    left is a NS4 proprietary tag.

    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.

  17. #17
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,236
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by dethfire
    what site has the best up-to-date js tutorials then?
    http://devedge.netscape.com/central/javascript/
    Read the Javascript references.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •