View Full Version : CTRL-F in Web Browser?
Hi guys,
is it possible to do a ctrl-F (find) within a web browser object?
I have absolutely no idea where to begin on this one.
Thank you for any and all feedback!
--HAZ
Corey
10-22-2003, 08:54 PM
Give it a shot and see...
Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)
hehe,
ok - it does not work (without doing anything fancy).
The question I guess I'm asking is: what fancy stuff do I need to do to get it accept a text search for a particular page loaded into a web browser.
Since AMS uses a computers web browser coding, I would suspect that it would also be able to use the search feature... but how?
I suppose the other way would be to write some sort of string comparison script... but I think this is likely over my head.
Best regards,
--HAZ
TJ_Tigger
10-22-2003, 09:17 PM
Since a .html file is basically a text file couldn't you read that file into a string and then perform a String.Search function on that string. You could supply the user with an Edit Field where they could enter their search term and a search button. Then take that word in the edit field and use that to search. Then I suppose you would need to decide if you want them to search for more than one word or not.
Corey
10-22-2003, 09:23 PM
Works perfect here every time... I click anywhere in my web browser object so that I have page focus, press CTRL + F and boom, searchy pops right up... Good ol' searchy...
My guess is you aren't clicking the window so you are still focused on the last window you were at, but that works the same in your standalone browser too, so it's not an AMS issue...
Tigg, good ideas, it gets tricky trying to exclude code from page content when parsing full pages but all you have to do is tag off your content areas before hand and treat your entire page code as a huge delimited string.
Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)
Thanks guys - I can't seem to get the default CTRL-F to work (as Corey suggests) and I'm not sure if I have the schutspa to make a text comparison (and then the focus would have to jump to the target word) script.
Thanks guys!
--HAZ
Brett
10-23-2003, 07:12 AM
Make sure that you are using v4.0.0.5. Previous versions will not support all keystrokes within the Web browser.
Hi Brett,
I just read that right before I saw your post - that sounds PRECISELY like my problem.
thanks for the great lead =) =)
--HAZ
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.