quirk or standard mode

Discussion in 'HTML' started by David Graham, Dec 21, 2005.

  1. David Graham

    David Graham Guest

    Hi
    I used to be able to type the line below into the address bar of a browser
    (Opera but works in IE I think)
    javascript:alert(document.compactMode);
    and it would tell me if the browser was in quirks mode or standard mode.
    They all come back as Undefined at the moment.
    Anyone know why?
    thanks
    David
     
    David Graham, Dec 21, 2005
    #1
    1. Advertisements

  2. David Graham <> wrote:

    > I used to be able to type the line below into the address bar of a
    > browser (Opera but works in IE I think)
    > javascript:alert(document.compactMode);

    ^
    > and it would tell me if the browser was in quirks mode or standard
    > mode. They all come back as Undefined at the moment.


    There's a typo. It's document.compatMode

    --
    David Håsäther
     
    David Håsäther, Dec 21, 2005
    #2
    1. Advertisements

  3. David Graham

    David Graham Guest

    "David Håsäther" <> wrote in message
    news:Xns973397778E950davidhasather@195.67.237.53...
    > David Graham <> wrote:
    >
    > > I used to be able to type the line below into the address bar of a
    > > browser (Opera but works in IE I think)
    > > javascript:alert(document.compactMode);

    > ^
    > > and it would tell me if the browser was in quirks mode or standard
    > > mode. They all come back as Undefined at the moment.

    >
    > There's a typo. It's document.compatMode
    >
    > --
    > David Håsäther

    Thank you very much.
    David
     
    David Graham, Dec 21, 2005
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Richard
    Replies:
    1
    Views:
    505
  2. Blinky the Shark

    Konqueror Quirk? Safari?

    Blinky the Shark, Feb 18, 2004, in forum: HTML
    Replies:
    9
    Views:
    666
    Blinky the Shark
    Feb 20, 2004
  3. Spartanicus

    IE6 quirk check

    Spartanicus, Jul 16, 2004, in forum: HTML
    Replies:
    2
    Views:
    546
    Spartanicus
    Jul 16, 2004
  4. Steve
    Replies:
    8
    Views:
    551
    John Harrison
    Apr 16, 2004
  5. shaun roe
    Replies:
    2
    Views:
    618
    Andrew Koenig
    Nov 6, 2004
  6. Replies:
    2
    Views:
    476
    VisionSet
    May 24, 2006
  7. John J Lee
    Replies:
    3
    Views:
    817
    bruno at modulix
    Dec 1, 2005
  8. Edward Loper

    mmm-mode, python-mode and doctest-mode?

    Edward Loper, Aug 9, 2007, in forum: Python
    Replies:
    0
    Views:
    653
    Edward Loper
    Aug 9, 2007
Loading...