perhaps missing ";" on the end of the statements ?
----- Original Message ----- 
From: "Tarscher" <[EMAIL PROTECTED]>
To: "Prototype & script.aculo.us" <prototype-scriptaculous@googlegroups.com>
Sent: Sunday, November 16, 2008 5:39 PM
Subject: [Proto-Scripty] code works in chrome not ff and ie


>
> 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 prototype-scriptaculous@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to