Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jul 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    few trouble with jquery itself and also uploading it on ftp

    hello first i really like this forum it helped me alot those few days
    i have some jquery issues
    i have some stuff that have some trouble like if i put 17 pictures only 16 will show everytime it shows 2-3 less pictures than it supposed to be and i dont know how to solve the problem
    i would appreciate any kind of help this would be great

    here is the code i took
    http://coffeescripter.com/code/ad-gallery/#ad-image-0
    since i'm a newbie there are lots of stuff i dont know how to handle

    here is the website i started doing just the gallerie
    http://debojam.bugs3.com/personalgallerie/images/
    as u can see the gallerie is not showing now we get to question number 2
    question 2
    as long as i'm offline everything works really fine but in the minute i upload it on my ftp nothing works i mean except of the html itself like the logo that's all that works do i need any support for it in the server ??

    the third and last question
    how do i make a site management i mean the people i'm making the website for them want to be able to change very easy way the pictures and text that will be on the website
    i've heard about drupal but i don't know how to make this website as drupal

    thank you very much for the help

  • #2
    Regular Coder
    Join Date
    Jan 2008
    Location
    Geneva, Switzerland
    Posts
    413
    Thanks
    12
    Thanked 29 Times in 29 Posts
    Hi,

    Paths to your images is your issue, as far as I can tell.

    Your website is under http://debojam.bugs3.com/personalgallerie/images/
    Your HTML images sources are mentioned as src="thumbs/personall1.jpg"
    If I navigate to http://debojam.bugs3.com/personalgal...personall1.jpg I get a 404 Error, which means the path is incorrect, or the image is missing.

    The way you wrote your code means that the 'thumbs' folder would be in the 'images' folder. If the thumbs folder is above the images folder in your structure, then you will need to use something like src="../../thumbs/personall1.jpg"

    JavaScript (and jQuery) are client side languages, which means that they are interpreted by your browser, nothing related to the server. So there is nothing special to install on your server.

    The links to the jQuery library and your other JS files looks correct to me.
    Chuck Norris counted to infinity.
    Twice.


  •  

    Posting Permissions

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