cosmic
Beginner


Joined: Nov 25, 2003 Posts: 3
|
Posted: Tue Jan 06, 2004 6:28 am Post subject: External search function |
|
|
I have a need to be able to provide other websites with my gallery search function. This will allow visitors to these other sites to search my site from the site they are currently on.
So far I have the search function working in an iframe like this:
<iframe bgcolor="#000033" src="http://mydomain.com/modules/gallery/searchext.php" width="150" height="100" frameborder="0">
<font color="#FFFFFF">
</font></iframe>
This is perfect, it looks neat and it works but the problem is when the search results are returned, they are returned inside the iframe. What I need to do is have the search results open in a new window to my site but for the life of me I can't work out how to do it. I don't have much experience with coding but I realise that the search.php file will need modifying to get this to work. I also realise that this will effect the search function from my site by having results open in a new window but I can live with that. Anyone know how to do this? Thx.
nuke 6.5 embedded. gal 1.3.4 |
|