HTML - Link To File Not Working
I have a webpage that appears to work with IE6 but not IE7, Firefox 3 or Chrome.
I have this tag (among others) embedded in the HTML page: <a href="file:%5C%5Cmspfs01%5Cshared.gsc%5CHR%20GSC%5CSea%5Cindex.html" target="_blank">Internal Documentation</a> When clicked, the following edit is given: Cannot find 'file://mspfs01/shared.gsc/hrpage/hrgsc/%5C%5Cmspfs01%5Cshared.gsc%5CHR%20GSC%5CSea%5Cindex.html'. Make sure the path or Internet address is correct. It appears that the browser is appending the path to the file in the tag to current location path. The path in the tag is the absolute path to the index.html file on that box. And like I said, it does work with IE6. Thank you. Kevin Similar TutorialsThe following common code is not working in Firefox (3.0.11). It works in Safari (4.02) and IE7. When I say not working, I mean that when I click the submit button, the address does not change to the form processing url: Code: <!-- The data encoding type, enctype, MUST be specified as below --> <form enctype="multipart/form-data" action="uploader.php" method="POST"> <!-- MAX_FILE_SIZE must precede the file input field --> <input type="hidden" name="MAX_FILE_SIZE" value="30000" /> <!-- Name of input element determines name in $_FILES array --> Send this file: <input name="mp3file" type="file" /> <input type="submit" name="submit" value="Send File" /> </form> The file uploader.php does nothing, it is blank, I'm merely trying to establish communication. Once again, the code functions in IE and Safari so I dont think this is PHP related. Is there a way to have one document link the coding from another htm file? What I mean is that for my website, I want there to be a logo or menu at the top of every page. So I want to know if there's a way to put it in without putting in the code of it at the top of every document and instead, just linking it to an html file that already has the code. Hello, I have put together an internal Server and making a internet website service. Now everything is working just fine and i want to link to dvd files but dreamweaver can't link these files. these files are dvd files which we have after a result of copying the dvd in parts on the harddrive. u can watch these dvd actl with WINDVD and they play just fine but when i try to link to link to these files via the drap and rop in dreamweaver a msg is telling me that the file is not recognized. i have put these files on the server as a test and mapped a network drive and i can get to these files, open them and watch the dvd. I can'tlink or link via the path to it. what could be the problem? i only found out that the server by its self can't play the dvd. a msg is telling me to lower the screen resolution or the colorbit. since i only have a 4MB graphic card in, that would be the problem. I just don't get why i can't link to it. Even when i go via windwos explorer to the file located on the server, i see them i can click them but then it says can not located file. it does work with a link to a notepad or application ... need some help Hi Guys, I have an image with link tags around it but it doesnt work in IE6. See code: <a href="http://www.site.com"><img src="images/support_button.png" class="supportbutton"/></a> .supportbutton { float : right; margin-top : -0.4em; padding : 0; border : none; } Hi There I'm new to this forum and thanking anyone who helps in advance. I have designed a website for my company which owns and operates bars and hotels in the North East of England. The site looks quite good, and I'm trying to finish it off. One problem I am stuck on is the drop down bar menu of bars and hotels. I want people to be able to choose the venue from the drop down list and then have it take them to the pubs website. However, at the moment it just links to an error page in the website. I designed it in frontpage 2003 and am only really familiar with this programme. I have tried editing the links etc but having no luck. Is anyone able to help? Again, thanks in advance John Gray Hi, I've been working on a site which I'm going to launch soon, but I added an image link although for some reason I can't get it to become a link while I have it in the Nav Div. If i take it outside the nav div it will work normal but for some reason not where it is at. The site is http://shokzguide.com If you take a look at the blue download button to the right of the page you will notice that you cannot click on it even though it is a link, if anyone could help I would greatly appreciate it as I can't for the life of me figure out why it isn't working while I have it in the nav. My client wants a client login button on his website that will open up a piece of software on his and his employee's PC's (Microsoft terminal services client). Simply linking to C:\WINDOWS\system32\mstsc.exe doesn't seem to work. I'm guessing it's due to safety on the browsers behalf. Does anyone know how to make this work? Thanks. PS - I'm on a Mac, but my employer is on PC and it doesn't work for him either. Hi, I make a HTML navigation menu to link to different sheets (word, exel..) on my PC: I make the link as follows: <A HREF="file:///C:\file.xls">click here</A> or <A HREF="C:\file.xls">click here</A> but the destination files are opened IN the browser instead of the program (like Exel or Word).. How can I solve this? thanks! Bart Hello friends, I work for a company that sends out a monthly newsletter by email. We are trying to motivate people to print out the file to have it instead of just looking at it once in their inbox and forgetting it. So what we were thinking is we could make a file with "Print Newsletter for Pricing" in the price slots, then have another file with all the pricing that when they clicked a (presumably HTML) link like "Print File Here" it would then call up the PDF File with all the prices and print it. Is this possible? Amen, Christapher Hello. I'm having this rather frustrating problem. I'm using GoLive to build a really simple site. For some reason, I've been having problems with random text links not working. In checking the code, everything looks okay to me. It works in IE, but I won't even get any indication (when it's moused over or clicked on) that a link exists when it's open in Firefox. The problem is evident in preview, and live. here's the code for the body of the part of the page it's in (I bolded it for the purposes of finding the broken link): < body leftmargin="0" marginheight="0" marginwidth="0" topmargin="0" > < div id="menu" class="menu" > < img src="image-files/darkbox.jpg" alt="" height="360" width="134" border="0" / >< /div > < div id="content" class="content" > < table width="600" border="0" cellspacing="0" cellpadding="0" bgcolor="#cab388" > < tr > < td width="295" >< img src="image-files/tlcorner.gif" alt="" height="28" width="28" / >< /td > < td >< span style="float:right" >< img src="image-files/trcorner.gif" alt="" height="28" width="28" align="right" / ></span >< /td > < /tr > < tr height="41" > < td colspan="3" height="41" > < h2 align="left" >< font size="+1">Contact Us< /font >< br / > < img src="image-files/divider.jpg" alt="" height="15" width="341" align="top" border="0" / >< /h2 > < p align="left" >If you would like to get in touch with us, please use one of the following options:< /p > < dl > < dd > < p >< strong >Email us: < /strong >contact@anomalydog.com< br / > < strong >Reach us via snail-mail: < /strong >Anomaly Dog, 1644 Lake Road, Youngstown, NY 14174< /p > < /dd > < /dl > < p >< img src="image-files/divider.jpg" alt="" height="15" width="341" align="right" border="0" / >< /p > < br / > < br / > < p > If you would like information about applying as an artist, please look < a href="http://www.anomalydog.com/join/artistinfo.html" >here.< /a >< /p > < /body > The hyperlink to the page is http://www.anomalydog.com/join/artistinfo.html Okay so I am working on a website and on the services page I used anchor tags to jump to places on the page. They all work great except for one. The page validates and I dont see anything any different from that markup to all the other markups I have done. It is up on a test server at www.vsncom.com/melkay/services.html The link thats not working is underneath the Electrical maintenance block and it is the link to go back to the top. Also on the entire site. The map page, contact, and services all shift slightly to the left. The pages all use the same css...any ideas? or is it just an optical illusion? Thank You, Matt I need to create a link on my company's website. Once the users click the link, it should download an excel file. the file is dynamic and it should change according to the person that logs in.. I am new to html. can you guys provide me ideas to do this... Thanks Ragha Hi all, I need to have a link on my web page which allows the user to download a file on the c: drive of my web server. Basically when they click the link they will be prompted to download this file. Any ideas on how this can be done? I tried the following on FF but it does not work... <a href="file:///C:/testUpload/CA_P1470H_2008-1209-143322.xls">major_bob_12-09.xls</a> Thanks in advance for any help. Hello, I have a simple web page that contains an href link. When a user left clicks the link I would like to download a file. Testing the page local to my pc works fine, but when I uploaded in a Server, didn't worked correctly. Instead of downloading the file, it actually opens the file. What should I change? I am using a vserver in Plesk enviroment if that is of any use. Should I change something to the server? Hey I have some music (mp3) on my site. I want to make a link so when someone clicks the link it will download the file. I don't want them to have to right click and click save target as or anything like that. Can this be done? if not in just html can you use other code to do it? Thanks SkaFreaks I need an way to upload a file by clicking a link instead of button(<input type="file" name="somename"/>). This feature has been newly added to GMail, to attached a file we need to click a link. Any ideas or code of how this can be done are needed. Thanks Hello, I'm creating a Web Page and need a hyperlink to a batch file on the server. I can get the link to call the batch file, however, I need to pass a parameter to the batch file. Can someone tell me how to do this, or if it is even possible. Thanks. Hi I have this problem that my comment script is located at public_html/comments but the page that needs it is at public_html/hamburgerbar/fish/dish so in the code when i have the php include pointing at /comments, its not working how do i make the browser understand where the comments its? cause i tried with http://www.mysite.com/comments and it says permission denied. However when i move the target page in the comment folder it works like a dream. So how do i point my include link there? Thanks for help! Hi there, I'm experiencing a strange problem in IE with the show-hide layers behavior. I have 4 layers, each with images inside them which are meant to link to other pages. This works fine in Firefox but not so in IE. The odd thing is that when you hover over the images in IE the link appears in the status bar and if you right click and choose "open link" it does work. The site is here www.patons.org/v2/ and its the images at the top that I'm talking about. Any help would be much appreciated. Thanks, Alex |