Mozilla Destek’te Ara

Destek dolandırıcılığından kaçının. Mozilla sizden asla bir telefon numarasını aramanızı, mesaj göndermenizi veya kişisel bilgilerinizi paylaşmanızı istemez. Şüpheli durumları “Kötüye kullanım bildir” seçeneğini kullanarak bildirebilirsiniz.

Daha Fazlasını Öğren

A Problem with the Quick Find Bar

  • 2 yanıt
  • 1 kişi bu sorunu yaşıyor
  • 7 gösterim
  • Son yanıtı yazan: Yaron

more options

Hi,

I’ve added the following line to userChrome.css, and FF opens the Quick Find Bar with the ‘Find Next’ and ‘Find Previous’ buttons.

.findbar-container > * { display:-moz-box !important; }

With Those buttons, there isn’t enough space in the Quick Bar, and when the description ‘End of Page’ (etc) shows – it is only partially displayed.

How do I change the label text from ‘Quick Search:’ to ‘Find:’?



And apropos the Find Bar.

I have a toolbar button which toggles the Find Bar on and off. I’d like that button to be checked when the Find Bar is visible, and unchecked when it is hidden.

I’ve added the following line to an xul file, and it works perfectly.

<command id="cmd_find" oncommand="gFindBar.onFindCommand(); setFindCkeckState();"/>

For some reason, FF ignores the "cmd_findClose" id.

<command id="cmd_findClose" oncommand="gFindBar.close(); setFindCkeckState ();"/>

Why? Is it possible to add an Event Listener for the Find bar being opened or closed? Can I check and uncheck that button in a css file? (That would be better).


Thanks.

Hi, I’ve added the following line to userChrome.css, and FF opens the Quick Find Bar with the ‘Find Next’ and ‘Find Previous’ buttons. .findbar-container > * { display:-moz-box !important; } With Those buttons, there isn’t enough space in the Quick Bar, and when the description ‘End of Page’ (etc) shows – it is only partially displayed. How do I change the label text from ‘Quick Search:’ to ‘Find:’? And apropos the Find Bar. I have a toolbar button which toggles the Find Bar on and off. I’d like that button to be checked when the Find Bar is visible, and unchecked when it is hidden. I’ve added the following line to an xul file, and it works perfectly. <command id="cmd_find" oncommand="gFindBar.onFindCommand(); setFindCkeckState();"/> For some reason, FF ignores the "cmd_findClose" id. <command id="cmd_findClose" oncommand="gFindBar.close(); setFindCkeckState ();"/> Why? Is it possible to add an Event Listener for the Find bar being opened or closed? Can I check and uncheck that button in a css file? (That would be better). Thanks.

Yaron tarafından tarihinde düzenlendi

Tüm Yanıtlar (2)

more options

I use this command in a PrefBar button to toggle the Find bar on/off

if (gFindBar.hidden) gFindBar.onFindCommand(); else gFindBar.close();
more options

Thanks for the code.

I'd also like the button to be checked if I press Ctrl+F. Any idea? Is it possible to check and uncheck buttons in css?

I appreciate your help.