I would like to add this affiliate product search box on all my pages - but I want to hold the result in a frame. The top frame being my standard header. The bottom frame being the result from the search. This is the search code that I have on my pages and need to modify it to complete the search but load in a new page in a frame. <table align="center" bgcolor="#E2FFE4" style="border: 1px solid #990000" cellpadding="5" summary="equipment and supplies search"> <tr> <td> <font color="#AD3100"><b>Search Our Entire Product Range</b></font><br /><br /> <form action="http://www.qksrv.net/interactive" method="get"> <input type="text" name="mv_searchspec" size="25"> <input type="hidden" name="mv_doit" value="search"> <input type="hidden" name="mv_matchlimit" value="15"> <input type="hidden" name="mv_search_field" value="name,description,note,category,subcategory,sku,manufacturer"><br /> <input type="submit" value="Locate Best Price"> <input type="hidden" name="pid" value="948421"> <input type="hidden" name="url" value="http://www.affiliate.com/store/catalog/search.html"> <input type="hidden" name="aid" value="805721"> </form> How do I target this from a normal html page and when the search is clicked it loads a frame page where the top section is a html page which is just a header. The bottom is the affiliate site with the search function complete. Any html search forms to frame result experts out there? Or is there an easier way?
But that is the affiliate company - commission junction. I dont think the form would process without it and I need the form to complete its function and then have the result page placed into the bottom of a frame. I want to add a search function to my site that pulls up a third party affiliate page and shows the result in a frame page within my domain. Script---------- <form action="http://www.qksrv.net/interactive" method="get"> <input type="text" name="mv_searchspec" size="25"><input type= "hidden" name="mv_doit" value="search"><input type="hidden" name= "mv_matchlimit" value="15"><input type="hidden" name= "mv_search_field" value= "name,description,note,category,subcategory,sku,manufacturer"><br /><input type="submit" value="Locate Best Price"><input type="hidden" name="pid" value= "948000"><input type="hidden" name="url" value= "http://www.merchant.com/store/catalog/search.html"><input type="hidden" name="aid" value="805000"></form> -------------------- I would like it to open in a new html frame page ,,,,,,,,,,,,,,,,,,,,,,,,, <html> <frameset rows="60,*" BORDER=0 FRAMEBORDER=0 FRAMESPACING=0> <frame src="top.html" SCROLLING="no"> <frame src="some php search results script here?" name="bottom"> </frameset> </html>
Ar you sure this is allowed by their TOS? I know they don't like when you frame affiliate pages and similar, most networks don't allow it. You might want to look into it before they cancel your account and you lose your money, they tend to do that a lot these days (CJ).
If they allow it you can use the form to post to your page and then write a php script to use the data the form sends to create a url to pull in to your site. That way its invisible to search engines and your users.