1.

Solve : Opening List Box links in a new Window?

Answer»

I have a drop down list box with links.  I want to be ABLE to open a new WINDOW whenever one of the links is clicked.  How do I do that in HTML? 

I know how to do this with a regular link using......  target="_blank", But How do I do this within a or

thanks A little use of javascripts will GET that done for you.
Code: [Select]<script language="JAVASCRIPT"&GT;
function openwindow()
{
window.open("Sample.htm",null,
    "height=200,width=400,status=yes,toolbar=no,menubar=no,location=no");
}
</script>

/*************/

<option onclick="openwindow();">Open window



Discussion

No Comment Found