+ Reply to Thread
Results 1 to 3 of 3
Like Tree2Likes
  • 2 Post By Chrisman

Thread: File Create Problems.

  1. #1
    Chrisman is offline x10Hosting Member Chrisman is an unknown quantity at this point
    Join Date
    Mar 2008
    Posts
    5

    Question File Create Problems.

    Hey guys, I hope this Forum is the correct to go to for this problem. I am trying to create a Javascript page (.js extension), but I don't know how. I figured out that to make a .php page, you click "New File" (in the File Manager) and then type the name of your page followed by .php. I tryed that for .css pages, and it worked (the type becomes "text/css"). I just can't seem to get it to work for .js. Is it a different extension? Is there somewhere I need to go and type "text/javascript" instead? All help is appreciated, thanks.
    dinomirt96 and karimirt47 like this.

  2. #2
    Mekryd is offline x10Hosting Member Mekryd is an unknown quantity at this point
    Join Date
    Feb 2008
    Posts
    50

    Re: File Create Problems.

    What part isn't working? It won't make the file? Or the file won't work when you try to call it?
    I solemnly swear that my website reviews will be more thoughtful than five words and an ambiguous rating out of 10 or 5.

    If you find this review (or post of some other sort) truly helpful, please click the little blue box in the corner of this post.

    http://www.asterismstudios.com

  3. #3
    Chrisman is offline x10Hosting Member Chrisman is an unknown quantity at this point
    Join Date
    Mar 2008
    Posts
    5

    Re: File Create Problems.

    Ah, sorry. When I make "reflection.js" it is file type "text/x-generic" and not "text/javascript" so the JavaScript coding on the page isn't rendered.
    Edit:
    Nevermind. I just figured out my problem. When importing the script using

    Code:
    <script type="text/javascript" src="URL"></script>
    I put it in the head, not the body. The script must've been disregarded.
    Last edited by Chrisman; 03-23-2008 at 02:58 PM. Reason: Automerged Doublepost

+ Reply to Thread

Similar Threads

  1. Internal Serve Error
    By xaakx in forum Free Hosting
    Replies: 6
    Last Post: 02-03-2008, 08:02 AM
  2. Account keeps getting suspended
    By angels_scam_patrol in forum Free Hosting
    Replies: 8
    Last Post: 12-21-2007, 11:12 PM
  3. Forum Problems
    By Stryker in forum Scripts & 3rd Party Apps
    Replies: 2
    Last Post: 10-06-2007, 07:29 PM
  4. Cannot upload file, create file, create folder, etc
    By chidedneck in forum Free Hosting
    Replies: 9
    Last Post: 09-13-2007, 11:18 PM
  5. php file create denied?
    By omghaxzs in forum Free Hosting
    Replies: 2
    Last Post: 09-01-2007, 06:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers