Click to See Complete Forum and Search --> : Path current automatic


hpbit
04-04-2003, 06:08 AM
Hello!
Show disc or path current automatic.
If file HTML in drive "D:" (CD-ROM) or ather drive.
The path current show files of the drive "D:" or other drive automatic.
The below exemple show only the drive "C:" of the line 15 (value="c:")
Sorry my english (made in Brazil)
Thank you!


line 01 <script language="JavaScript"><!--
line 02 //// EAB22AC3-30C1-11CF-A7EB-0000C05BAE0B
line 03 if (navigator.appName == 'Microsoft Internet Explorer')line 04 {
line 05 document.write('<br>')
line 06 document.write('<center><table><tr><td
line 07 bgcolor=black><b><font
line 08 size=5></font></b></td></tr></table></center>')
line 09 document.write('<center>')
line 10 document.write('<object id="browserIcons"
line 11 classid="clsid:8856F961-340A-11D0-A96B-
line 12 00C04FD705A2" align="baseline" border="0"
line 13 width="420" height="180">')
line 14 document.write('<param name="Location"
line 15 value="c:">')
line 16 document.write('<param name="AlignLeft"
line 17 value="1">')
line 18 document.write('<param name="AutoSize"
line 19 value="0">')
line 20 document.write('<param name="AutoSizePercentage"
line 21 value="100">')
line 22 document.write('<param name="AutoArrange"
line 23 value="0">')
line 24 document.write('<param name="NoClientEdge"
line 25 value="false">')
line 26 document.write('<param name="ViewMode"
line 27 value="1">')
line 28 document.write('</object>')
line 29 document.write('</center>')
line 30 }
line 31 // --></script>

cyberade
04-04-2003, 07:45 AM
http://javascript.internet.com/navigation/hard-drive-browser.html

hpbit
04-04-2003, 08:03 AM
It is possible to detect automatico, without pressuring the keyboard key of drive?
It edits the attached example.