Solved

JS not working -- can't figure it out

Posted on 2012-03-26
3
252 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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

735 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