Hi Gregory,
Do you need to have 2 forms when all you're doing is a
simple get? You could just call openSearchWindow with
either generic.a9.com/query or a9.com/query?
Just wondering,
Brent
--- Gregory Krohne [EMAIL PROTECTED] wrote:
By default, A9 does some tracking on you. There is a
generic version of A9 that doesn't track
(generic.a9.com). This update to the A9 search adds
a switch for generic searches. Plus, it handles the
query string better, due to the quirky way A9
handles the form submit event.
Regards,
Gregory Krohne
--
Protect yourself from spam,
use http://sneakemail.com
-- cut here--
search function=a9
COMMENT
Amazon's A9 search. Uses Google results and adds
Search the book feature.
/COMMENT
nameA9 - The Amazon.com Search/name
categorySearch the Web/category
contributorGregory Krohne/contributor
linkhttp://a9.com//link
email[EMAIL PROTECTED]/email
description
Use A9 to search the web and Search Inside the
Book on Amazon.com. Includes helpful search
history features.
div class=helpboxDescLabelsSwitches:/div
table class=helpboxDescTable
trtd/generic/tdtd - /tdtdSearch
without usage tracking and history/td/tr
/table
div class=helpboxDescLabelsExamples:/div
table class=helpboxDescTable
trtda9 dqsd/td/tr
trtda9 /generic ebay sniping/td/tr
trtda9 job search engines /g/td/tr
/table
/description
form name=a9f
method=get
action=http://a9.com/;
input type=hidden name=q value = /
/form
form name=a9f_g
method=get
action=http://generic.a9.com/;
input type=hidden name=q value= /
/form
script![CDATA[
function a9(q)
{
if( nullArgs(a9, q) )
return;
var args = parseArgs(q, generic);
if ( args.switches.length 0 )
{
switch( args.switches[0].name )
{
case generic:
// document.a9f_g.q.value = args.q;
a9f_g.action =
http://generic.a9.com/; +
escape(args.q);
submitForm(a9f_g);
break;
default:
// document.a9f.q.value = args.q;
a9f.action = http://a9.com/; +
escape(args.q);
submitForm(a9f);
}
}
else
{
// document.a9f.q.value = args.q;
a9f.action = http://a9.com/; + escape(args.q);
submitForm(a9f);
}
}
]]/script
copyright
The following applies if this file is included
and distributed with Dave's Quick Search Deskbar:
Copyright (c) 2002 David Bau; Distributed under
the terms of the GNU Public License, Version 2
(http://www.gnu.org/copyleft/gpl.txt)
/copyright
created_by
This search file was initially created on
04/15/04 at 07:57:46
by Dave's Quick Search Deskbar Search Wizard
version 1.2,
Copyright (c) 2002 Glenn Carr; Distributed under
the terms of the GNU General Public License, Version
2
/created_by
/search
---
This SF.Net email is sponsored by: IBM Linux
Tutorials
Free Linux tutorial presented by Daniel Robbins,
President and CEO of
GenToo technologies. Learn everything from
fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
=== message truncated ===
__
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash
---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
[EMAIL PROTECTED]