Solved

Offline website - how to map to flash drive

Posted on 2011-03-17
5
236 Views
Last Modified: 2012-05-11
I created a website that is offline so it all just runs off of a flash drive, the problem is when I hyperlinked I did it to the flash drive folder - ie F:\files\filename.ext - if the flash drives mounts in their computer as anything other than F it wont work.  Is there an easy way to get around this issue?
I just converted from word to html as it is really basic stuff...
0
Comment
Question by:rhwimmers
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 8

Accepted Solution

by:
dmeeren earned 41 total points
ID: 35160192
Yes, use paths like images/image.jpg, or links like: links/link.html. And if you want to go back one directory type: ../

That way the page does not use a particular drive letter
0
 
LVL 1

Author Comment

by:rhwimmers
ID: 35160336
When using /images/image.jpg does it assume current directory then?
0
 
LVL 20

Expert Comment

by:Mark Brady
ID: 35160467
don't use /images/image.jpg just use images/image.jpg - no leading forward slash
0
 
LVL 8

Expert Comment

by:dmeeren
ID: 35160954
Yup elvin66 is right, read my first comment:
Yes, use paths like images/image.jpg, or links like: links/link.html. And if you want to go back one directory type: ../
0
 
LVL 20

Assisted Solution

by:Mark Brady
Mark Brady earned 41 total points
ID: 35162078
In answer to your question "does it assume the current directory?" No. It assumes a folder named "images" in the current directory. The path for an image in the current directory is just the image name. If you have a folder in your current directory named "images" and the images you want are inside that folder, then you would do as dmeeren suggested images/image.jpg or whatever your image is named.
0

Featured Post

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question