Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Explorer inside of Internet Explorer

Status
Not open for further replies.

snootalope

IS-IT--Management
Jun 28, 2001
1,706
US
Ok, I've done web pages before but this is new to me.. I'm now responsible for setting up an INTERNAL page that can take people to multiple directories within our domain. Right now, I have them hlinked to a certain directory, but it turns the page into a Exlporer window instead of keeping it an Internt Explorer window.. I hope that's not confusing.. Please help! "tis better to be thought of as a fool then open your mouth and remove all doubt" Mark Twain

"I should of been a doctor.." Me
 
This script keeps IE open but adds the familiar Explorer interface in a new window on top of it.

<html>
<head>
<title>Operations Main Menu</title>

<SCRIPT LANGUAGE=&quot;JavaScript&quot;>
<!-- Begin
function DriveList()
{
var folder=document.Drive.Name.options[document.Drive.Name.selectedIndex].value;
alert(&quot;To see the most files, choose View > List&quot;);
window.open(folder,&quot;logs&quot;,&quot;menubar=yes,toolbars=no,width=790,height=590,dependent&quot;);
}
// End -->
</script>


</HEAD>
<BODY text=&quot;#008000&quot; link=&quot;#008000&quot; vlink=&quot;#00FF00&quot; alink=&quot;#008000&quot;>
<br>

<FORM NAME=&quot;Drive&quot;>
<P>Choose a Log:
<SELECT NAME=&quot;Name&quot; LENGTH=5 onChange=&quot;DriveList();&quot; size=&quot;1&quot;>
<OPTION VALUE=&quot; Logs</OPTION>
<OPTION VALUE=&quot;\\myserver\logs\CrudeLogs\&quot;>Crude Logs</OPTION>
</SELECT>
</FORM>

</html>
</body>


This shows the list of files with icons. I'd rather have the results displayed in the List format without the icon, but don't know how to do that programmatically, so I added the Alert box to suggest that to the users.

Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top