Re: javascript question

by "Cyanide _7" <leo7278(at)hotmail.com>

 Date:  Mon, 12 Jun 2000 15:26:34 CDT
 To:  srinivar(at)md3.vsnl.net.in
 Cc:  design(at)chronotope.com, hwg-languages(at)hwg.org
  todo: View Thread, Original
Srini, i think what you meant to say was:

parent.frame1.location.href = this.options[this.selectedIndex].value

- Cyanide_7

>
>Instead of
>
>top.location.href = this.options[this.selectedIndex].value
>
>use
>
>frame1.location.href = this.options[this.selectedIndex].value
>
>where frame1 is the frame's name
>
>-Srini
>----- Original Message -----
>From: christopher l. filkins <design(at)chronotope.com>
>To: <hwg-languages(at)hwg.org>
>Sent: Monday, June 12, 2000 2:33 AM
>Subject: javascript question
>
>
>| I'm using the following javascript code:
>|
>| <form
>|      action=""
>|      method="post"
>| ><select
>|      id="form"
>|      name="menu"
>|      onchange="top.location.href =
>this.options[this.selectedIndex].value;"
>| ><option
>|      value="$www/cgi-bin/column_framer.pl?U+$track+01000005"
>|      SELECTED
>| >Blank</option><option
>|      value="$www/cgi-bin/column_framer.pl?U+$track+01000006"
>| >Another_Blank</option></select>
>|
>| which changes the page based on the location object.  Could anyone 
>explain
>| how to use this but only use it to change a frame rather than the entire
>| page?
>|
>| Christopher
>|
>|
>

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA