Click to See Complete Forum and Search --> : link your files to a CD
Code One
03-21-2003, 01:22 AM
I have a program I made using Javscript and Html code. I want to put it on a CD and link all my files to the CD, so I dont have to download the entire compressed folder onto my hard disk. I want to be able to just pop in the CD download maybe just the start page, and have that refrence to the pics, sound, and other .htm files which would be left on the disk. Is this possible and if so how do I do it? Please help.
Thanks
Code One
DaveSW
03-21-2003, 10:09 AM
You have a problem in that cd drives are not always D. if you were to take the files to another computer, possibly with a partitioned hard drive, the cd drive would be letter e or worse. This is not a problem if you only intend to use it on your own machine. Perhaps you could tell us more about what you have in mind. Why not put all the files on cd? Then the drive letter wouldn't matter. You can use flash to create an introductory movie, a few file tricks which I can tell you if you need them to make the cd autorun, and then the entire file collection can be listed on a html page, anything you like really.
Other than that, hyperlinks etc would simply be targetted at ///D:/index.htm or something like that to make them open from the cd drive.
If the entire site is to go on cd then you just design in the usual way, using relative hyperlinks rather than absolute ones.
does this help?
dave
Code One
03-21-2003, 04:58 PM
Tell me more about the autorun? And the tricks you know?
Thanks
Code One
I know relative is <a href="blah.htm"></a>, so why dont you tell me how to link A.htm, with b.htm, and c.htm, all on a CD that will work on all Comps. Please.
CO
DaveSW
03-25-2003, 11:00 AM
OK.
Sorry i took so long to get back to you!! Didn't notice you'd replied!!
To make the cd autorun, you need to make an exe file. This isn't that hard. honest!! Use flash to create a file that stops on a certain frame, which has a button on it. This should be linked to the name of your first file, using a relative link.
When you run this file in the macromedia player, it has an option to create a projector file on the file menu. If you choose this option, it creates an exe file. easy.
Then you need to paste the following in notepad, and save it as autorun.inf
[autorun]
open=CDrun1.exe
icon=CD.ico,0
This refers to an icon file. you can delete that if you want, or i'll try and find an icon creator for you.
Now, when you insert your cd, it will automatically bring up your flash movie, so you can click the button, run cd, using a relative link - as you mentioned at the end of your last post. Your main page will then appear, so you can use relative links to tie them all in together - please don't put an absolute in, or it won't work!!
If you haven't got flash or get stuck, post what you want the exe file to say e.g. 'Welcome to my cd' 'run CD', together with what you want the icon to be, and i'll make it for you and e-mail it.
Hope this helps
Dave
Code One
03-25-2003, 01:45 PM
so the button thing might as well be japanese, lol.
If you could make it for me that would be great, you dont have to do all that though if you dont want to, but I do appreciate the help!!!
How bout 'Click to enter', have it link to file called pass.htm, and as for the icon I have an aleph icon that Id like to use. My email is Kingx@insightbb.com.
thanks Dave!
Code One
DaveSW
03-25-2003, 03:44 PM
email the icon to me - or give me the file name please.
no problem about making it - back in a FLASH!!!!!
send the icon stuff to dave@999man.co.uk
What colours do you want? I can put the icon on the loading page if you send it to me.
dave