Disabling Tab Button Mozilla

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

    #1

    Disabling Tab Button Mozilla

    Hi NG,

    i want to disable tab button and i think that solution is method
    preventDefault( ) but i can't disabled this button.

    temp.addEventLi stener('keydown ',press_key,tru e);
    ........
    function pressKey(event)
    {
    .......
    if (condition)
    event.preventDe fault();
    }

    I have tried with event.returnVal ue=false but it's not work

    Can you help me?

    Thanks

    Stefano
  • Erwin Moller

    #2
    Re: Disabling Tab Button Mozilla

    Stefano wrote:
    [color=blue]
    > Hi NG,
    >
    > i want to disable tab button and i think that solution is method
    > preventDefault( ) but i can't disabled this button.
    >
    > temp.addEventLi stener('keydown ',press_key,tru e);
    > .......
    > function pressKey(event)
    > {
    > ......
    > if (condition)
    > event.preventDe fault();
    > }
    >
    > I have tried with event.returnVal ue=false but it's not work
    >
    > Can you help me?
    >
    > Thanks
    >
    > Stefano[/color]

    Hi Stefano,

    Sorry, I cannot help you with that, but I am wondering why you want to
    disable such a incredable usefull thing as tabs?

    Regards,
    Erwin Moller

    Comment

    • DU

      #3
      Re: Disabling Tab Button Mozilla

      Erwin Moller wrote:[color=blue]
      > Stefano wrote:
      >
      >[color=green]
      >>Hi NG,
      >>
      >>i want to disable tab button[/color][/color]


      Can you explain, detail, justify why you would want or need to do that?
      Maybe tehre is anotehr better solution to your webpage situation.

      DU

      Comment

      • DU

        #4
        Re: Disabling Tab Button Mozilla

        Stefano wrote:
        [color=blue]
        > Hi NG,
        >
        > i want to disable tab button[/color]


        Can you explain, detail, justify why you would want or need to do that?
        Maybe tehre is anotehr better solution to your webpage situation.
        Can you post an url?

        DU

        Comment

        • Stefano

          #5
          Re: Disabling Tab Button Mozilla

          DU <drunclear@hotW IPETHISmail.com > wrote in message news:<c1jlfn$3t 5$1@news.eusc.i nter.net>...[color=blue]
          > Erwin Moller wrote:[color=green]
          > > Stefano wrote:
          > >
          > >[color=darkred]
          > >>Hi NG,
          > >>
          > >>i want to disable tab button[/color][/color]
          >
          >
          > Can you explain, detail, justify why you would want or need to do that?
          > Maybe tehre is anotehr better solution to your webpage situation.
          >[/color]

          I am writting wysawyg editor and in some situations i want
          that tab button is disabled, i wan't that if user pushes a tab button
          nothing happens.
          [color=blue]
          > DU[/color]

          Comment

          • Mark Preston

            #6
            Re: Disabling Tab Button Mozilla

            On 26 Feb 2004 05:52:05 -0800, stemon79@libero .it (Stefano) wrote:
            [color=blue]
            >I am writting wysawyg editor and in some situations i want
            >that tab button is disabled, i wan't that if user pushes a tab button
            >nothing happens.
            >[/color]
            Why would you want that? If you have done a WYSIWIG editor, what you
            care about is what is in the browser window - not how many windows
            they have open or what they are doing with them. The tabs do't matter
            to you.

            Comment

            • Erwin Moller

              #7
              Re: Disabling Tab Button Mozilla

              Mark Preston wrote:
              [color=blue]
              > On 26 Feb 2004 05:52:05 -0800, stemon79@libero .it (Stefano) wrote:
              >[color=green]
              >>I am writting wysawyg editor and in some situations i want
              >>that tab button is disabled, i wan't that if user pushes a tab button
              >>nothing happens.
              >>[/color]
              > Why would you want that? If you have done a WYSIWIG editor, what you
              > care about is what is in the browser window - not how many windows
              > they have open or what they are doing with them. The tabs do't matter
              > to you.[/color]

              Yep.
              I actually still don't understand why stefano want that either...

              Regards,
              Erwin Moller

              Comment

              Working...