Solved

Offline website - how to map to flash drive

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
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…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now