Results 1 to 4 of 4

Thread: What do I do with external files?

  1. #1
    Join Date
    Apr 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default What do I do with external files?

    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?

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Talking

    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?

  3. #3
    Join Date
    Apr 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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?

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    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.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •