![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: May 2006
Posts: 6
Rep Power: 0
![]() |
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... |
|
|
|
|
|
#2 |
|
Expert Programmer
|
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. |
|
|
|
|
|
#3 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Well, it IS the javascript forum; a link with a PHP extension doesn't mean he's asking to DO it in PHP....
![]()
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#4 |
|
Newbie
Join Date: May 2006
Posts: 6
Rep Power: 0
![]() |
ok thanks... i just used the drop-down menu script off of dynamic drive and replaced the link with a form. it works. thanks.
|
|
|
|
|
|
#5 | ||
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Quote:
Quote:
|
||
|
|
|
|
|
#6 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Pssst! You emphasize my point, that there's an acceptable option, thanks!
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#7 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
I swear I won that argument... I'm confused...
|
|
|
|
|
|
#8 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Indeed, you are....
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#9 |
|
Expert Programmer
|
:p
not quite following this. ![]() |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|