본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

A Problem with the Quick Find Bar

  • 2 답장
  • 1 이 문제를 만남
  • 7 보기
  • 최종 답변자: 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 수정일시

모든 댓글 (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.