Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   JavaScript and Client-Side Browser Scripting (http://www.programmingforums.org/forum23.html)
-   -   Pop-Down search... (http://www.programmingforums.org/showthread.php?t=9762)

theverybadprogrammer May 14th, 2006 12:20 PM

Pop-Down search...
 
Hi...

I have a question...
Im not exactly sure how to explain this, but here we go...
What i want to do is have a link, then when i click it, i want a box to pop out from under it with a search box...
kinda like this...
http://vbstyles.com/forum/index.php?
(click on search)


can someone help me with this?

thanks...

ps: im not sure if i should do this in Javascript or if there is somethingin PHP i could do...

Booooze May 14th, 2006 1:05 PM

you can't do that in PHP. PHP is server side, what you are looking at is all done on the client, so it would have to be done in javascript or vbscript. I would recommend javascript. this looks like the code for that menu:

http://vbstyles.com/forum/clientscri...lletin_menu.js

it's in an external js file. Anyways, as for getting something like that, it's hard to write for an amatuer. Check out DynamicDrive.com, thats where I alwasy go when I need javascript.

DaWei May 14th, 2006 1:11 PM

Well, it IS the javascript forum; a link with a PHP extension doesn't mean he's asking to DO it in PHP.... ;)

theverybadprogrammer May 14th, 2006 2:00 PM

ok thanks... i just used the drop-down menu script off of dynamic drive and replaced the link with a form. it works. thanks.

Ooble May 14th, 2006 4:45 PM

Quote:

Originally Posted by DaWei
Well, it IS the javascript forum; a link with a PHP extension doesn't mean he's asking to DO it in PHP.... ;)

Psst...
Quote:

Originally Posted by theverybadprogrammer
ps: im not sure if i should do this in Javascript or if there is somethingin PHP i could do...


DaWei May 14th, 2006 4:50 PM

Pssst! You emphasize my point, that there's an acceptable option, thanks!

Ooble May 14th, 2006 4:55 PM

I swear I won that argument... I'm confused...

DaWei May 14th, 2006 4:56 PM

Indeed, you are....

Booooze May 14th, 2006 7:44 PM

:p

not quite following this. :rolleyes:

Ooble May 15th, 2006 12:15 PM

Nor me. I reckon I won that argument, and DaWei thinks he did. Say we leave it at that and everyone wins? :D


All times are GMT -5. The time now is 11:38 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC