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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

iframe

Status
Not open for further replies.

ComputerSlayer

Technical User
Jan 21, 2005
12
FR
Hi All,

I want to put a link on my website so when someone clicks on it, it shows the contents of their 'C' drive and they can effectivly browse their computer. I believe it is called an iframe.
Could someone post the code and an iddiots guide, and l mean a real iddiots guide on where to place everything.

Thanks

Terry
 
IFrame is something completely different. Iframe or inline frame is a part of your website (a box) that loads a different website. It is used to control specific content in a specific box. If you want to make something like that you might try:
Code:
<a href="file:///C:/" target="myIframe">Files on disk</a>

<iframe src="" style="width: 300px; height: 300px;" id="myIframe name="myIframe"></iframe>
 
Thanks,

Vragabond. What does all that code mean in english? Where do i place the code? Can i place a small image and make a hyperlink from that image to the code so when i click on the image it will display the contents of the hard drive 'C' and browse it.

Thanks again
 
i dont understand, why do you want to let the user browse the C drive?.

use what clive c says.

Code:
<html>
<head>
<title> browse C Drive </title>
</head>
<body>
[COLOR=red]
<form name="form1">
<input type="file" />
</form>
[/color]
</body>
</html>

JavaScript Beginner at work :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top