Log in

View Full Version : What do I do with external files?



amaranthine
04-18-2006, 01:16 AM
I have never dealt with, let alone heard of, an "external file" (I guess I am a bit of a newb...) I would like to be able to use the CMotion Image Gallery script but it apparantly references an "external .js and .css file." I have no idea what I am supposed to do with that. Can someone help me?

djr33
04-18-2006, 02:10 AM
It's really simple. You've got an html page. But, you also can use external files... just like you'd use an image.

The .html page doesn't include the image, it says <img src="image.jpg"> where "src" means "source"... source file.

<script language="javascript" src="js.js">
Honestly, I can't remember if that's the right syntax, but it'll show you how on the scripts pages.
Just follow the example.

css is just a formatting file... that you tell your html page to use.

basically... js and css can be included in the text of the html file, or 'linked' (referenced) to in it, then saved seperately. (Actually, there are some methods of having different parts of webpages in different files, but that's more complex, depending on the method.)

Make sense?

I'm sure it'll tell you how to reference them in the specific script page.

Also, you probably need to put the files (.js and .css) into the same folder ('directory') in your ftp (or free site's default upload system, depending).

Got it? :)

amaranthine
04-18-2006, 03:05 AM
Thanks,

I figured out that was what it meant by typing it into google, seemed simple enough... Except, I am using one of those easy webpage builder things at the moment (Trellix) and when I create a new page I don't have control of the file name or format. I can't get a blank page, and I can't upload files. Anything else you can think of that I might be able to do?

Twey
04-18-2006, 09:27 AM
Except, I am using one of those easy webpage builder things at the moment (Trellix) and when I create a new page I don't have control of the file name or format. I can't get a blank page, and I can't upload files. Anything else you can think of that I might be able to do?Create your webpages yourself, instead of getting this program to do it for you. WYSIWYG editors are useless; this one even more than most, if it won't so much as let you specify filenames.