PC Review


Reply
Thread Tools Rate Thread

Open dropdown link in NEW WINDOW

 
 
Jim
Guest
Posts: n/a
 
      10th Nov 2003
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>&nbsp;&nbsp;&nbsp;&nbsp; Benefits Forms<br>
&nbsp;&nbsp;&nbsp;&nbsp;
</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>
 
Reply With Quote
 
 
 
 
MD WebsUnlimited.com
Guest
Posts: n/a
 
      10th Nov 2003
Jim,

First, the script that you "mined" is copyrighted by the writer of the
script. Do you have permission to use it?

Change this line

MM_jumpMenu('parent',this,0)">

To

MM_jumpMenu('_blank',this,0)">
--
Mike -- FrontPage MVP '97-'02
http://www.websunlimited.com
FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
----------------------------------------------------------------------------
--------------------
If you think I'm doing a good job, let MS know at (E-Mail Removed)

"Jim" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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>&nbsp;&nbsp;&nbsp;&nbsp; Benefits Forms<br>
> &nbsp;&nbsp;&nbsp;&nbsp;
> </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>



 
Reply With Quote
 
 
 
 
Bob Lehmann
Guest
Posts: n/a
 
      10th Nov 2003
The script, besides being auto-generated by DreamWeaver or (one of its
spastic spin-offs), is so generic, that I doubt there would be any copyright
issues.

Who do you suppose owns the copyright to the following......
Do While Not rs.EOF
bla blah blah
rs.MoveNext
Loop

Bob Lehmann


"MD WebsUnlimited.com" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Jim,
>
> First, the script that you "mined" is copyrighted by the writer of the
> script. Do you have permission to use it?
>
> Change this line
>
> MM_jumpMenu('parent',this,0)">
>
> To
>
> MM_jumpMenu('_blank',this,0)">
> --
> Mike -- FrontPage MVP '97-'02
> http://www.websunlimited.com
> FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
> --------------------------------------------------------------------------

--
> --------------------
> If you think I'm doing a good job, let MS know at (E-Mail Removed)
>
> "Jim" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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>&nbsp;&nbsp;&nbsp;&nbsp; Benefits Forms<br>
> > &nbsp;&nbsp;&nbsp;&nbsp;
> > </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>

>
>



 
Reply With Quote
 
Jim
Guest
Posts: n/a
 
      11th Nov 2003
To answer your questions... Yes, I do have his permission. Thanks for
the help guys, I'll try it in the morning!

"Bob Lehmann" <none> wrote in message news:<(E-Mail Removed)>...
> The script, besides being auto-generated by DreamWeaver or (one of its
> spastic spin-offs), is so generic, that I doubt there would be any copyright
> issues.
>
> Who do you suppose owns the copyright to the following......
> Do While Not rs.EOF
> bla blah blah
> rs.MoveNext
> Loop
>
> Bob Lehmann
>
>
> "MD WebsUnlimited.com" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Jim,
> >
> > First, the script that you "mined" is copyrighted by the writer of the
> > script. Do you have permission to use it?
> >
> > Change this line
> >
> > MM_jumpMenu('parent',this,0)">
> >
> > To
> >
> > MM_jumpMenu('_blank',this,0)">
> > --
> > Mike -- FrontPage MVP '97-'02
> > http://www.websunlimited.com
> > FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
> > --------------------------------------------------------------------------

> --
> > --------------------
> > If you think I'm doing a good job, let MS know at (E-Mail Removed)
> >
> > "Jim" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > 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>&nbsp;&nbsp;&nbsp;&nbsp; Benefits Forms<br>
> > > &nbsp;&nbsp;&nbsp;&nbsp;
> > > </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>

> >
> >

 
Reply With Quote
 
MD WebsUnlimited.com
Guest
Posts: n/a
 
      11th Nov 2003
Oh, the script is from Micro Media ;>)

--
Mike -- FrontPage MVP '97-'02
http://www.websunlimited.com
FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
----------------------------------------------------------------------------
--------------------
If you think I'm doing a good job, let MS know at (E-Mail Removed)

"Jim" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> To answer your questions... Yes, I do have his permission. Thanks for
> the help guys, I'll try it in the morning!
>
> "Bob Lehmann" <none> wrote in message

news:<(E-Mail Removed)>...
> > The script, besides being auto-generated by DreamWeaver or (one of its
> > spastic spin-offs), is so generic, that I doubt there would be any

copyright
> > issues.
> >
> > Who do you suppose owns the copyright to the following......
> > Do While Not rs.EOF
> > bla blah blah
> > rs.MoveNext
> > Loop
> >
> > Bob Lehmann
> >
> >
> > "MD WebsUnlimited.com" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > Jim,
> > >
> > > First, the script that you "mined" is copyrighted by the writer of the
> > > script. Do you have permission to use it?
> > >
> > > Change this line
> > >
> > > MM_jumpMenu('parent',this,0)">
> > >
> > > To
> > >
> > > MM_jumpMenu('_blank',this,0)">
> > > --
> > > Mike -- FrontPage MVP '97-'02
> > > http://www.websunlimited.com
> > > FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible

> >

> --------------------------------------------------------------------------
> > --
> > > --------------------
> > > If you think I'm doing a good job, let MS know at (E-Mail Removed)
> > >
> > > "Jim" <(E-Mail Removed)> wrote in message
> > > news:(E-Mail Removed)...
> > > > 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>&nbsp;&nbsp;&nbsp;&nbsp; Benefits Forms<br>
> > > > &nbsp;&nbsp;&nbsp;&nbsp;
> > > > </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>
> > >
> > >



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
open Fav->Link = same window, open from Linkbar = new window =?Utf-8?B?cGVsbGk=?= Microsoft Dot NET 0 20th Jul 2007 05:26 PM
IE wont open window if Right click open in new OR target _blank Or javascript Popup new window Windows XP Internet Explorer 2 9th Dec 2005 02:34 AM
ie6 - cannot open in new window and links which open new window no longer work kevinf Windows XP Internet Explorer 2 12th Feb 2004 02:15 PM
Open link in new window and javascript open window not working. Any ideas?? Eric K. Windows XP Internet Explorer 2 19th Sep 2003 02:03 AM
Re: "Open in new window" command does not open new window in maximized view H Leboeuf Windows XP Internet Explorer 0 30th Jun 2003 01:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:32 PM.