Page.toggle

Hi everybody:
I want to hide an image while it loading, I think that page.toggle it´s
a good idea but it doesn´t work, some one can help me.
Here my source code

<%= javascript_include_tag 'prototype' %>

<%= page.toggle ‘imagen’%>

</script>
<%=periodically_call_remote(:url => 'http://localhost:3000/', :frequency => '1', :update => 'imagen')%>
<%=image_tag("/guarrada/Debug/foto.jpg") %> <%=page.toggle 'imagen'%>

THANKS

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs