HTML - Relative Hard Drive Addressing
I'm looking for a way to have a link to a hard drive - that works both with a Windows machine (not running Resin), and a Unix (Macintosh) machine.
Obviously I can't hard code file:///C:/htmldocs/home_page.html and have it work on a system without a C: drive. Similar TutorialsHi, I've been working on this page for quite a while: http://www.mymusiclair.com/supporter It displays correctly in Chrome, IE, and FF on my hard drive, but once i upload it it displays wrong in everything except IE. I used FrontPage 2003 to make it... any suggestions? Thanks, Vicky HI, Can anybody recommend a gadget for Previewing / Thumbnailing HTML templates on my hard drive. I have lots of index.html pages in different folders and I'm looking for a way to flick through them, rather than having to go in and open the files individually. Can anyone tell me why the first link works and the second one doesn't? The second link has been working fine for several years until today. http://www.tcm.com/schedule/index.js...zone=CST&cid=N http://www.tcm.com/schedule/index.js...zone=CST&cid=N Yes, I realize the first link has today's date. However, in the past, the second link has taken me straight to the correct page. Now I get the following message: Bad Gateway The proxy server received an invalid response from an upstream server. Did the site change a setting on their software? Any information or guidance you can provide will be greatly appreciated. Tom Hello everyone. I hope someone here can help me, or at least tell me what I need to do can't be done! Here is my situation: I have a .war file that calls an index.html file from a shared directory. That works great, but unfortunately the c: drive on my server is running low on space, so the server admin wants my shared directories to be moved to the d: drive. I have modified the index.html file on the c: drive being accessed by my .war file to load another index.html file on the d: drive, but it is not working. I have tried <BODY onLoad="document.location.href='d:\index.html'"> and <SCRIPT LANGUAGE="JavaScript"><!-- function go_now () { location.href = "D:/index.html"; }//--> </SCRIPT></HEAD> <BODY onLoad="go_now ()"> Any ideas? Thanks! I have a PHP application that our company uses for basically everything. Now I'm needing to add hyperlinks to folders on the shared drive on the server, since this is now where everyone will be storing the files they work on. The map drive is on the same server as the website but so far I have been unable to figure out the syntax for the hyperlink in order to be able to open the folder contents. Any ideas on how I could do this? Greetings all. I have what i would think should be an easy thing to accomplish, but i just don't know how to do it... i have a .exe that is on a usb drive which currently auto-runs when you plug the drive into a usb port... what i want to do is have an HTML file that basically acts as a splash screen, w/ other options, that auto-runs instead... all of which is easy enough for me... but what i don't know how to do is to get a link on the HTML file to run the .exe as opposed to give the prompt to save it... is there an "easy" way to do this? both files reside on the same directory of the flash drive, and the .exe would only run when the user clicks the link... seems like it should be possible since i can auto-run the .exe, but w/ security restrictions, i can't seem to figure it out... TIA I am creating a prototype of a website on a local cdrive that will be installed on thousands of other computers, also on their crive. As such, thanks to SP2, there are warnings that come up when the home page of this site is opened up (yellow bar at top, several clickthroughs that you have to click on). I installed the .... `fix' which was to add to the top of the page a `Mark of the Web' which was to add this line of code <!-- saved from url=(0013)about:internet --> as the very first line. Intial problem was solved, this page now opens without any warnings ! HOWEVER A NEW PROBLEM WAS CREATED! Once on this page, any subsequent links to pdfs do not work AT ALL! Question: how can I stop the error messages and maintain full functionality to provide links to pdfs? Mo The solution cannot be changing settings on their browsers, or changing a registry key, or shipping a CD with the site on it, or putting it on the internet. Hi, I am a noobie, now in the middle of learning HTML. I tried to move an image from my local drive but it seem not working. Below are my code. HTML Code: <html> <body style="background-color:PowderBlue;"> <h1>This is Page1</h1> <p>This is some text.</p> <p><a href="mainpage.htm">This is a link to Main Page</a></p> <p style="font-family:times;color:white;font-size:30"><a href="page2.htm" target="_blank"><acronym title = "TEST TEST TEST TEST">This is a link to Page <sup>2</acronym></a></p> <br /> <p> <b>You can also use an image as a link:</b> <a href="mainpage.htm"> <img border="0" src="pulpit.jpg" width="265" height="238"> </a> </p> <br /> <br /> <img border="0" src="http://www.w3schools.com/images/pulpit.jpg" alt = "picture" width="265" height="238"> <h1>Look! Styles and colors</h1> <a href="#tips">Useful Tips Section</a> <p style="font-family:verdana;color:red"> This text is in Verdana and red</p> <p style="font-family:times;color:white;font-size:50px"> This text is in Times and green</p> <p style="font-size:30px">This text is 30 pixels high</p> </body> </html> The image file was located in the path "C:\language\lesson1\images\pulpit.jpg" The script file was located in the path "C:\language\lesson1\test.htm" Is there any initial setup to be done in order the IE could locate the images? Thanks in advance. Im new to all this so excuse me if i ask/say stupid things...im still learning so im doing an email newsletter with like 8 images or so and its all good,so actually there is no problem...but thats what i dont understand. The path for the pictures is this: <img style="display:block;"src="file:///C|/Users/robbysanne/Documents/nieuwsbrieftemplates/html/images/se1.jpg"width="69"height="235"border="0"alt=""/> there in tables. So the images are on my harddrive...not online...but when i send the email with mozilla thunderbird to various hotmail,and gmail acounts on different computers elswhere the pictures still show up....and not as an attachment that you first have to download,but the whole newsletters displays properly. How is that possible? i thought that i was supposed to put the images on a server first,get them online and then link them.. thanks! Its sort of a personal issue but i'll explain it as best i can... I'm not a nice person, I'm the type of person who wont back off and cant stand being told what i am. I feel like such a ......, If someone does something against me, they are going to regret it... i want to know how i can deal with things in a better way, and how i can stop being a total A$$hole. I need to get over the lone wolf crap as well, i automatically reject new places and people that i have to adapt to...I've already made myself out to be the biggest f@g in school...I don't totally disagree with myself here though, because most of the fools just follow each other around like sheep and i don't want to be like that. I don't want to hear anything about Councillors or Psychiatrists because i want to turn the other cheek on my own...I just need a little pointer to get started. ========== Hello! I just want some help to figure out how to get a picture to appear next to another picture, by changing the html code. Can someone help me? Guess it goes really fast for someone who knows these things. A quick response is highly appreciated! Thanks! / Hedvig Here's the code: <!-- Facebook Badge START --><a href="http://www.facebook.com/hedvig.lindahl" target="_TOP" style="font-family: "lucida grande",tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;" title="Hedvig Lindahl">Hedvig Lindahl</a><br /><a href="http://www.facebook.com/hedvig.lindahl" target="_TOP" title="Hedvig Lindahl"><img src="http://badge.facebook.com/badge/86010192783.4320.1327210997.png" width="120" height="180" style="border: 0px;" /></a><a href="http://www.facebook.com/keepitandplayit" target="_TOP" style="font-family: "lucida grande",tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;" title="Keep It and Play It">Keep It and Play It</a><br /><a href="http://www.facebook.com/keepitandplayit" target="_TOP" title="Keep It and Play It"><img src="http://badge.facebook.com/badge/164904078384.4257.46510960.png" width="120" height="155" style="border: 0px;" /></a><br /><!-- Facebook Badge END --> Hi there, I have just made a program that i need a register form on, so the hard part is.. When people download the program there are a Read me.txt file with the program, in that read me file i want to put a code, and that code i want to use for my security code in the register form. Like: If the Read me.txt Code is: 44456 then i need to make a textbox then i want them to write that code online on the register form. and if the Read me.txt code is wrong when they try to register, then they need to try again. Can anyone help me?? i need the script... PLEASE HELP ME! Here is an example: Can you please help me with this problem. The HTML you are already given (has 2 unordered lists and both of them are in seperate divs) and I have to style them up with CSS with what the assignment wants. So far what I have is this: ul#menu { float: left; width: 6em; list-style-type: none; margin: 0; padding: 0; background-color: #aac; border-right: thick solid #44a; border-left: thick solid #ccf; } div#main { margin-left: 7em; } Now the thing is, it's looking alright so far, but there are some problems and things I don't know how to fix. Firstly with the border right and border left things and background color on my unordered list, the left and right borders aren't big enough and the middle part is too big. I want to change this but keep my list items (the middle and 2 borders) the same overall length as I have them now, just to switch proportions. Also, in the example of the finished product, the list items have a small white space between eachother as to seperate them.. kind of like they are in their own seperate rectangular boxes with borders each on top of eachother, how can I do this? Thanks for your time! Hope you can help! I know a lot of the normies here are probably getting tired of my posts. If so, let me know. This just seems to be the one stop place for most of the questions I have that dal with web page design. Anyways, if anyone read past the first paragraph, I have yet another question. Is the transition from HTML to CSS hard? The HTML book I am studying (which I just NOW found out is from 2003... ) teaches me a lot that I didn't know before and has really got me going with HTML more than any other book. It's teaching me HTML 4 and I realize there is now an HTML 5. The author even mentions that some of the tags it uses are deprecated (the book will later go on into CSS to replace those tags). Is it confusing to switch out tags like that when moving to CSS? I'm the kind of person who likes to stay up-to-date with stuff and HTML & CSS I want to be up to par on for sure. Am I going to have to learn HTML 4, then HTML5, then CSS since I'm pretty much just starting out? Sorry for all the questions. Just really curious and need to know ahead of time. Not that I would quit learning if it was a long process, it's just how I am . Any responses would be appreciated! I would like to build this type of widget but without the trulia logos and taking them to the trulia site, i would like to be able to use my idx system to search properties http://www.trulia.com/tools/searchbox/#code_block Hello, Im interested in obtaining a template for an ebay listing. Something that is very well done so that I can use it and change the Headers and buttons etc etc.... Anyone have experience with this? hi team, just wondering what code i would require to make a text box with a search button next to it and having the following characteristics... * input can be any letter/number (say for eg: 5555) * onclick sends parent window to www.website.com/5555 thus whatever you enter into the box sends you to a website address with the text box entry at the end. this is for an internal webpage at our small business. cheers and any tips appreciated!! All I want is to have my image placed in the center of my web page... Every code I try doesn't work. The image is either at the top of the page or it doesn't stay in the center at different resolutions. Can someone help me? Hi everyone, I hope I have posted this in the right area. This is my first time posting here. I currently have my main pages listed at the top of my site as graphics (see fussybaby.ca). I would like to potentially remove these graphics and use text links instead - I had the graphics designed for me, so I can't just go in and make new ones, however I'd like to change/rearrange the links and add some new ones. So my question is: How hard is this to do? Is this something I need to hire someone to do for me? Thanks in advance for any advice! Hello All, I have a problem with div position in my html page. I need two divs position=relative aligned with a single div. Basically I have a header panel, content panel (have two vertical column height changed dynamically) and a footer panel. So Content panel vertical column needs to align with header panel. I need all div tags position relative, so when every div increases in height bottom div sifted down automatically. I have this http://www.arunverma.info/webmaster_help/ Can sombody help me to short it out. Thanks in advance Sunil |