Qualinwraith Posted January 31, 2007 Share Posted January 31, 2007 Hi there, I'm using the following code to make a link function show_popup(index,left,top,width,height){<!--var p=window.createPopup()var pbody=p.document.bodypbody.style.backgroundColor="white"pbody.style.border="solid black 1px"var url1 = "'http://www.google.com'"switch(index){ case 1: pbody.innerHTML="<a href=" + url1 + ">url1</a>" break;} The link that is callign the pop up is <a href="#" onmouseover="show_popup(1,100,100,200,200)">Option 1 </a> However nothign happens when I click on the link and the a href is there cause when I do save target as it is retreiving the right page. It's just not following it. What must I do? Link to comment Share on other sites More sharing options...
Qualinwraith Posted January 31, 2007 Author Share Posted January 31, 2007 Ok So I managed to make the popup menu to follow the links, now I need to know how to make the popup menu disappear when I move the mouse out of it. Its currently closing when I click outside. Can anyone please help? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now