The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> pop up menu within a page
tudsy
post Aug 10 2016, 10:46 PM
Post #1


Advanced Member
****

Group: Members
Posts: 246
Joined: 30-September 14
Member No.: 21,611



Hi

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

Ajax? or what?

Thanks.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Aug 11 2016, 04:28 AM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Aug 11 2016, 06:25 AM
Post #3


.
********

Group: WDG Moderators
Posts: 9,630
Joined: 10-August 06
Member No.: 7



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.




User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Aug 11 2016, 07:04 AM
Post #4


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 07:51 AM