Az oldal korlátolt funkcionalitással fog rendelkezni, amíg elvégezzük a felhasználói élményt javító karbantartást. Ha egy leírás nem oldja meg a problémáját, és kérdést tenne fel, akkor a támogatási közösségünk a @FirefoxSupport Twitter oldalon tud segíteni, vagy az /r/firefox oldalon a Redditen.

Támogatás keresése

Kerülje el a támogatási csalásokat. Sosem kérjük arra, hogy hívjon fel egy telefonszámot vagy osszon meg személyes információkat. Jelentse a gyanús tevékenységeket a „Visszaélés bejelentése” lehetőséggel.

További tudnivalók

A témacsoportot lezárták és archiválták. Tegyen fel új kérdést, ha segítségre van szüksége.

Autofocus of tabs through javascript

  • 3 válasz
  • 1 embernek van ilyen problémája
  • 14 megtekintés
  • Utolsó üzenet ettől: philipp

more options

Hi,

We have a critical concern in one of the application we are developing. The functionality works perfect on Google Chrome but it doesn’t work on Firefox (or atleast we are not able to make it work).

Below is our scenario:

1. Application is developed in ASP.NET 2. There are 4 menu items (A,B, C and D) on the application. 3. Each menu items has a parameter which displays different set of information on the page. 4. When we click on say A, it take parameter as 1 and opens a tab. When I click on B, it takes parameter as 1 and open a new tab with other set of information, and so on. 5. Now, then I am on B and already have a A tab open, if I click on A Menu on B, it should automatically redirect to A and the focus should shift on A. 6. Current, we are able to reload the A tab with new parameter, but the focus doesn’t shift on that A tab.

Is there anything we are missing? Request you to please help us here.

Jai

Hi, We have a critical concern in one of the application we are developing. The functionality works perfect on Google Chrome but it doesn’t work on Firefox (or atleast we are not able to make it work). Below is our scenario: 1. Application is developed in ASP.NET 2. There are 4 menu items (A,B, C and D) on the application. 3. Each menu items has a parameter which displays different set of information on the page. 4. When we click on say A, it take parameter as 1 and opens a tab. When I click on B, it takes parameter as 1 and open a new tab with other set of information, and so on. 5. Now, then I am on B and already have a A tab open, if I click on A Menu on B, it should automatically redirect to A and the focus should shift on A. 6. Current, we are able to reload the A tab with new parameter, but the focus doesn’t shift on that A tab. Is there anything we are missing? Request you to please help us here. Jai

Összes válasz (3)

more options

hello Jai, for security reasons websites cannot change focus between windows/tabs in firefox by default. you could try to work around that if you set the dom.disable_window_flip preference in about:config to false, but this would have to be done manually by every user of the application...

more options

Hello Philip, I have set the dom.disable_window_flip preference in about:config to false, but the focus doesn’t shift on another tab.

Please help us here...

more options

we probably cannot help you with issues around development in this venue - you might get better feedback when you ask that question on a site like https://stackoverflow.com ...