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
Solved

Offline website - how to map to flash drive

Posted on 2011-03-17
5
233 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
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

809 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