tags:

views:

42

answers:

2

my website the list expander is not working. I think it might be because I changed the CSS, but I cannot figure out how to make it work.

Sorry the url is [http://hpcommtoolkit.com/Communication%5Ftools.html%5D%5B2%5D not the original.

[2]: http://hpcommtoolkit.com/Communication_tools.html
A: 

Not sure what list you are referring to, however there is a fault in your HTML at line 405 with the style tag on the table which you should probably clean up:

style="BACKGROUND-IMAGE: url<img src="//images/afbottomgraphic.jpg"

The second double quote is ending the style tag prematurely. Background-image should be given a url in the form of url(path-to-file).

EDIT: Ok, I see your expandable sections in the new URL. They work correctly in Firefox, but IE8 is generating the following error: "Object doesn't support this property or method listexpander.js, line 69 character 3".

Looking at that line of code, the first thing I can see is that the variable "li" should have a "var" declaration on it to avoid it interfering with any global vars. I would also recommend running listexpander.js through jslint (http://www.jslint.com/) since the syntax has a few oddly positioned semi-colons.

ferdley
Thanks, I see that. But my expand all/collapse all buttons are not working. Are they working when you see it? Maybe I should refresh and clear my cache.
A: 

What list needs to be expanded? What code do you use for it?

Litso
I added the wrong link. http://hpcommtoolkit.com/Communication_tools.html
Litso