ASP Treeview and mozilla

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

    ASP Treeview and mozilla



    Sample: http://aspfaq.com/treeview

    This works perfectly on Windows IE 6.x and Mac IE.

    However, in order to be cross-platform compatible, I need to make this work
    on Mac Safari and Mozilla Firefox. Could someone point out how to fix this
    code to make it compatible with those aforementioned browsers?

    Thank you.


  • Curt_C [MVP]

    #2
    Re: ASP Treeview and mozilla

    What's it doing? or specifically not doing?

    --
    Curt Christianson
    Owner/Lead Developer, DF-Software
    Site: http://www.Darkfalz.com
    Blog: http://blog.Darkfalz.com


    "Ed" <eddiemarino@ho tmail.com> wrote in message
    news:%23IrNXTBR EHA.1396@TK2MSF TNGP12.phx.gbl. ..[color=blue]
    > http://aspfaq.com/show.asp?id=2311
    >
    > Sample: http://aspfaq.com/treeview
    >
    > This works perfectly on Windows IE 6.x and Mac IE.
    >
    > However, in order to be cross-platform compatible, I need to make this[/color]
    work[color=blue]
    > on Mac Safari and Mozilla Firefox. Could someone point out how to fix[/color]
    this[color=blue]
    > code to make it compatible with those aforementioned browsers?
    >
    > Thank you.
    >
    >[/color]


    Comment

    • Ed

      #3
      Re: ASP Treeview and mozilla

      It does not expand the treeview upon clicking the [+] on the "root" folder.
      This is happening on Mac Safari and Mozilla Firefox.


      "Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
      news:O8s4UACREH A.3124@TK2MSFTN GP12.phx.gbl...[color=blue]
      > What's it doing? or specifically not doing?
      >
      > --
      > Curt Christianson
      > Owner/Lead Developer, DF-Software
      > Site: http://www.Darkfalz.com
      > Blog: http://blog.Darkfalz.com
      >
      >
      > "Ed" <eddiemarino@ho tmail.com> wrote in message
      > news:%23IrNXTBR EHA.1396@TK2MSF TNGP12.phx.gbl. ..[color=green]
      > > http://aspfaq.com/show.asp?id=2311
      > >
      > > Sample: http://aspfaq.com/treeview
      > >
      > > This works perfectly on Windows IE 6.x and Mac IE.
      > >
      > > However, in order to be cross-platform compatible, I need to make this[/color]
      > work[color=green]
      > > on Mac Safari and Mozilla Firefox. Could someone point out how to fix[/color]
      > this[color=green]
      > > code to make it compatible with those aforementioned browsers?
      > >
      > > Thank you.
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • Curt_C [MVP]

        #4
        Re: ASP Treeview and mozilla

        is there an error?
        Show the specific code behind the click....

        Also, you may want to go to a clientside group. If the click isn't posting
        back to the server its not an ASP issue......

        --
        Curt Christianson
        Owner/Lead Developer, DF-Software
        Site: http://www.Darkfalz.com
        Blog: http://blog.Darkfalz.com


        "Ed" <eddiemarino@ho tmail.com> wrote in message
        news:u2$sTDCREH A.2404@TK2MSFTN GP11.phx.gbl...[color=blue]
        > It does not expand the treeview upon clicking the [+] on the "root"[/color]
        folder.[color=blue]
        > This is happening on Mac Safari and Mozilla Firefox.
        >
        >
        > "Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
        > news:O8s4UACREH A.3124@TK2MSFTN GP12.phx.gbl...[color=green]
        > > What's it doing? or specifically not doing?
        > >
        > > --
        > > Curt Christianson
        > > Owner/Lead Developer, DF-Software
        > > Site: http://www.Darkfalz.com
        > > Blog: http://blog.Darkfalz.com
        > >
        > >
        > > "Ed" <eddiemarino@ho tmail.com> wrote in message
        > > news:%23IrNXTBR EHA.1396@TK2MSF TNGP12.phx.gbl. ..[color=darkred]
        > > > http://aspfaq.com/show.asp?id=2311
        > > >
        > > > Sample: http://aspfaq.com/treeview
        > > >
        > > > This works perfectly on Windows IE 6.x and Mac IE.
        > > >
        > > > However, in order to be cross-platform compatible, I need to make this[/color]
        > > work[color=darkred]
        > > > on Mac Safari and Mozilla Firefox. Could someone point out how to fix[/color]
        > > this[color=darkred]
        > > > code to make it compatible with those aforementioned browsers?
        > > >
        > > > Thank you.
        > > >
        > > >[/color]
        > >
        > >[/color]
        >
        >[/color]


        Comment

        • Aaron Bertrand - MVP

          #5
          Re: ASP Treeview and mozilla

          Does http://www.aspfaq.com/treeview2/ work?

          --
          Aaron Bertrand
          SQL Server MVP





          "Ed" <eddiemarino@ho tmail.com> wrote in message
          news:#IrNXTBREH A.1396@TK2MSFTN GP12.phx.gbl...[color=blue]
          > http://aspfaq.com/show.asp?id=2311
          >
          > Sample: http://aspfaq.com/treeview
          >
          > This works perfectly on Windows IE 6.x and Mac IE.
          >
          > However, in order to be cross-platform compatible, I need to make this[/color]
          work[color=blue]
          > on Mac Safari and Mozilla Firefox. Could someone point out how to fix[/color]
          this[color=blue]
          > code to make it compatible with those aforementioned browsers?
          >
          > Thank you.
          >
          >[/color]


          Comment

          • Ed

            #6
            Re: ASP Treeview and mozilla

            Yes! :-)

            What was the problem? And could you update your FAQ example with this?

            Thanks!



            "Aaron Bertrand - MVP" <aaron@TRASHasp faq.com> wrote in message
            news:OlZB3TCREH A.3140@tk2msftn gp13.phx.gbl...[color=blue]
            > Does http://www.aspfaq.com/treeview2/ work?
            >
            > --
            > Aaron Bertrand
            > SQL Server MVP
            > http://www.aspfaq.com/
            >
            >
            >
            >
            > "Ed" <eddiemarino@ho tmail.com> wrote in message
            > news:#IrNXTBREH A.1396@TK2MSFTN GP12.phx.gbl...[color=green]
            > > http://aspfaq.com/show.asp?id=2311
            > >
            > > Sample: http://aspfaq.com/treeview
            > >
            > > This works perfectly on Windows IE 6.x and Mac IE.
            > >
            > > However, in order to be cross-platform compatible, I need to make this[/color]
            > work[color=green]
            > > on Mac Safari and Mozilla Firefox. Could someone point out how to fix[/color]
            > this[color=green]
            > > code to make it compatible with those aforementioned browsers?
            > >
            > > Thank you.
            > >
            > >[/color]
            >
            >[/color]


            Comment

            • Bob Lehmann

              #7
              Re: ASP Treeview and mozilla

              The first one says it has only been tested in IE. If you take a look at
              treeview.js for each of them you'll see why the first one doesn't work in
              non-IE browsers.

              Bob Lehmann

              "Ed" <eddiemarino@ho tmail.com> wrote in message
              news:%23UDUAIMR EHA.3300@TK2MSF TNGP09.phx.gbl. ..[color=blue]
              > Yes! :-)
              >
              > What was the problem? And could you update your FAQ example with this?
              >
              > Thanks!
              >
              >
              >
              > "Aaron Bertrand - MVP" <aaron@TRASHasp faq.com> wrote in message
              > news:OlZB3TCREH A.3140@tk2msftn gp13.phx.gbl...[color=green]
              > > Does http://www.aspfaq.com/treeview2/ work?
              > >
              > > --
              > > Aaron Bertrand
              > > SQL Server MVP
              > > http://www.aspfaq.com/
              > >
              > >
              > >
              > >
              > > "Ed" <eddiemarino@ho tmail.com> wrote in message
              > > news:#IrNXTBREH A.1396@TK2MSFTN GP12.phx.gbl...[color=darkred]
              > > > http://aspfaq.com/show.asp?id=2311
              > > >
              > > > Sample: http://aspfaq.com/treeview
              > > >
              > > > This works perfectly on Windows IE 6.x and Mac IE.
              > > >
              > > > However, in order to be cross-platform compatible, I need to make this[/color]
              > > work[color=darkred]
              > > > on Mac Safari and Mozilla Firefox. Could someone point out how to fix[/color]
              > > this[color=darkred]
              > > > code to make it compatible with those aforementioned browsers?
              > > >
              > > > Thank you.
              > > >
              > > >[/color]
              > >
              > >[/color]
              >
              >[/color]


              Comment

              • Aaron Bertrand - MVP

                #8
                Re: ASP Treeview and mozilla

                > What was the problem? And could you update your FAQ example with this?

                Yes, way ahead of you. I was using an onmousedown event on a <div> and
                Mozilla doesn't get it, so I switched to an <a>


                Comment

                • Dave Anderson

                  #9
                  Re: ASP Treeview and mozilla

                  Aaron Bertrand - MVP wrote:[color=blue][color=green]
                  >> What was the problem? And could you update your FAQ example with
                  >> this?[/color]
                  >
                  > Yes, way ahead of you. I was using an onmousedown event on a <div>
                  > and Mozilla doesn't get it, so I switched to an <a>[/color]

                  There's a bit more to it than that, as the JavaScript console warns:

                  Error: document.all is not a function
                  Source File: http://aspfaq.com/treeview/treeview.js
                  Line: 3




                  --
                  Dave Anderson

                  Unsolicited commercial email will be read at a cost of $500 per message. Use
                  of this email address implies consent to these terms. Please do not contact
                  me directly or ask me to contact you directly for assistance. If your
                  question is worth asking, it's worth posting.


                  Comment

                  • Aaron Bertrand - MVP

                    #10
                    Re: ASP Treeview and mozilla

                    You must be seeing a cached version. If you load that js file directly, and
                    save it locally, you will see that there is no longer any reference to
                    document.all.

                    --
                    Aaron Bertrand
                    SQL Server MVP





                    "Dave Anderson" <GTSPXOESSGOQ@s pammotel.com> wrote in message
                    news:eE6bH0MREH A.2404@TK2MSFTN GP09.phx.gbl...[color=blue]
                    > Aaron Bertrand - MVP wrote:[color=green][color=darkred]
                    > >> What was the problem? And could you update your FAQ example with
                    > >> this?[/color]
                    > >
                    > > Yes, way ahead of you. I was using an onmousedown event on a <div>
                    > > and Mozilla doesn't get it, so I switched to an <a>[/color]
                    >
                    > There's a bit more to it than that, as the JavaScript console warns:
                    >
                    > Error: document.all is not a function
                    > Source File: http://aspfaq.com/treeview/treeview.js
                    > Line: 3
                    >
                    >
                    >
                    >
                    > --
                    > Dave Anderson
                    >
                    > Unsolicited commercial email will be read at a cost of $500 per message.[/color]
                    Use[color=blue]
                    > of this email address implies consent to these terms. Please do not[/color]
                    contact[color=blue]
                    > me directly or ask me to contact you directly for assistance. If your
                    > question is worth asking, it's worth posting.
                    >
                    >[/color]


                    Comment

                    • Dave Anderson

                      #11
                      Re: ASP Treeview and mozilla

                      Aaron Bertrand - MVP wrote:[color=blue]
                      > You must be seeing a cached version. If you load that js file
                      > directly, and save it locally, you will see that there is no longer
                      > any reference to document.all.[/color]

                      I had never looked at it before this thread, so any caching wasn't mine. I
                      do note that it is fixed now, however.



                      --
                      Dave Anderson

                      Unsolicited commercial email will be read at a cost of $500 per message. Use
                      of this email address implies consent to these terms. Please do not contact
                      me directly or ask me to contact you directly for assistance. If your
                      question is worth asking, it's worth posting.


                      Comment

                      Working...