Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Server-side Scripting _ pop up menu within a page

Posted by: tudsy Aug 10 2016, 10:46 PM

Hi

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

Ajax? or what?

Thanks.

Posted by: pandy Aug 11 2016, 04:28 AM

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.

Posted by: Christian J Aug 11 2016, 06:25 AM

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.





Posted by: pandy Aug 11 2016, 07:04 AM

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.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)