Solved

JS not working -- can't figure it out

Posted on 2012-03-26
3
260 Views
Last Modified: 2012-03-27
I am perplexed.  I have a client with a WordPress site and she edited the page, which has some hard coded HTML in it and she broke a rotating image run by javascript.  

This must be super simple, but i can't figure it out for the life of me.  I restored the page as it was and it still doesn't work.  

The file is where it is supposed to be.  I just don't see what the problem is.

The site is at http://www.bonnietaubdix.com.   the home page has the rotating images using the script...
<script src="http://bonnietaubdix.com/wpsite/wp-content/themes/bonnie/album.js"></script>
0
Comment
Question by:dougfosterNYC
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 500 total points
ID: 37769894
I see all pictures missing

images/q1.jpg to images/q9.jpg

so you need to change
var path="images/q"

to

var path="/wpsite/wp-content/themes/bonnie/images/q";
0
 

Author Closing Comment

by:dougfosterNYC
ID: 37770742
Thanks, that was the issue. It is really odd, since it used to work.
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 37770909
I do not know wp well but it looks like someone changed virtual root
0

Featured Post

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

634 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question