J
Jim
Hey all, I'm having a bit of a problem that I need help with. I have
this nice code that I've mined off this site that will open a .pdf or
..doc for me when I make a choice from a dropdown menu, but it opens it
in the same window. I really need it to open in a NEW window. Any
suggestions?
<script language=JavaScript>
<!--
<!--
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
function popMeUp() {
var newWindow = window.open("", "", "height=400,width=400");
}
}
//-->
</script>
<h1>Employee Self-Service Forms</h1>
<table border="1" cellpadding="0" cellspacing="0"
style="border-collapse: collapse; border-left-width: 0;
border-right-width: 0" bordercolor="#111111" width="69%"
id="AutoNumber1">
<tr>
<td width="100%" style="border-style: solid; border-width: 1"
bgcolor="#EFEFDE" height="50">
<b> Benefits Forms<br>
</b>
<select name="menu1" onChange="MM_jumpMenu('parent',this,0)">
<option selected>Scroll to Select</option>
<option value= "http://help.myco.com//ADAMedicalCertification.pdf">ADA
Form</option>
<option value="http://help.myco.com//Adopt1.pdf">Adoption
Assistance</option>
<option value="http://help.myco.com//Adopt2.pdf">Adoption
Assistance Reimbursement</option>
<option value="http://help.myco.com//AssistClaim.pdf">Assistance
in Claims Administration</option>
<option value="http://help.myco.com//BenefitsChg.pdf">Benefits
Change/Calculation Form</option>
this nice code that I've mined off this site that will open a .pdf or
..doc for me when I make a choice from a dropdown menu, but it opens it
in the same window. I really need it to open in a NEW window. Any
suggestions?
<script language=JavaScript>
<!--
<!--
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
function popMeUp() {
var newWindow = window.open("", "", "height=400,width=400");
}
}
//-->
</script>
<h1>Employee Self-Service Forms</h1>
<table border="1" cellpadding="0" cellspacing="0"
style="border-collapse: collapse; border-left-width: 0;
border-right-width: 0" bordercolor="#111111" width="69%"
id="AutoNumber1">
<tr>
<td width="100%" style="border-style: solid; border-width: 1"
bgcolor="#EFEFDE" height="50">
<b> Benefits Forms<br>
</b>
<select name="menu1" onChange="MM_jumpMenu('parent',this,0)">
<option selected>Scroll to Select</option>
<option value= "http://help.myco.com//ADAMedicalCertification.pdf">ADA
Form</option>
<option value="http://help.myco.com//Adopt1.pdf">Adoption
Assistance</option>
<option value="http://help.myco.com//Adopt2.pdf">Adoption
Assistance Reimbursement</option>
<option value="http://help.myco.com//AssistClaim.pdf">Assistance
in Claims Administration</option>
<option value="http://help.myco.com//BenefitsChg.pdf">Benefits
Change/Calculation Form</option>