Chrischaaan: Optionsmenü und sowas.

Beitrag lesen

Hallo

ihr kennt sicherlich alle diese javascripte mit denen man die festplatte auslesen kann.
so ein dingsda hab ich im www auch gefunden und nun will ich die location value in diesem script durch das anclicken eines laufwerkes(textes) in einem optionsmenü ändern.
meine ersten ansätze zu siesem prob. seht ihr hier unten drunter.
hoffe ihr könnt mir helfen und das teil gängig machen.

<table border="1" align="center" width="750">
<tr>
<td align="center"><h3>Datenträger:</h3></td>
<td> </td>
</tr>
<tr>
<td>
<script language="JavaScript">
<!--
if (navigator.appName=='Microsoft Internet Explorer')
{
document.write('')
document.write('<center>')
document.write('<object id="browserIcons" classid="clsid:8856F961-340A-11D0-A96B-00C04FD705A2" align="baseline" border="0" width="450" height="300">')
document.write('<param name="Location" value="c:">')
document.write('<param name="AlignLeft" value="0">')
document.write('<param name="AutoSize" value="0">')
document.write('<param name="AutoSizePercentage" value="100">')
document.write('<param name="AutoArrange" value="0">')
document.write('<param name="NoClientEdge" value="false">')
document.write('<param name="ViewMode" value="4">')
document.write('</object>')
document.write('</center>')
}
//-->
</script>
</td>
<td>
<select name="drives" size="1">
<option onclick="Location.value='C:'" value="C:">C:   </option>
<option onclick="Location.value='D:'" value="D:">D:   </option>
<option onclick="Location.value='E:'" value="E:">E:   </option>
<option onclick="Location.value='Z:'" value="Z:">Z:   </option>
</select>
</td>
</tr>
</table>

bye,christian.