Hi all,
The linked, when clicked, should change caption and toggle blind the
div with id archive_div. The code works in Chrome but not IE and FF
Somebody knows why?
Thanks
<%= link_to_function('<div id="archive_function_link">Toon
archief</div>',
"Effect.toggle('archive_div','blind',{});
console.log('logbericht');
if($('archive_function_link').innerHTML == 'Verberg
archief')
{
$('archive_function_link').innerHTML = 'Toon archief'
}
else
{
$('archive_function_link').innerHTML = 'Verberg
archief'
};")
%>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---