Re: javascript question

by "Srinivasan Ramakrishnan" <srinivar(at)md3.vsnl.net.in>

 Date:  Tue, 13 Jun 2000 16:46:21 +0530
 To:  "Cyanide _7" <leo7278(at)hotmail.com>
 Cc:  "christopher l. filkins" <design(at)chronotope.com>, <hwg-languages(at)hwg.org>
 References:  hotmail
  todo: View Thread, Original
Absolutely Cyanide_7, slight oversight.

Thanks for the correction.

-Srini



----- Original Message -----
From: Cyanide _7 <leo7278(at)hotmail.com>
To: <srinivar(at)md3.vsnl.net.in>
Cc: <design(at)chronotope.com>; <hwg-languages(at)hwg.org>
Sent: Tuesday, June 13, 2000 1:56 AM
Subject: Re: javascript question


| 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