SitePoint Sponsor

User Tag List

Results 1 to 15 of 15

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Jan 2002
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    MacOS X Browsers Having DHTML Problems

    Unfortunately, I don't have a MAC, so I can't see what the problem is, but one of my Web pages does not display correctly on Internet Explorer 5 and Netscape Navigator 6 on MacOS X. The page contains a DHTML scroller that scrolls text in a small text box area. The scroller doesn't work. It works fine on MacOS 9 Internet Explorer 5 and Netscape Navigator 6. It also works fine on Windows browsers.

    The address is www.nourfoundation.com.

    On the right, where it says "Panelists," the content should scroll. I was told by someone that it doesn't work in any browser on MacOS X. This is a problem. Can anyone with any browser on MacOS X verify that this problem is true.

    I will make a quick fix by using Javascript and redirecting MacOS X users to a non-DHTML home page. Does anyone know the javascript that detects MacOS X specifically (not just MacOS), and redirects the user to the correct page? Any help is greatly appreciated. Thanks.

  2. #2
    Wanna-be Apple nut silver trophy M. Johansson's Avatar
    Join Date
    Sep 2000
    Location
    Halmstad, Sweden
    Posts
    7,400
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Well, this doesn't really help you, but I think you should remove the feature altogether. DHTML always, always, always results in compatibility problems, and should only be used if it has a real benefit, and in this case, I really don't see the point. The scrolling of the box is just annoying, and could easily be replaced by using a scrolling <div> instead.
    Mattias Johansson
    Short, Swedish, Web Developer

    Buttons and Dog Tags with your custom design:
    FatStatement.com

  3. #3
    Drupaler bronze trophy greg.harvey's Avatar
    Join Date
    Jul 2002
    Location
    London, UK
    Posts
    3,258
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I thought he is using a scrolling DIV?



    *sigh* Can't help anyway -- I have OS 9. Why can't someone (other than Opera for OS 9) make a decent Mac browser?!

  4. #4
    Wanna-be Apple nut silver trophy M. Johansson's Avatar
    Join Date
    Sep 2000
    Location
    Halmstad, Sweden
    Posts
    7,400
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by greg.harvey
    I thought he is using a scrolling DIV?
    Oh sorry, I meant a plain div with style

    {overflow: scroll; }

    Hopefully, that should work on Mac.
    Mattias Johansson
    Short, Swedish, Web Developer

    Buttons and Dog Tags with your custom design:
    FatStatement.com

  5. #5
    Grumpy Mole Man Skunk's Avatar
    Join Date
    Jan 2001
    Location
    Lawrence, Kansas
    Posts
    2,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'd recommend ditching the scrolling feature all together.

    <rant>
    I really can't stand that kind of scrolling div script - the ones where a site has it's own graphics for the up/down buttons and you have to hover over them to get it to scroll. Reasons I hate them:
    • It's often not instantly obvious what I should do to scroll them (or even that the section is scrollable)
    • I can't use my mouse wheel.
    • I have no control over the speed at which the element scrolls. I'm an impatient person! I don't want to have to sit there holding my mouse in the same place waiting for the thing to get to the information I want.
    • I can't use my mouse wheel !
    • Most of them have no indicator as to how long the content in the scrollable area is.
    • I can't use my mouse wheel !!
    • They frequently don't work on older browsers.
    • They rely on javascript - what if I have it turned off (for security reasons for example)?
    • They're just plain unnecessary. Iframes, while not perfect, are standards compliant and implement a nice standard interface which I know how to use and (most importantly) is mouse wheel compatible The additional control the designer gets using this effect (allowing them to use customised images and move the interface for scrolling to a different position) just isn't worth the huge negative usability trade off.
    • I can't use my mouse wheel

    </rant>

    Sorry about that, I just needed to get it off my chest

  6. #6
    Drupaler bronze trophy greg.harvey's Avatar
    Join Date
    Jul 2002
    Location
    London, UK
    Posts
    3,258
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)


    I'm with the skunk on this one!

    That said, I do use it sometimes because an Art Director on the project will insist they want the funky little crescent shape to control the scrolling or whatever. I always do my best to talk them out of it, but sometimes I lose ....


  7. #7
    Grumpy Mole Man Skunk's Avatar
    Join Date
    Jan 2001
    Location
    Lawrence, Kansas
    Posts
    2,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hehe I know the feeling - my company are working with a client at the moment who doesn't like headers on sites. We have to put together a design that doesn't feature a header at all...

  8. #8
    Drupaler bronze trophy greg.harvey's Avatar
    Join Date
    Jul 2002
    Location
    London, UK
    Posts
    3,258
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's a well documented fact! Clients are stupid!!

    Best one I ever had was "the page keeps flashing white ... "

    The site had a black background and what they didn't realise they were asking was "why doesn't it load instantly?!"

    It's on the freakin' Internet you idiot!! Nothing loads instantly!

    That's what I wanted to say. Instead I had to calmly explain how the web works, what a server is, differing connection speeds, why there will inevitably be some sort of lag between pages, etc ....

    And then came the killer "but surely there must be something we can do about it .....?"

    *web developer smacks head repeatedly on desk*

  9. #9
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Stupid clients = then then
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev




  10. #10
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, and a side not about the scollers thing, if they are coded correctly, you CAN use your mousewheel with the 'onMouseWheel' event. IE6 only of course
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev




  11. #11
    SitePoint Enthusiast
    Join Date
    Jan 2002
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    DHTML

    I guess there seems to be a consensus that DHTML scrollers are unnecessary. I guess it is kind of unnecessary. I will find out what browsers support iframes. I don't like iframes too much. They kind of remind me of frames even though I understand that they are different.

  12. #12
    Drupaler bronze trophy greg.harvey's Avatar
    Join Date
    Jul 2002
    Location
    London, UK
    Posts
    3,258
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well let me put it this way. When the first windows based systems were put together some of the best minds in the field of interface design got together to work out a universally recognisable way of doing a whole number of things, one of which was scrolling. They pretty much got it right. That's not to say it can't be improved. But changing the convention of scrolling for the sake of it seems to me to only confuse matters.

    (As I said earlier, that's not to say I necessarily practice what I preach! )

    G

  13. #13
    Drupaler bronze trophy greg.harvey's Avatar
    Join Date
    Jul 2002
    Location
    London, UK
    Posts
    3,258
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ps - I like your stupid client definition, beetle!

  14. #14
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, here's one better (maybe)

    "My machine!"- -"You don't deserve a computer!"
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev




  15. #15
    Drupaler bronze trophy greg.harvey's Avatar
    Join Date
    Jul 2002
    Location
    London, UK
    Posts
    3,258
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice!


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
  •