Help - Search - Members - Calendar
Full Version: pop up menu within a page
HTMLHelp Forums > Programming > Server-side Scripting
tudsy
Hi

I was wondering what is the best way to create a popup menu within a page?

Ajax? or what?

Thanks.
pandy
What's a popup menu? Like the context menu in Windows? You click somewhere and a small menu pops up at that spot?

JavaScript would be needed, but not necessarily Ajax.
Christian J
QUOTE(tudsy @ Aug 11 2016, 05:46 AM) *

I was wondering what is the best way to create a popup menu within a page?

The styling/appearance or the contents of the menu items?

QUOTE
Ajax? or what?

A menu that depends on Ajax or javascript is not recommended, since it may prevent search engines from indexing your site. Use server-side scripting like PHP instead.




pandy
An ordinary menu, yes (but it could use minimal JS without screwing up for SEs). But if the OP really means a context menu JS would be needed.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.