+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Php

  1. #1
    richm8026 is offline x10 Sophmore richm8026 is an unknown quantity at this point
    Join Date
    Feb 2008
    Posts
    138

    Php

    Can you write Drop-Down Menus using PHP? I like PHP better than JavaScript, but it appears that JavaScript is the best way to go, if you can use PHP, I'll use that instead =)


  2. #2
    TheMan177 is offline x10 Sophmore TheMan177 is an unknown quantity at this point
    Join Date
    Jan 2008
    Posts
    179

    Re: Php

    An actual drop down menu must use client-side technologies to display in a web browser, PHP is a server side language, it is processed by the server and its output is sent to your web browser. The language itself cannot actually make a menu.

    If you're asking whether its possible, for example, to populate a menu dynamically with PHP, than yes, you certainly can.
    Last edited by TheMan177; 10-25-2008 at 12:45 AM.

  3. #3
    richm8026 is offline x10 Sophmore richm8026 is an unknown quantity at this point
    Join Date
    Feb 2008
    Posts
    138

    Re: Php

    What I was actually asking is if I can create the menus with a Unordered, or Ordered list, and then give the list an ID such as <ul id="menu"> And, then use PHP to make it drop down, but I am assuming you can't do onmouseover events with PHP... Anyway, enough on PHP, how can I make a Vertical Sliding Menu that only functions clicking a link/button???? Not move when you roll the mouse over it, but instead making it so you have to click the Main Heading Button, using JavaScript, After you click the button, the Menu hiding under the main heading is done how?? I also found those type of Menus Fascinating and would love to learn how to do those, using the same ID name MENU, I usually create the menus using CSS, I love to use CSS, so when I use #menu, that's the whole menu stuff which I usually use #menu { position: absolute; } and then so on so forth with the main heading names and sub-menu names, I know this is probably a pretty tedious question, I really don't know the most easiest way to explain it..


  4. #4
    DeadBattery's Avatar
    DeadBattery is offline Community Support Team DeadBattery is a name known to allDeadBattery is a name known to all
    Join Date
    Mar 2008
    Location
    localhost
    Posts
    4,019

    Re: Php

    Thread Moved to Programming Help


  5. #5
    dickey's Avatar
    dickey is offline x10 Sophmore dickey is an unknown quantity at this point
    Join Date
    Sep 2008
    Location
    Singapore
    Posts
    128

    Re: Php

    I can help you but it isn't javascript and it isn't php. If you are interested I can help you with a css/html dropdown menu.
    But I guess it works well when using strict Html. If you are interested post here again.

    edit:

    Seeing that you need a vertical one. hmmm. I need to do a css/html/javascript one. and I'll get back to you maybe later.
    Last edited by dickey; 10-27-2008 at 10:57 PM.

  6. #6
    richm8026 is offline x10 Sophmore richm8026 is an unknown quantity at this point
    Join Date
    Feb 2008
    Posts
    138

    Re: Php

    Thanks, any help/suggestions, I'm willing to accept =) any extra help always works, I'm actually talking about one that has the Main Menu that can only be clicked to display links, not an OnMouseOver Effect, like an MouseOnClick or whatever the mouse command is for that...


  7. #7
    sybregunne is offline x10Hosting Member sybregunne is an unknown quantity at this point
    Join Date
    Feb 2008
    Posts
    54

    Re: Php

    are you sure you don't want the horizontal, hover one? I can give you the code now.

  8. #8
    dickey's Avatar
    dickey is offline x10 Sophmore dickey is an unknown quantity at this point
    Join Date
    Sep 2008
    Location
    Singapore
    Posts
    128

    Re: Php

    Hmm I think I am confused now... I will try googling for an answer. as I cannot seem to make what you are asking for work. I must be doing something wrong. If you find an answer can you post it here also.
    Last edited by dickey; 10-28-2008 at 03:55 AM.

  9. #9
    quantum1's Avatar
    quantum1 is offline x10Hosting Member quantum1 is an unknown quantity at this point
    Join Date
    Sep 2008
    Location
    near Nashville, TN
    Posts
    68

    Re: Php

    This link may get your started:

    http://www.mattkruse.com/javascript/mktree/
    Two rules of development:
    1) Computers work for people; People do not work for computers
    2) Maintainability is all that matters.

  10. #10
    richm8026 is offline x10 Sophmore richm8026 is an unknown quantity at this point
    Join Date
    Feb 2008
    Posts
    138

    Re: Php

    No thanks, I always thought the hover ones are pointless, thanks anyway


+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Ever Been Suspended For Using PHP?
    By dragoneye_xp in forum Off Topic
    Replies: 26
    Last Post: 08-16-2009, 07:17 PM
  2. [PHP] Variables in PHP
    By Bryon in forum Tutorials
    Replies: 15
    Last Post: 01-29-2009, 09:46 AM
  3. currently have an application pending php
    By biomasti in forum Free Hosting
    Replies: 1
    Last Post: 09-03-2008, 01:58 PM
  4. php errors galore
    By DMG Online in forum Scripts & 3rd Party Apps
    Replies: 9
    Last Post: 05-17-2008, 06:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers