Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2003
    Location
    Let's see.....
    Posts
    4,446

    Javascript weirdness...

    I have a little question...

    Would something on a server dictate if a javascript would work or not? I updated the same exact pages and scripts to 2 different boxes and while one works, the other doesn't. I'm perplexed as I'm trying to figure this out, including comparing and re-uping the files.

    Thanks
    73's, Kim
    Everything happens for a reason I make up.

  2. #2
    Join Date
    May 2004
    Location
    Pflugerville, TX
    Posts
    11,222
    I don't think it is possible for the server to affect the performance of JavaScript. JavaScript is sent to browsers unparsed. My guess is there must be differences between the browsing environments used to view the script outputs in each instance.
    Studio1337___̴ı̴̴̡̡̡ ̡͌l̡̡̡ ̡͌l̡*̡̡ ̴̡ı̴̴̡ ̡̡͡|̲̲̲͡͡͡ ̲▫̲͡ ̲̲̲͡͡π̲̲͡͡ ̲̲͡▫̲̲͡͡ ̲|̡̡̡ ̡ ̴̡ı̴̡̡ ̡͌l̡̡̡̡.__Web Design

  3. #3
    Join Date
    Jan 2003
    Location
    Let's see.....
    Posts
    4,446
    Hmmm. Confusing. I never encountered this before.
    73's, Kim
    Everything happens for a reason I make up.

  4. #4
    Join Date
    May 2004
    Location
    Pflugerville, TX
    Posts
    11,222
    Same browser in the same configuration each time, and you're certain you're not pulling any cached files in either one?

    The folder structure is identical too? If you have your domain pointed to one folder and the other one you're accessing via IP, there might be a broken file path somewhere. Do you call the function using the domain name in the href, or do you return to the root folder? If so, this might be the cause. You may need to make your path relative until the domain name gets switched, or call it via IP in your markup.
    Studio1337___̴ı̴̴̡̡̡ ̡͌l̡̡̡ ̡͌l̡*̡̡ ̴̡ı̴̴̡ ̡̡͡|̲̲̲͡͡͡ ̲▫̲͡ ̲̲̲͡͡π̲̲͡͡ ̲̲͡▫̲̲͡͡ ̲|̡̡̡ ̡ ̴̡ı̴̡̡ ̡͌l̡̡̡̡.__Web Design

  5. #5
    Join Date
    Jan 2003
    Location
    Let's see.....
    Posts
    4,446
    To anyone reading this thread, it was a messed "mm_menu.js" file that was uploaded to the non-working site. the_pm helped me out in private.
    73's, Kim
    Everything happens for a reason I make up.

Posting Permissions

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