Forums
This topic is locked
saving website
Posted 12 May 2007 21:49:56
1
has voted
12 May 2007 21:49:56 josh smith posted:
Right well i made a website on my home computer, i want to take it round to my friend without having to load it up to the internet, so basically is there a way you can change the root folder so i can put it on a usb?thanks in advanced
Replies
Replied 13 May 2007 04:39:30
13 May 2007 04:39:30 Javier Castro replied:
if your website is html with some javascript, then it should be no problem to put is on a usb stick or other storage device. Also, make sure your links are relative and not absolute: i.e. index.html vs www.mywebsite.com/index.html
if your links are absolute you can make them realtive by using find replace.
Good luck.
if your links are absolute you can make them realtive by using find replace.
Good luck.
Replied 13 May 2007 13:33:24
13 May 2007 13:33:24 josh smith replied:
im sorry that im being really stupid, i only have 1 page to the website so far (the homepage) and when i put it on, and go and view it on another pc the images and flash animation doesnt come up, i saved all the images and the flash movie in the same folder. Any idea how to make them load?
Replied 14 May 2007 00:51:21
14 May 2007 00:51:21 Kenneth Halley replied:
Its just like Javier says- if your paths are relative- it should be O. If its not I suspect your paths are absolute.
Absoulute means for example say you have the html file as C:\www\index.html and the images/flash in C:\www\imagesthe paths in your webpage are absolute if they point to C:\www\images\*.* as opposed to just saying images\*.* which is relative.
Save your paths as relative to your homepage and it should be OK.
One thing to watch though flash might be a bit funny withthe code dw drops in now to allow th enew tags- <object> so you may need to copy the scripts folder that DW created over as a relative path too.
-----------------------------------
www.halleynet.co.uk
Absoulute means for example say you have the html file as C:\www\index.html and the images/flash in C:\www\imagesthe paths in your webpage are absolute if they point to C:\www\images\*.* as opposed to just saying images\*.* which is relative.
Save your paths as relative to your homepage and it should be OK.
One thing to watch though flash might be a bit funny withthe code dw drops in now to allow th enew tags- <object> so you may need to copy the scripts folder that DW created over as a relative path too.
-----------------------------------
www.halleynet.co.uk