Actually, you can provide any string - which would represent the frame
name - to the setLinkTarget method. Try something like this:
searcher.setLinkTarget('myFrame');
Where searcher, of course, is the search (or SearchControl) object,
and myFrame is the name of the frame you want to open the links in.
Jeremy R. Geerdes
Effective website design & development
Des Moines, IA
For more information or a project quote:
http://jgeerdes.home.mchsi.com
http://jgeerdes.blogspot.com
http://jgeerdes.wordpress.com
[email protected]
Unless otherwise noted, any price quotes contained within this
communication are given in US dollars.
If you're in the Des Moines, IA, area, check out Debra Heights
Wesleyan Church!
And check out my blog, Adventures in Web Development, at
http://jgeerdes.blogspot.com
!
On May 12, 2009, at 5:05 AM, Vikram Kumar wrote:
> I want to open the links in a frame inside my application. Regarding
> this I found in class reference of google ajax search api is only
> that target will open in new window or same window or Top frame but
> i want to open this link in a new window with my domain name i.e.,
> when I click on the link it will open in new window but the URL is
> not of that link , URL is my domain name like www.in.com.
> In class reference I also found for anything-else - "links will open
> in the specified frame or window, e.g., <A href=... target=anything-
> else ...>"
>
> how this I can use..
>
> thanks and regards
> Vikram
>
> --
> विक्रम कुमार........!!!!!!!!!
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google AJAX APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-AJAX-Search-API?hl=en
-~----------~----~----~----~------~----~------~--~---