Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-21-2013, 02:00 PM   PM User | #1
davit_91
New to the CF scene

 
Join Date: Jan 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
davit_91 is an unknown quantity at this point
my script works locally but not on the server pleas help me

hello. i have a problem. i have done web page, with html,css,js. and it works locally but when i upload it on the server it doesn't works. i tried already 3 servers. pleas help me here is the http://nodartest.spacyhost.com/

doesn't works thumbs hover and links. i think there is something wrong with JS.
also i'll put here files whithout img
Attached Files
File Type: zip public_html.zip (9.0 KB, 12 views)
davit_91 is offline   Reply With Quote
Old 01-21-2013, 04:29 PM   PM User | #2
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,033
Thanks: 197
Thanked 2,410 Times in 2,388 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
If it works locally but not when uploaded to a server, then the problem is usually files in the wrong directory. Or perhaps problems with UPPER and lower case file names. Or file permissions which should be 755.

I don't like to say it, but I found the transitions very unattractive. And the links in white are barely visible.


All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.
__________________

All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.

Last edited by Philip M; 01-21-2013 at 04:41 PM..
Philip M is offline   Reply With Quote
Old 01-21-2013, 10:34 PM   PM User | #3
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,168
Thanks: 59
Thanked 3,993 Times in 3,962 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
I don't know if it will make a difference, but one thing I see is that the slider is claiming that it does not use jQuery. And yet you are including jQuery on the page. Is it possible that jQuery is interfering with the slider code?

The image slider seems to work fine, but clicking on a thumbnail does nothing. At least in Chrome.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote
Old 01-22-2013, 06:43 AM   PM User | #4
davit_91
New to the CF scene

 
Join Date: Jan 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
davit_91 is an unknown quantity at this point
what should i do, if you can advice me.
davit_91 is offline   Reply With Quote
Old 01-22-2013, 08:46 AM   PM User | #5
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,447
Thanks: 0
Thanked 496 Times in 488 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
I downloaded a copy of the page and the script started working. I then commented out the JQuery call and it still worked. The download did rename all of the image files and the references in the page, I didn't see anything else change so presumably it has something to do with how the images are named.

The only other thing I can think of that might make a difference is to move the script tag to the bottom just before the </body> (which is where the script should be anyway).
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is offline   Reply With Quote
Old 01-22-2013, 04:08 PM   PM User | #6
davit_91
New to the CF scene

 
Join Date: Jan 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
davit_91 is an unknown quantity at this point
oh it need license. it is written in js code. and its fee is 20$ for a server and there is another price for multi server
davit_91 is offline   Reply With Quote
Old 01-22-2013, 08:06 PM   PM User | #7
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,168
Thanks: 59
Thanked 3,993 Times in 3,962 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
Then go find another script that doesn't charge a license fee. There are many many many of them.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote
Old 01-22-2013, 09:06 PM   PM User | #8
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,447
Thanks: 0
Thanked 496 Times in 488 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
The script at http://javascriptexample.net/anim03.php already does half of what the one that charges a $20 license fee does. It wouldn't take much extra code to get it to handle the thumbnail images as well

If you let me know exactly how you want the JavaScript to interact with the thumbnails I might consider extending my script to add that functionality.
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:14 PM.


Advertisement
Log in to turn off these ads.