Steven White

Navigation

Skip navigation.

Search

Site navigation

Email conversation

FromSteven White
ToMe
SubjectI am having trouble with the Collapsible lists tutorial and code.
Date5 August 2005 21:02
I receive an error of "collapsibleList is undefined"

[sample URL]

I am trying to incorporate this into a [snip] project.
 I received this error on my origional script for the project,  then I
tried to just make it work in a simple .htm page.  I use dreamweaver to
code in just incase you wanted to know.  I think once I get this error
out, I should be able to make it work in my project.

Thank you

Steve
FromMe
ToSteven White
SubjectRe: I am having trouble with the Collapsible lists tutorial and code.
Date5 August 2005 21:09
Steve,

> I receive an error of "collapsibleList is undefined"

You are referencing a script file
[snip]/collapseList.js
but the file does not exist - that is why you are getting the error.
download the file from:
http://www.howtocreate.co.uk/jslibs/collapsibleList.js
and upload it to:
[snip]/collapseList.js

Then it should work.

Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/
FromSteven White
ToMe
SubjectRe: I am having trouble with the Collapsible lists tutorial and code.
Date5 August 2005 21:35
I really appreciate your speed in this.  I have triple checked the file
location...  I just figured it out.  The file I downloaded from your
site was called "collapsibleList.js" not collapseList.js like the page
states with this line of code "<script src="collapseList.js"
type="text/javascript" language="javascript1.2"></script>
".  It works now.  If you wish I will keep you informed of my project
coding on this.  When I am done I will have mixed javascript, vbscript,
XML, and ESRI 's ActiveX controller for ArcIMS to create an organization
for 65 different map layers using your code for the lists.  Providing
you do not mind.  I will keep any comments that you have in your code
intact and we are a non-profit organization.

Thank you for your help.

Steven White
FromMe
ToSteven White
SubjectRe: I am having trouble with the Collapsible lists tutorial and code.
Date5 August 2005 21:42
Steve,

> The file I downloaded from your
> site was called "collapsibleList.js" not collapseList.js like the page
> states

argh, that old typo is back. I will fix it now.
This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.