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
<head>
<%= javascript_include_tag 'prototype' %>
</head>
<script type="text/javascript">

<%= page.toggle 'imagen'%>


    </script>
  <body onload="actualizador()">
  <%=periodically_call_remote(:url => 'http://localhost:3000/',
:frequency => '1', :update => 'imagen')%>

<div id="imagen">
<%=image_tag("/guarrada/Debug/foto.jpg") %>
<%=page.toggle 'imagen'%>
</div>
</body>

THANKS
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to