Jump to content

Popup Page with Links


Qualinwraith

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...