i won't put all the code.
this is the css for layer1. Now i know how to make the layer pop-up(visible) with javascript. How do i set the position it pops up to where the mouse was clicked on the page in javascript? example..

#layer1 {
   position:fixed;
   visibility: hidden;
   width:600px;
   height:auto;
 

   background-image:url(popupbg.jpg);
   
   border: 1px solid #FBB917;
   padding: 10px;
   font-weight:200; color: #FFFFFF;
   
   


}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.