• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 351
  • Last Modified:

How to do a ctrl+F with a link

I would like to put a link on my website that does a control F (find).  Is there any way to do this with JAVA, ASP, or HTML?
0
philwants2bgolfn
Asked:
philwants2bgolfn
  • 4
  • 2
1 Solution
 
communicateCommented:
i don't think this is possible. i would love to know if there is a way to do this. javascript has some cool functinos for invoking various properties of IE.
there seems to be a findText() method that you can use instead of using CTRL-F to do the same kind of thing. you can read more about it here:

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/methods/findtext.asp

i've never heard of this being possible in java, although there could be something in VB/ActiveX that you could use but I haven't been able to find it.

hope this helps ;)
0
 
philwants2bgolfnAuthor Commented:
I found my own answer.  If any one is curious this is how I did it:

·     I used VB to create a DHTML Application.
·     Next I created a hyperlink that sent “^” & “f”
·     Saved the project
·     Created the dll
·     Then pasted the html code into my current web page
·     And it worked perfectly!
Here is the html code:
<!--METADATA TYPE="MsHtmlPageDesigner" startspan--><object id="DHTMLPage1" classid="clsid:20EDD44B-5A5B-11D7-A858-0000E89AB30D" width=0 height=0></object><!--METADATA TYPE="MsHtmlPageDesigner" endspan--><A id=Hyperlink1 href="" name=Hyperlink1><FONT
size=7>Link</FONT></A>
0
 
philwants2bgolfnAuthor Commented:
communicate:  that really wasn't what I was looking for but thanks for the help

here is the link to the dll file if you want it:
http://www.geocities.com/phil26104/DHTMLProject.zip
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
philwants2bgolfnAuthor Commented:
make sure you right click the link and do save as
0
 
philwants2bgolfnAuthor Commented:
Thanks for mentioning VB I would have never thought of that!
0
 
communicateCommented:
great stuff! thanks for sharing and thanks for the points ;)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now