aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes Pop Up Menus Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Pop Up Menus" Watch "Pop Up Menus" New topic
Author

Pop Up Menus

ninad parkhi
Greenhorn

Joined: May 04, 2001
Posts: 25
Hi ,
I worked a lot on JSP and Servlets but my knowledge for Java Script is limited.
Can anyone suggest me how to build PopUp Menus on web page using java script and html
thannx in advance...
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
You can use DIV (in IE) or layers (in netscape) and set their visibility to hidden. Set their position to absolute. Then on some event, show them. I use onMouseDown and I check the button property of the evenet object. If it is 2, then it was a right click, and I show my DIV by setting its visibility to visible.
ninad parkhi
Greenhorn

Joined: May 04, 2001
Posts: 25
Thanx Bodie..
Can you give me some sample code..........
my email id is ninadparkhi@usa.net
ninad
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Pop Up Menus
 
Similar Threads
Tree Structure-Expand/Collapse of menus
Java Menus Package
convert text object to date where date-format is dynamic
Using swing in Java
How to start learning designing?