Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 14th, 2006, 1:20 PM   #1
theverybadprogrammer
Newbie
 
Join Date: May 2006
Posts: 6
Rep Power: 0 theverybadprogrammer is on a distinguished road
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...
theverybadprogrammer is offline   Reply With Quote
Old May 14th, 2006, 2:05 PM   #2
Booooze
Expert Programmer
 
Booooze's Avatar
 
Join Date: Mar 2006
Location: Igloo
Posts: 710
Rep Power: 3 Booooze is on a distinguished road
Send a message via MSN to Booooze
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.
Booooze is offline   Reply With Quote
Old May 14th, 2006, 2:11 PM   #3
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
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
DaWei is offline   Reply With Quote
Old May 14th, 2006, 3:00 PM   #4
theverybadprogrammer
Newbie
 
Join Date: May 2006
Posts: 6
Rep Power: 0 theverybadprogrammer is on a distinguished road
ok thanks... i just used the drop-down menu script off of dynamic drive and replaced the link with a form. it works. thanks.
theverybadprogrammer is offline   Reply With Quote
Old May 14th, 2006, 5:45 PM   #5
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
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...
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old May 14th, 2006, 5:50 PM   #6
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
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
DaWei is offline   Reply With Quote
Old May 14th, 2006, 5:55 PM   #7
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
I swear I won that argument... I'm confused...
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old May 14th, 2006, 5:56 PM   #8
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
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
DaWei is offline   Reply With Quote
Old May 14th, 2006, 8:44 PM   #9
Booooze
Expert Programmer
 
Booooze's Avatar
 
Join Date: Mar 2006
Location: Igloo
Posts: 710
Rep Power: 3 Booooze is on a distinguished road
Send a message via MSN to Booooze
:p

not quite following this.
Booooze is offline   Reply With Quote
Old May 15th, 2006, 1:15 PM   #10
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Nor me. I reckon I won that argument, and DaWei thinks he did. Say we leave it at that and everyone wins?
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:37 PM.

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