PDA

View Full Version : Switch Content Script II



alesiadixon
09-10-2006, 02:30 PM
1) Script Title: SWITCH CONTENT SCRIPT II

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

3) Describe problem: I cannot get the plus & minus signs to show up...only a red x. I have read the instructions on the script over & over & searched this forum & tried for days to do different things to fix this. I have uploaded the images to my site image folder & checked to make sure they are there.
The url to where I have the script inserted is: http://www.akcpuppy.net/
I am kinda stupid at this...so I really need very simplified answers. Thank You!!
Alesia

jscheuer1
09-10-2006, 05:39 PM
The script thinks the images are here:


http://www.akcpuppy.net/

in the root of the domain. Either put them there or change this:


var contractsymbol='minus.gif' //Path to image to represent contract state.
var expandsymbol='plus.gif' //Path to image to represent expand state.

to reflect the actual path, ex:


var contractsymbol='/images/minus.gif' //Path to image to represent contract state.
var expandsymbol='/images/plus.gif' //Path to image to represent expand state.

Use the path to your actual image folder. You must also correct the paths here (and similar) in the markup:


<div class="headers"><img src="minus.gif" class="showstate" onC . . .

alesiadixon
09-10-2006, 06:51 PM
THANK YOU!!! I got it to work very easily with your instructions. Thank You Again,
Alesia