Why do MAC browsers don't work here?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ranbir Kaur

    Why do MAC browsers don't work here?

    Hi all,

    http://www.gurmatps.org works fine in MSIE6, Opera7, NS7 (for windows)
    Could someone do me the favor and check what may be wrong that it
    doesn't display right in MAC browsers?

    Thanks

    Ranbir


  • Fred Oz

    #2
    Re: Why do MAC browsers don't work here?

    Ranbir Kaur wrote:[color=blue]
    > Hi all,
    >
    > http://www.gurmatps.org works fine in MSIE6, Opera7, NS7 (for windows)
    > Could someone do me the favor and check what may be wrong that it
    > doesn't display right in MAC browsers?
    >
    > Thanks
    >
    > Ranbir
    >
    >[/color]

    You're kidding, right? Several hundred (thousand?) lines of HTML and
    JavaScript, spread across 5 files?

    Unless you are prepared to find roughly where the error is and trim your
    code to a concise example of the issue, no one here is going to waste
    hours debugging your code.

    If it helps, your feature-based browser detection results in Safari
    getting dom = 1 and ns6 = 1.

    Given that the page does display briefly the first time, I'd concentrate
    on this bit:


    //Toggle Layer Visibility
    function toggleVisibilit y(id, NNtype, IEtype, W3Ctype) {
    if (document.getEl ementById) {
    eval("document. getElementById( id).style.visib ility = \"" + W3Ctype + "\"");
    } else {
    if (document.layer s) {
    document.layers[id].visibility = NNtype;
    } else {
    if (document.all) {
    eval("document. all." + id + ".style.visibil ity = \"" + IEtype + "\"");
    }
    }
    }
    }

    Have fun.


    Comment

    • Ranbir Kaur

      #3
      Re: Why do MAC browsers don't work here?

      Thanks. I was actually looking for javascript error messages. The small
      fraction of code you quote is only for an 'onmouseover' effect, since NS
      doesn't support that for <div>, and has nothing at all to do with the actual
      page.

      Is there any incompatibility for IFRAMEs in MAC? I'm putting it together
      piece by piece again, maybe I'll figure it out by myself what may be wrong.

      Thanks again for your effort,

      Ranbir

      In article <41610beb$0$129 8$5a62ac22@per-qv1-newsreader-01.iinet.net.au >,
      Fred Oz wrote:
      [color=blue]
      > Ranbir Kaur wrote:[color=green]
      > > Hi all,
      > >
      > > http://www.gurmatps.org works fine in MSIE6, Opera7, NS7 (for windows)
      > > Could someone do me the favor and check what may be wrong that it
      > > doesn't display right in MAC browsers?[/color]
      >
      > You're kidding, right? Several hundred (thousand?) lines of HTML and
      > JavaScript, spread across 5 files?
      >
      > Unless you are prepared to find roughly where the error is and trim your
      > code to a concise example of the issue, no one here is going to waste
      > hours debugging your code.
      >
      > If it helps, your feature-based browser detection results in Safari
      > getting dom = 1 and ns6 = 1.[/color]




      Comment

      • RobG

        #4
        Re: Why do MAC browsers don't work here?

        Ranbir Kaur wrote:
        [color=blue]
        > Thanks. I was actually looking for javascript error messages. The small[/color]
        [snip]

        I didn't get any JavaScript error messages. Are you logging
        errors? To turn on Safari's debuuger, look here:



        There are a number of other developer tools available too
        once the debug menu is enabled (including a DOM viewer).

        Cheers, Fred.

        Comment

        Working...