123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|436|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Web Development -> menu identification?

Mon, 19 Mar 2012, 04:13
spinal
If I have two or more drop down menus with links in them, what is the easiest way to the page being linked to know which menu it came from?

menu1
page1.html
page2.html


menu2
page1.html
page4.html

How could I have page1.html know which of the two menus the user used?

-=-=-
Check out my excellent homepage!
Mon, 19 Mar 2012, 05:10
CodersRule
You can try using parameters in your URLs to give more information to the page:


Then, the variables will be stored in PHP's $_GET array or you can just parse location.href with javascript.