+ Reply to Thread
Results 1 to 4 of 4

Thread: crossbrowser clusterfk

  1. #1
    garikr's Avatar
    garikr is offline x10Hosting Member garikr is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    46

    crossbrowser clusterfk

    I was messing around with JavaSript's .scrollTop property. document.documentElement.scrollTop works in Opera and FF but doesn't in Chrome. document.body.scrollTop works in Chrome but not in FF and Opera. Ok, not a biggie, a little fork in a script would not hurt. navigator.appName yields "Opera" in Opera, but both Chrome and FF produce "Netscape". Well, no need to panic, plenty of other stuff in navigator to sort these Netscapes out. navigator.Vendor produces "Google Inc" and "Fedora" (guess that's cause FF came with my Linux). I could also learn more about regular expressions and parse navigator.userAgent string. And that's when I decided to boot into my fresh WinXP installation (messed up my old XP partition installing Linux, but that's besides the point) The horror.... In IE6 my page looks nothing like it used to. The background color is all screwed, no .png support, scrollbars in places I didn't even know they could exist. Putting the page on a flashdrive and taking it to my girlfriends new netbook with IE7 produces the same result, except for one position:fixed div which moved to where it kinda supposed to be. So what do I do? Do I forget about all the semi-fancy stuff and make it basic? Do I write loads of ActiveX .png and other workarounds? Do I make different pages and have PHP serve them according to the browser? Or do I turn my back completely on all the IE users of the world? I'm sure most of you have had similar experiences. Any thoughts/suggestions are more than welcome.
    P.S.
    Microsoft should track down every Internet Explorer user and pay them to switch to IE8. Bill can write it off as a charitable donation.

  2. #2
    lemon-tree's Avatar
    lemon-tree is offline x10 Minion lemon-tree has a spectacular aura about
    Join Date
    Nov 2007
    Posts
    1,420

    Re: crossbrowser clusterfk

    Microsoft should track down every Internet Explorer user and pay them to switch to IE8. Bill can write it off as a charitable donation.
    Correction, they should pay them to change to Firefox, Chrome, Safari, Opera, anything but IE. In IE6 no website looks right and no sane person should still be using it; not even Google supports IE6 any more. If I had my way nobody would use Internet Explorer, it is by far the least compliant browser available; if you want to see for yourself go to the Acid Test. I'm running Safari and it scored 100/100.

  3. #3
    marshian's Avatar
    marshian is offline x10 Elder marshian is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Belgium
    Posts
    526

    Re: crossbrowser clusterfk

    Support for png files has already been added to IE7. I've encountered a number of glitches using IE7 too, but they're usually easily fixable with a bit of css and generally not very numerous. IE8 displays most pages quite well, although still not 100% according to the convention. (But they're getting better ;))
    IE6 is old, very old. Even major sites like YouTube have stopped supporting it, or are going to stop doing so soon. IE7 is a major leap forward compared to IE6, it shouldn't give you too much trouble to make your site look correctly in it. Personally, I no longer support IE6. Users using that browser should upgrade, and when they view my site I'll tell them to update, nothing more, nothing less.
    It's quite doable to support IE7 on the other hand, so I still support that, even though users can upgrade to IE8 for free. Don't worry about a few minor defects in older browsers though. Just inform users they should update their browser and you've done more than your job.
    Real programmers don't document their code - if it was hard to write, it should be hard to understand.

  4. #4
    slacker3's Avatar
    slacker3 is offline x10 Sophmore slacker3 is an unknown quantity at this point
    Join Date
    Jul 2009
    Posts
    145

    Smile Re: crossbrowser clusterfk

    Quote Originally Posted by garikr View Post
    Bill can write it off as a charitable donation.
    Didn't you know ? Steve "Monkeyboy" Ballmer runs the empire for quite some time now.

    http://www.youtube.com/watch?v=wvsboPUjrGc
    http://www.youtube.com/watch?v=KMU0tzLwhbE



    uh.. i almost forgot..
    http://www.youtube.com/watch?v=8To-6VIJZRE
    Last edited by slacker3; 02-19-2010 at 09:36 AM.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers