Google trick problem

They have: 3 posts

Joined: Feb 2006

You know how when you load Google you can start typing and the type appears in the text area? How do you do that? I can't figure it out for the life of me! If you load my site (http://www.mysalmonarm.com) it doesn't do it so it can't be automatic. If there is some HTML or PHP or other help it would be greatly appreciated!

Busy's picture

He has: 6,151 posts

Joined: May 2001

google uses javascript for that
<script>

</script>
and input box has name="q"

can be done with onfocus too

They have: 3 posts

Joined: Feb 2006

I'm using the search thing with a php include. You can see my problem if you go to my site. I have the script in there, it comes up about halfway down the page. It still won't work!

teammatt3's picture

He has: 2,102 posts

Joined: Sep 2003

You have to put that code between the and Wink

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.