View Full Version : Broken images on switch content script

03-31-2014, 07:02 PM
1) Script Title: Switch Content Script II (icon based)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/switchcontent2.htm

3) Describe problem: Hello. I used your switch content script on a site I did a while ago. They just alerted me that now the image icons appear broken. I've gone through the script to try to determine what had happened, but am not able to see anything. The "open" state images show up fine, but the "closed" images are broken. Can you help? Here is the URL so that you can see: http://www.bangsalon.net/wash_park_salon.html

Thank you for your help.

meg maurek

03-31-2014, 08:18 PM
Inside the initialization code of the script, you have the following defined for the toggle images:

bobexample.setStatus('<img src="http://img242.imageshack.us/img242/5553/opencq8.png" /> ', '<img src="http://img167.imageshack.us/img167/7718/closedy2.png" /> ')

The second entry pertains to the closed state's image, which you can see is broken: http://img167.imageshack.us/img167/7718/closedy2.png