 |
|
 |
You can easily pop up your search results into a new window. Just add the target="_blank" code to the form tag in your cut and paste search box that starts from your pages, as seen here:
<form method="GET" target="_blank" action="/cgi-bin/ts.pl">
This is the HTML instruction to put the search results in a new window,
on top of your own website. It'll be a bit smaller, and it'll be a
fully functional browser which can then be searched within further. You
can also send the target of the search results pages themselves to a
new blank or other window everytime, see the Configure Results section
in your Account Manager. And for related frames information, see How to target PicoSearch in Frames.
If you want to totally control the pop up in terms of location and size
and appearance, that will be a little javascript project that can get complicated depending on how you want it to look. The simplest solution would be a text link that pops up the window of your search in a blank initial state by using the One-Click Entrance option in your account manager, then the user can type in their searches from there. Notice in the following code that the index=123456 is your account number, and ts0.pl is the blank call option to your search.
<script type="text/javascript">
// to popUp a window
function popUp(url) {
popupWindow = window.open(
url,'popUpWindow', 'height=600, width=700, left=20,top=20, resizable=yes, scrollbars=yes, toolbar=yes,menubar=no,location=no,directories=no,status=yes')
}
</script>
<a href="JavaScript:popUp('http://www.picosearch.com/cgi-bin/ts0.pl?index=123456');">Search Our Site</a>
If you want the search box on your page to do the popup, then javascript needs to fill in the call to PicoSearch with your visitor's search. You can look on the internet for examples of "html javascript popup code" to experiment further and contact us if you need assistance.
|
|
 |
|
 |