S
stumblng.tumblr
Just to get this out of the way immediately, I'm an ignoramus when it
comes to HTML and Javascript.
That said, I've added a Google search box to my blog (http://
stumblng.tumblr.com). It can be used to search either my blog or the
whole web.
When used to search my blog, I want it to return only URLs with the
word "post" in them. When used to search the web, I don't want it to
have that limitation.
I was able to use the code at the following page:
http://www.askdavetaylor.com/modifying_search_strings_google_site_search.html
to impose the limitation on both types of searches.
How should I adapt the Javascript aspect of that code so that the
limitation only applies when the search is of my blog?
Thanks for reading this.
comes to HTML and Javascript.
That said, I've added a Google search box to my blog (http://
stumblng.tumblr.com). It can be used to search either my blog or the
whole web.
When used to search my blog, I want it to return only URLs with the
word "post" in them. When used to search the web, I don't want it to
have that limitation.
I was able to use the code at the following page:
http://www.askdavetaylor.com/modifying_search_strings_google_site_search.html
to impose the limitation on both types of searches.
How should I adapt the Javascript aspect of that code so that the
limitation only applies when the search is of my blog?
Thanks for reading this.