Log in

View Full Version : Accordion Content script (v1.9) onclick



retzlaff
10-15-2010, 10:52 AM
1) Script Title:

Accordion Content script

2) Script URL (on DD):

http://www.dynamicdrive.com/dynamicindex17/ddaccordion.htm

3) Describe problem:

plus and minus not working, if you look at above page, the onclick example has http://tinypic.com/images/404.gif for it's picture, plus and minus appear to be pointing at files on tinypic.com that no longer exist.

Also there is some disagreement as too if the plus and minus should be the other way around, if you run say regedit, you will see you use + to expand and - to contract, this script is the (or should I say was) the other way around

Many Thanks for the great script :)

jscheuer1
10-15-2010, 04:07 PM
I'm not the script's author and I don't know tinypic's policy. Some image hosting services unlink if there are too many hotlinks to an image and/or it's a duplicate and/or there aren't any direct downloads for awhile.

It might just be a temporary outage though, so we should wait a week to see if they fix it. If not, it should be taken care of by finding a new image host for the image or finding the current reference on tinypic, if that has changed.

It was working just the other day when I had a request to change the order as in the second part of your report. That's not a bug, just personal preference. The images can be in either order you like here (from the demo page Step 1 under //Initialize 2nd demo):



togglehtml: ["prefix", "<img src='http://i13.tinypic.com/80mxwlz.gif' style='width:13px; height:13px' /> ", "<img src='http://i18.tinypic.com/6tpc4td.gif' style='width:13px; height:13px' /> "], //Additional HTML added to the header when it's collapsed and expanded, respectively ["position", "html1", "html2"] (see docs)