ie7 and prototype windows

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

    ie7 and prototype windows

    Can anyone tell me why the log in link on the top right of http://sickplaylist.com
    work in firefox, and not in IE7???
  • Thomas 'PointedEars' Lahn

    #2
    Re: ie7 and prototype windows

    ameshkin wrote:
    Can anyone tell me why the log in link on the top right of
    http://sickplaylist.com work in firefox, and not in IE7???
    Probably because it's using Prototype.js, which is junk.


    PointedEars
    --
    Use any version of Microsoft Frontpage to create your site.
    (This won't prevent people from viewing your source, but no one
    will want to steal it.)
    -- from <http://www.vortex-webdesign.com/help/hidesource.htm>

    Comment

    • RobG

      #3
      Re: ie7 and prototype windows

      On Nov 11, 5:19 am, ameshkin <amir.mesh...@g mail.comwrote:
      Can anyone tell me why the log in link on the top right ofhttp://sickplaylist.co m
      work in firefox, and not in IE7???
      Your page has over 3,000 lines of script, plus several thousand more
      of included libraries. There are 26 sniffs for IE (not including those
      in the libraries, which likely double that).

      Consider reading:

      <URL: http://jibbering.com/faq/#posting >


      --
      Rob

      Comment

      • Gregor Kofler

        #4
        Re: ie7 and prototype windows

        ameshkin meinte:
        Can anyone tell me why the log in link on the top right of http://sickplaylist.com
        work in firefox, and not in IE7???
        "missing } after property list"
        in sickplaylist.co m (line 3320)

        Start debugging...


        Gregor

        Comment

        • Thomas 'PointedEars' Lahn

          #5
          Re: ie7 and prototype windows

          Gregor Kofler wrote:
          ameshkin meinte:
          >Can anyone tell me why the log in link on the top right of http://sickplaylist.com
          >work in firefox, and not in IE7???
          >
          "missing } after property list"
          in sickplaylist.co m (line 3320)
          That indicates someone used

          {
          property1: value1,
          property2: value2,
          }

          instead of

          {
          property1: value1,
          property2: value2
          }

          JScript does not support the JavaScript-proprietary ECMAScript extension of
          trailing comma.
          Start debugging...
          Or searching with a RegExp.


          PointedEars
          --
          Anyone who slaps a 'this page is best viewed with Browser X' label on
          a Web page appears to be yearning for the bad old days, before the Web,
          when you had very little chance of reading a document written on another
          computer, another word processor, or another network. -- Tim Berners-Lee

          Comment

          • Gregor Kofler

            #6
            Re: ie7 and prototype windows

            Thomas 'PointedEars' Lahn meinte:
            That indicates someone used
            >
            {
            property1: value1,
            property2: value2,
            }
            >
            instead of
            >
            {
            property1: value1,
            property2: value2
            }
            >
            JScript does not support the JavaScript-proprietary ECMAScript extension of
            trailing comma.
            I know (it did cost me several hours once...), but I get the error in
            FF/Firebug. I didn't bother to track down line 3320.

            Gregor

            Comment

            • Thomas 'PointedEars' Lahn

              #7
              Re: ie7 and prototype windows

              Gregor Kofler wrote:
              Thomas 'PointedEars' Lahn meinte:
              >JScript does not support the JavaScript-proprietary ECMAScript extension of
              >trailing comma [in Object initializers]
              >
              I know (it did cost me several hours once...), but I get the error in
              FF/Firebug. I didn't bother to track down line 3320.
              One of the nice features of Firebug, though, is that you can click the line
              number of the error message, and get to the offending line :) (No offense
              meant; *this* junk should better be dumped, of course.)


              PointedEars
              --
              Use any version of Microsoft Frontpage to create your site.
              (This won't prevent people from viewing your source, but no one
              will want to steal it.)
              -- from <http://www.vortex-webdesign.com/help/hidesource.htm>

              Comment

              • Gregor Kofler

                #8
                Re: ie7 and prototype windows

                Thomas 'PointedEars' Lahn meinte:
                Gregor Kofler wrote:
                >Thomas 'PointedEars' Lahn meinte:
                >>JScript does not support the JavaScript-proprietary ECMAScript extension of
                >>trailing comma [in Object initializers]
                >I know (it did cost me several hours once...), but I get the error in
                >FF/Firebug. I didn't bother to track down line 3320.
                >
                One of the nice features of Firebug, though, is that you can click the line
                number of the error message, and get to the offending line :) (No offense
                meant; *this* junk should better be dumped, of course.)
                Yes, I know (again). Still, whenever I get errors in script somewhere in
                a *HTML* document, with thousands of lines, I don't even bother to do
                that. Anyway, *now* I did (no more errors in 3320, but that's what I found):

                /*$('login_error _msg').innerHTM L='Login or password incorrect';
                $('login_error_ msg').show();
                Windows.focused Window.updateHe ight();
                new Effect.Shake(Wi ndows.focusedWi ndow.getId());*/
                //return false;
                //alert('succeess !!!');

                Grrrreat.

                Gregor

                Comment

                • ameshkin

                  #9
                  Re: ie7 and prototype windows

                  thanks. I actually figured it out before i read this.

                  Are there any GOOD debugging tools for IE7. Firebug works great for
                  firefox.

                  On Nov 11, 12:49 am, Gregor Kofler <use...@gregork ofler.atwrote:
                  ameshkinmeinte:
                  >
                  Can anyone tell me why the log in link on the top right ofhttp://sickplaylist.co m
                  work in firefox, and not in IE7???
                  >
                  "missing } after property list"
                  in sickplaylist.co m (line 3320)
                  >
                  Start debugging...
                  >
                  Gregor

                  Comment

                  • ameshkin

                    #10
                    Re: ie7 and prototype windows

                    On Nov 11, 1:49 pm, Gregor Kofler <use...@gregork ofler.atwrote:
                    Thomas 'PointedEars' Lahn meinte:
                    >
                    Gregor Kofler wrote:
                    Thomas 'PointedEars' Lahn meinte:
                    >JScript does not support the JavaScript-proprietary ECMAScript extension of
                    >trailing comma [in Object initializers]
                    I know (it did cost me several hours once...), but I get the error in
                    FF/Firebug. I didn't bother to track down line 3320.
                    >
                    One of the nice features of Firebug, though, is that you can click the line
                    number of the error message, and get to the offending line :)  (No offense
                    meant; *this* junk should better be dumped, of course.)
                    Thanks guys.

                    This bug was not caught by firebug...maybe I have my settings off.
                    But I finally fixed it. Now I'm having trouble with a prototype
                    function not working for IE7 on another project.


                    If you go here


                    Click on any item...and then click on submit on the next page, then
                    you will be taken here


                    On this page, clicking on the YES in IE7 will not work. in firefox, it
                    calls a simple ajax function and works fine. In IE7. There are no
                    errors, and nothing happens.



                    Yes, I know (again). Still, whenever I get errors in script somewhere in
                    a *HTML* document, with thousands of lines, I don't even bother to do
                    that. Anyway, *now* I did (no more errors in 3320, but that's what I found):
                    >
                    /*$('login_error _msg').innerHTM L='Login or password incorrect';
                    $('login_error_ msg').show();
                    Windows.focused Window.updateHe ight();
                    new Effect.Shake(Wi ndows.focusedWi ndow.getId());*/
                    //return false;
                    //alert('succeess !!!');
                    >
                    Grrrreat.
                    >
                    Gregor

                    Comment

                    • ameshkin

                      #11
                      Re: ie7 and prototype windows

                      On Nov 11, 1:49 pm, Gregor Kofler <use...@gregork ofler.atwrote:
                      Thomas 'PointedEars' Lahn meinte:
                      >
                      Gregor Kofler wrote:
                      Thomas 'PointedEars' Lahn meinte:
                      >JScript does not support the JavaScript-proprietary ECMAScript extension of
                      >trailing comma [in Object initializers]
                      I know (it did cost me several hours once...), but I get the error in
                      FF/Firebug. I didn't bother to track down line 3320.
                      >
                      One of the nice features of Firebug, though, is that you can click the line
                      number of the error message, and get to the offending line :)  (No offense
                      meant; *this* junk should better be dumped, of course.)
                      Thanks guys.

                      This bug was not caught by firebug...maybe I have my settings off.
                      But I finally fixed it. Now I'm having trouble with a prototype
                      function not working for IE7 on another project.


                      If you go here


                      Click on any item...and then click on submit on the next page, then
                      you will be taken here


                      On this page, clicking on the YES in IE7 will not work. in firefox, it
                      calls a simple ajax function and works fine. In IE7. There are no
                      errors, and nothing happens.



                      Yes, I know (again). Still, whenever I get errors in script somewhere in
                      a *HTML* document, with thousands of lines, I don't even bother to do
                      that. Anyway, *now* I did (no more errors in 3320, but that's what I found):
                      >
                      /*$('login_error _msg').innerHTM L='Login or password incorrect';
                      $('login_error_ msg').show();
                      Windows.focused Window.updateHe ight();
                      new Effect.Shake(Wi ndows.focusedWi ndow.getId());*/
                      //return false;
                      //alert('succeess !!!');
                      >
                      Grrrreat.
                      >
                      Gregor

                      Comment

                      • David Mark

                        #12
                        Re: ie7 and prototype windows

                        On Nov 12, 4:55 pm, ameshkin <amir.mesh...@g mail.comwrote:
                        On Nov 11, 1:49 pm, Gregor Kofler <use...@gregork ofler.atwrote:T homas 'PointedEars' Lahn meinte:
                        >
                        Gregor Kofler wrote:
                        >Thomas 'PointedEars' Lahn meinte:
                        >>JScript does not support the JavaScript-proprietary ECMAScript extension of
                        >>trailing comma [in Object initializers]
                        >I know (it did cost me several hours once...), but I get the error in
                        >FF/Firebug. I didn't bother to track down line 3320.
                        >
                        One of the nice features of Firebug, though, is that you can click the line
                        number of the error message, and get to the offending line :)  (No offense
                        meant; *this* junk should better be dumped, of course.)
                        >
                        Thanks guys.
                        >
                        This bug was not caught by firebug...maybe I have my settings off.
                        But I finally fixed it.  Now I'm having trouble with a prototype
                        function not working for IE7 on another project.
                        >
                        Haven't you figured out that Prototype is a time-waster? You know how
                        all of those people out there claim that such libraries save you time,
                        smooth out differences between browsers, etc. Big surprise. They
                        don't have a clue what they are blithering about.

                        Remove Prototype from your Web server(s). Learn to write proper
                        browser scripts, borrowing only from people who know what they are
                        doing and you will be miles ahead of any Prototype (or jQuery) code-
                        rearranger (I occasionally see these scripts listed on resumes
                        alongside JavaScript, CSS, etc. and it is always a red flag.) How
                        long will it take? Depends, among other things, on your aptitude for
                        programming. If you have none, then browser scripting is definitely
                        not for you.

                        Comment

                        Working...