Php

richm8026

New Member
Messages
138
Reaction score
0
Points
0
I'm curious, can you make Slideable Menus using PHP, as in when you click the main Heading button, it'll collapse or expand... I've been wondering this for a while now, and never got around to asking if it's possible
 

Salvatos

Member
Prime Account
Messages
562
Reaction score
1
Points
18
As far as I know that can be used with PHP as well as HTML or anything, but what you use to make it is actually JavaScript, although some people do it with Flash.
I don't think you can do it strictly in PHP but JavaScript has those functions triggered by events that can be used with other languages (if user clicks link, do this, if user hovers mouse, do that, etc.).

I don't know much about JS myself but I know you can easily find tutorials for what you are looking for. Just Google "javascript menu tutorial" for example and you should get plenty.
 
Last edited:

Dan

Active Member
Messages
1,258
Reaction score
0
Points
36
You can make things like that in PHP alone where you click or hover over a button and another menu appears, but it is not possible to make it actually look like it's sliding in PHP, you would need to use Flash or JavaScript for that.
 

freecrm

New Member
Messages
629
Reaction score
0
Points
0
You can make things like that in PHP alone where you click or hover over a button and another menu appears.....

Cool - how?

This has massive implications for dynamic drop-down menus and I would love to know how its done.

I currently use all JS.

By the way - in response to the first post, Javascipt is the better option, rather than flash as the Javascript "interprets" standard menu items which are picked up by search engines easily - this is not the case with flash.
 

Salvatos

Member
Prime Account
Messages
562
Reaction score
1
Points
18
Yep I mentioned Flash 'cause I know some use it but I don't like the idea ^^

And well Dan, you got me curious too :p
 

marshian

New Member
Messages
526
Reaction score
9
Points
0
PHP is server-side, sliding menu's is client-side <-- see my point? You can't use PHP to make sliding menu's... You need some sort of client-side language/application to do that. (JavaScript being a good option.)
 

freecrm

New Member
Messages
629
Reaction score
0
Points
0
PHP is server-side, sliding menu's is client-side <-- see my point? You can't use PHP to make sliding menu's... You need some sort of client-side language/application to do that. (JavaScript being a good option.)

Thought that was the case!
 
Top