How to highlight some text in an iframe by script?

From: Nicky (Nicky_at_discussions.microsoft.com)
Date: 11/23/04


Date: Mon, 22 Nov 2004 20:45:02 -0800

hi, all
I have an iframe in my page. Actually what I want is just like the google
search.
When user clicks search, I will load the a page from another URL into iframe
and then highlight the key words in the iframe.
Does anyone know how to do this? By JS or VBScript?

Thanks



Relevant Pages

  • IFrame access test
    ... The VBScript code below will open a new IE window, load google ... into an IFrame, and attempt to set the query element. ... 'It passes if a message appears in the google input text element ...
    (microsoft.public.win2000.security)
  • Google Adwords-like app with ASP.NET / Index Server
    ... We're implementing a "Google Adwords"-like service for an affiliate ... pass keywords to Google via the SRC attribute of the iFrame. ... Server, along with a simple ExecuteReader command. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: can u read selected text in an iframed google page?!?!?!
    ... bit of code as the html markup passes by, ... proxy to inject markup as needed - fiddlertool allows this) this new ... markup would be a script to gather data, and an iframe where to post ... The script gathers the required info from the google page, ...
    (comp.lang.javascript)
  • AdWords-like Implementation with Index Server
    ... We're implementing a "Google Adwords"-like service for an affiliate ... pass keywords to Google via the SRC attribute of the iFrame. ...
    (microsoft.public.inetserver.indexserver)
  • Re: iFrame
    ... How are the pages with the iframe line generated? ... so probably this is why Google search results are is not affected, ... but search engines do not like hidden elements, ... Something is injecting HTML code in the HTML stream coming from the ...
    (alt.html)