Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

search text disappear whatev


annispanties

Recommended Posts

Ok, let's see if I can explain this coherantly.

 

You know when you go to a website and they have text already inside a search bar thats a light grey color or whatever and when you click inside the search, like you plan on searching for something, the text disappears?

 

How do I do that?

 

I've looked at websites that have it and they use javascript...which I am totally cool with using, but I don't know where to put it in my files. index? header? (cause my search is in my header) ???

 

Any help would be so awesome. :thumbsup:

Link to comment
Share on other sites

I don't know how the search is embedded to your header, so I can just guess. The usual method is to include the /includes/boxes/search.php to the place where the search should appear. But there are also different other methods to achieve this, depending on templates and what else.

 

So you might take a look at your header.php, how it's implemented there.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...