PDA

View Full Version : Help with opening search results in new page...


Holland
11-05-2005, 12:01 AM
Hey everyone, thanks for viewing this post.


I am using the free version of WRENSOFT's ZOOM SEARCH ENGINE. I have my configuration exactly how I want it; however, I would like my results to open in a new window. I'm using the JavaScript method offered, due to my webhost. When I call the search text-area and submit button, I'm using the code ZOOM provided:

<script language="JavaScript">ZoomSearch();</script>

Now, how can I tweak this to open the results in new page. I know I need the target="_blank" behavior, but how do I encorporate this into my webpage.

Any detailed help would be awesome. Thanks everyone!

Great product by the way!



Regards,
Shane Holland

wrensoft
11-05-2005, 12:39 AM
See this FAQ question.
http://www.wrensoft.com/zoom/support/faq_howto.html#newwindow

---
David

Anonymous
11-05-2005, 05:09 AM
David, thanks for the reply.


Yeah, I looked over those earlier and couldn't get the answer, so that's why I posted here. I replaced the code:


<script language="JavaScript">ZoomSearch();</script>



with this code:

<form method="get" action="search3.htm" target="_blank">
<input type="text" name="zoom_searchbox" size="10" />
<input type="submit" name="zoom_button" value="Search" />
</form>



doesn't do anything. Just links me back to the same page, in a new window. The zoom_searchbox and zoom_button are the CSS automatically generated by ZOOM. Any help on what to do to get this working for me?

Holland
11-05-2005, 05:10 AM
Woops, forgot to login up there.

Anyway, I did figure it out, works perfectly now!

Thanks a million David.



Shane Holland