Αυτός ο ιστότοπος θα έχει περιορισμένη λειτουργικότητα, όσο εκτελούμε εργασίες συντήρησης για να βελτιώσουμε την εμπειρία σας. Αν ένα άρθρο δεν επιλύει το ζήτημά σας και θέλετε να κάνετε μια ερώτηση, η κοινότητα υποστήριξής μας είναι έτοιμη να σας βοηθήσει στο Twitter (@FirefoxSupport) και στο Reddit (/r/firefox).

Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

Autofocus of tabs through javascript

  • 3 απαντήσεις
  • 1 έχει αυτό το πρόβλημα
  • 14 προβολές
  • Τελευταία απάντηση από 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

Όλες οι απαντήσεις (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 ...