Results 1 to 5 of 5

Thread: Can we open browsers find window with Active X

  1. #1
    Join Date
    Sep 2007
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Can we open browsers find window with Active X

    Hi All,

    I have to open the browsers find window from with in my application. I googled it but couldn't find any function to open the find window. I am just curious if we can open a window that has same effects as pressing CRTL+F from the browser.

    Thanks,
    Sowjanya.
    Last edited by jscheuer1; 11-15-2007 at 05:40 PM. Reason: Change title to reflect changed focus

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    What one can do in javascript is to make up one's own 'search the text on this page utility'. Due to differences in browsers though, this is rather a complex proposition.

    Here's one that works in IE and FF:

    http://www.dynamicdrive.com/dynamicindex11/findpage.htm
    Last edited by jscheuer1; 11-15-2007 at 05:41 PM. Reason: reflect change of focus of the thread
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Sep 2007
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thanks for your help.

    Thank you for your quick response. So can we do that with Active X controls in IE, i.e when the button is clicked can I invoke that particular Active X control to open the browsers search window?

  4. #4
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    No, activeX doesn't work in 99% of browsers, and 60% of users who can use it disable it.

    Sorry.
    Last edited by boxxertrumps; 11-27-2007 at 06:26 PM. Reason: minor spelling error
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

  5. #5
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Well, that's an odd way of phrasing it. ActiveX only works in IE [on windows at that], and it varies version to version. Lots of people do use IE, so it's not exactly 99% (except that "all but one of all browsers don't have IE"), but, still, many users do have it deactivated, especially anyone with a clue. Only those who don't will use ActiveX and IE.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •