the css menu is not a problem

Jun 23, 2008

search box config POST or GET method

Hello,
 I purchased the Live Style menu. It's a very quality product. I should have purchased all menus. Can I upgrade my single domain purchase of $33.33 to an All Multidomain Menus purchase of $99.99 by paying only the difference of $66.66?

Is it possible to use the Live Style search box with a script that uses the POST method? For example, this is what I currently use:
%u2039form method='POST' action='http://MyWebsite.com/cgi-bin/site/search.cgi'%u203A%u2039input type='text' name='keywords' size='30'%u203A%u2039input type='submit' value='Search' name='B1'%u203A%u2039/form

%u203A

I have tried many ways, but can't get it to work. I've also tried a few GET methods, but I can't get those to work either. I've searched your impressive list of responses to questions, but can't find the answer after many hours. A search box would be helpful ;]  Thanks for your time.

Gratefully,
Ryan


Answer:


Hi Ryan,
1. Yes, use this special link please:

[ truncated ]

2. A menu can search only with the GET method.

You can easily adapt any GET search, using these steps:

- Test a search form, make a search of "test string"
- Copy a resulting URL from a browser address bar.
- Replace & with %26 in the resulting URL (do not replace, if you keep the DIV id="menu" in an XML file)
- Move the query parameter (q=test+string) to the end of the URL and remove the "test string"

For example a google custom search generates this URL:

http://www.google.com/cse?cx=015076957661366469059%3A4-chnwqi44u
&
cof=FORID%3A0&q=test+string&sa=Search

A menu search button should have this URL:
a href="
http://www.google.com/cse?cx=015076957661366469059%3A4-chnwqi44u
%26
cof=FORID%3A0%26sa=Search%26q="



Regards
Dmitry
f-source.com



No comments: