Page 1 of 1

Need DHTML context menu

Posted: Thu Jun 14, 2007 9:10 am
by alex.barylski
I've searched Google and found some (many of which i've known about for years). They are often bloated or at least more than I need.

Basically I would like something which dynamically created the menu either at document.write or after onload. Nothing fancy, just a simple context menu which either:

1) Snaps to the element which is used to invoke the popup
2) Opens from exactly where the mouse was right clicked

Ideally both would be supported as I could use both.

Any suggestions?

Posted: Thu Jun 14, 2007 1:24 pm
by RobertGonzalez
Look at Jquery. Someone write a right-click plugin that does exactly what you want. I don't have the link handy, but if you look at the plugings page and search around for a few minutes I am sure you'll stumble across it.

Posted: Thu Jun 14, 2007 1:46 pm
by Luke
Everah - you're so quick on the draw! jQuery all the way - it's a killer context menu too... I think there are two or three of them.

Posted: Thu Jun 14, 2007 10:24 pm
by alex.barylski
sweet I already installed jQuery so thats a bonus :)

Posted: Fri Jun 15, 2007 4:50 pm
by JellyFish
I've tried one of the jQuery context menu plugins, I didn't like how it didn't flip when the context menu leaves the window's view. Instead it just makes the horizontal scroll bar appear.