Hi Glenn and Nik,

I needed the same functionality in my genealogy addon
because I wanted to have some one specify a place or a
name as a argument like:

ssdi Carr, Glenn /location Santa Clara, CA 

So I took the original parseArgs and modified it so
that it would do what you're interested in doing.

The one limitation I have is that args.q is now
everything before the first /argument and so the
arguments must go after the query string.  That could
be changed by forcing the user to quote the string but
I didn't want to do that because that's one more thing
the user must remember to do and spaces are always
used in locations and names.

The function is called genealogy_parseArgs in
genealogy_lib.js in the genealogy addon.

Brent




__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
DQSD-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dqsd-devel

Reply via email to