Ajax Effect problem

hey,

i want to have an effect on my search that the user can fold it open and
close
it again

Open
Close

.show_link {
visibility: visible;
}
.noshow_link {
visibility: hidden;
display: none;
}

function show_search_area() {
changeSty(‘search_area_table’,‘show_link’);
changeSty(‘search_area_open_url’,‘noshow_link’);
new Effect.SlideDown(‘search_area_table’);
changeSty(‘search_area_table’,‘show_link’);
changeSty(‘search_area_close_url’,‘show_link’);
}

function hide_search_area() {
changeSty(‘search_area_close_url’,‘noshow_link’);
new Effect.SlideUp(‘search_area_table’);
changeSty(‘search_area_open_url’,‘show_link’);
}

in firefox it works perfect, but in IE i get an error:
this action is not supported by this object.

any can help me?

function show_search_area() {
changeSty(‘search_area_table’,‘show_link’);
changeSty(‘search_area_open_url’,‘noshow_link’);
new Effect.SlideDown(‘search_area_table’);
changeSty(‘search_area_table’,‘show_link’);
changeSty(‘search_area_close_url’,‘show_link’);
}

according to script.aculo.us docs, the area has to be in 2
cascaded-block elements… is this the case for you? (e.g.

content
)

which kind of element is your “search_area_table”? (if i assume that it
is a table: maybe ie doesn’t treat it as an ordinary block element, is
that possible, anyone?)

regards,

t