?
Solved

How to do a ctrl+F with a link

Posted on 2003-03-19
6
Medium Priority
?
347 Views
Last Modified: 2012-05-04
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
Comment
Question by:philwants2bgolfn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 2

Accepted Solution

by:
communicate earned 400 total points
ID: 8171266
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
 

Author Comment

by:philwants2bgolfn
ID: 8171446
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
 

Author Comment

by:philwants2bgolfn
ID: 8171494
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
Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

 

Author Comment

by:philwants2bgolfn
ID: 8171504
make sure you right click the link and do save as
0
 

Author Comment

by:philwants2bgolfn
ID: 8177997
Thanks for mentioning VB I would have never thought of that!
0
 
LVL 2

Expert Comment

by:communicate
ID: 8178666
great stuff! thanks for sharing and thanks for the points ;)
0

Featured Post

Application Discovery Service in AWS

In the era of the cloud, customers migrating away from their existing on-premise infrastructure. This requires lots of planning, strategies, and effort to identify their existing resources and determine how best to migrate.  Datacenter migrations happen in four phases -

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question