Web Hosting Talk







View Full Version : Tabbed search using CSS and Javascript


Sasan
03-13-2009, 05:17 PM
I came across this tutorial:
http://woork.blogspot.com/2008/01/tabbed-search-bar-using-css-and.html
But I'm having trouble wrapping my head around it. How would I go about adding different form actions while keeping them hidden, so that only one search form is showing?
For instance: Let's say I wanted to have the search form on WEB to search Google (I can set up the form) but how do I make it so the action changes when you click on IMAGES (let's say I wanted it to search Google Images - again, I can set up the form for that, but how do I make it so the action changes when clicking the tab?)
Thanks! :)