HTML - Drive Dilemma
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! Similar TutorialsI have a directory with thousands of links. I want to start exceeding 100/links/page, which would put me in "link farm" territory with Google. I want the links to remain live. The site is a directory. How can I establish my site, or code it, so that I won't get into trouble? Thanks very much for your help! Bengo here is the story.. i have a form, after the user fills the form an email will be sent containing the user input to send the email, at the end of the form i used <input type="submit" ...> and the action of the form is "mailto:bla bla" now the problem is, i want to put an image instead of the submit button, if there is no submit button there is no form action, how can i send the email ??? i know two ways to send an email, in the action of a form & in the href of a link tag, is there another way to do that?? really appreciated I guess I'm technically a noob. I've only half heartedly plied my feeble html skills for about 12 years. Right, well, a site I am working on has a rather long index page and several times along it there is a link to another page. They are all links to the same page and what I desire to do is allow my visitors to click on a link on that second page that will take them back to the same spot they were at on the index page. I know it's what the browser's back button does but I want to really "dumb it down" for the visitors. I can't seem to get the code and it's probably something so simple I'll kick myself, or... I'm just asking for something that can't be done What am I missing? (besides a few marbles) Cheers, +Nathan 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? 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. 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. 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 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. 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! Hi, 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 |