Results 1 to 3 of 3

Thread: Accordion Content Script renders perfectly LOCAL, but NOTHING when "on the web"

  1. #1
    Join Date
    Apr 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Accordion Content Script renders perfectly LOCAL, but NOTHING when "on the web"

    1) Script Title: Accordion Content Script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...daccordion.htm

    3) Describe problem: Renders and works perfectly when viewed locally on the computer, when uploaded to my host it does not work at all.




    Hi all,

    Thanks in advance for any help. Haven't designed a website since 2002... so I'm a little behind the times. Doing the best I can learning CSS and JS.

    Anywho, the Accordion Content Script is EXACTLY what I'm looking for, however I can not get it to work when uploaded to my go-daddy hosting plan. I have the bottom of the line economy hosting plan (linux).

    The source viewed on the site (linked below) is EXACTLY the same as what is on my PC. I've confirmed by uploading multiple times and ensuring the content in the files uploaded to the server are exactly the same as what's on my PC. I've tested this with FireFox 11, and the latest Chrome. It does the exact same thing, so I'm thinking it is somehow related to go-daddy.Chrome and FF render the page just fine locally, however when viewed off the go-daddy hosting, nothing.

    I have not bothered to change ANY of the code yet, as I didn't want to start editing things if it's not working off the bat. Only thing changed is I've moved the CSS from the HTML source to the existing style.css. I have tried it both ways, so it doesn't seem relevant.

    Here is the URL to the page in question:

    http://www.imajonesin.com/breakfast.html

    CSS is here: http://www.imajonesin.com/style.css

    JS is here: http://www.imajonesin.com/ddaccordion.js




    Here is a screenshot viewed on my PC locally:





    And here it is viewed on the go-daddy hosting.


  2. #2
    Join Date
    Apr 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Although I don't think this issue is completely caused by go-daddy economy linux not supporting Ajax (only the 2nd example of the script is Ajax correct?) I had go-daddy switch me over to the windows hosting to see if that fixes it.

    It's going to take 24-72 hours for the switch over to happen, so in the mean time, assuming this does not fix it, what else is there to look for?

    It just baffles me that the page would render correctly locally, but not on the server. It's usually the exact opposite isn't it?

  3. #3
    Join Date
    Aug 2004
    Posts
    10,140
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hmm the URL you posted doesn't work for me at the moment (I assume due to the server transfer). In any event though, the platform of your web server doesn't matter in this case, as JavaScript is purely client side. If you still need help please let me know when the URL works again, and I can check it out.
    DD Admin

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
  •