Solved

JS not working -- can't figure it out

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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

739 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