Thanks Jeremy. The issue is the frames/iframes are deprecated and I would like to use elements that are valid in a strict DTD. I found out that the "object" element is the answer but it doesnt seem to work here. Is there no other solution ?
Greatly appreciate your help ! On Dec 7, 2:51 pm, Jeremy Geerdes <[email protected]> wrote: > You can't open a separate page in adivelement. You must use an > iframe contained within thatdivelement. In that case, the process > for setting thelinktargetis exactly the same as it would be for > opening it in a specific window. Give the iframe a name, and pass that > name to the searcher's setLinkTarget method. Thelinkbelow will > provide some more information on the iframe element: > > https://developer.mozilla.org/en/HTML/Element/iframe > > Jeremy R. Geerdes > Effective website design & development > Des Moines, IA > > For more information or a project > quote:http://jgeerdes.home.mchsi.comhttp://jgeerdes.blogspot.comhttp://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, > athttp://jgeerdes.blogspot.com > ! > > On Dec 7, 2009, at 5:45 AM, wunder_y wrote: > > > I have implemented a googlesearchcustomised engine using the Google > > AjaxSearch > > API on my website. > > I would like thelinksembedded in thesearchresults to open in adiv > > and > > not on a new page or on the same page. > > How can isetthelinktargetto a "div" and not a "frame" as frames > > are already > > deprecated. The "object" element also does not seem to work. > > > Any Ideas ? > > > -- > > > 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 > > athttp://groups.google.com/group/google-ajax-search-api?hl=en > > . -- 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.
