collapsible list & dwt?

S

Susan

I have a collapsible list done with Javascript which works fine until I
apply a dwt. I don't understand why a dwt would make any difference.

easternshoreartcenter.com/patron1.htm - has the dwt applied, you have to
click on the blank spot first and then the minus and plus seem to work.

easternshoreartcenter.com/patron2.htm - is page without dwt.

Can anyone explain to me what is happening?

Thanks,
Susan
 
S

Stefan B Rusynko

Your script needs to be in an uneditable region of the DWT or it will not be transferred to pages using it
Thus your call to changeVisibility('1'); is failing

Move the script into the HEAD section of your DWT



|I have a collapsible list done with Javascript which works fine until I
| apply a dwt. I don't understand why a dwt would make any difference.
|
| easternshoreartcenter.com/patron1.htm - has the dwt applied, you have to
| click on the blank spot first and then the minus and plus seem to work.
|
| easternshoreartcenter.com/patron2.htm - is page without dwt.
|
| Can anyone explain to me what is happening?
|
| Thanks,
| Susan
|
|
 
S

Susan

I moved the script into the <Head> section but I am still having problems.

See easternshoreartcenter.com/patron4.htm - script is in <head>

easternshoreartcenter.com/patron2.htm is the simple code that works.
 
Top