Solved

JS not working -- can't figure it out

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

785 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