Skip navigation
Currently Being Moderated

query slideshow, not working when uploaded to server

Jul 20, 2013 10:35 AM

Tags: #jquery #javascript #upload #dreamweaver_cs5 #issues

Site uploade to domain:   http://www.menterderm.com -----doesn't work

 

Site uploaded to my student server:  http://www.tammy4u2.aisites.com/mdri/index.html  ----works well

 

I'm using  jquery slidshow on my site.

    

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>

<script type="text/javascript" src="js/jquery.cycle.all.js"></script>

<script type="text/javascript">

$(document).ready(function() {

$('#slideshow').cycle();

 

 

      }); //end document ready

</script>

 

It works great in Dreamweaver and it even works great when I upload it to my student server.  But when I went to upload it to the domain (on Godaddy's server), it's not working.

 

I do have alot of issues when I try to upload a file using Dreamweaver....it get's so frustrating.  I'm also using Cyberduck to upload files as I seem to be more successful than using Dreamweaver but for whatever reason I wasn't able to connect to godaddy using Cyberduck so I had to upload using Dreamweaver (this could be related to my problem).

 

Does anyone suggest a better way to upload using FTP?

 

Any help or advice would be so appreciated.

 
Replies
  • Currently Being Moderated
    Jul 20, 2013 11:00 AM   in reply to TammyFarrington

    Change the single quotes to double quotes:

     

    wrong way:

    <div id='slideshow'>

     

    right way:

    <div id="slideshow">

     

     

     

    Nancy O.


     
    |
    Mark as:
  • Currently Being Moderated
    Jul 20, 2013 11:03 AM   in reply to Nancy O.

    GoDaddy hosting is always trouble.  I don't know anybody who doesn't have difficulty with them.  Best advice, find better web hosting.

     

    In the meantime, try toggling the More Options settings in your Site Definition.  See screenshot:

     

    DWCS6-moreOptions.jpg

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 22, 2013 6:54 AM   in reply to Nancy O.

    Your code was somehow changed to a single line on the page that isn't working. That can break javascripts.

     

    Different server types will use different Line Break styles. Check your line break type in DW under Edit > Preferences > Code Format.

     

    Change it to match the server type you are using at GoDaddy (Windows or *nix, I don't think Mac is an option with GD) and then use Commands > Apply Source Formatting to update the pages of your site.

     

    Re-upload and see if it helps.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 23, 2013 5:40 AM   in reply to TammyFarrington

    It works here in FF and Chrome on Windows 7. It could be a browser cache issue, try reloading the cache...

     

    Firefox: Ctrl + Shift + R

    Chrome: F12, Right Click Reload Button, Choose Empty Cache and Hard Reload

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points