Well, I'm a web designer\developer that following Standards. So I'm updating my knowledge and interface design capabilities of 2.0 using degradable javascript via script.aculo.us. In this way, I prefer to not insert direcly inline js code on (X)HTML page.
So in most cases I may apply an effect to a series, or array, of elements with the same classes (think a photogallery). An example to explain it. So I would like to make a photogallery like these: <div id="mygallery"> <a href="..."...><img class="photogallery" alt="Photo 1" ... /></a> <a href="..."...><img class="photogallery" alt="Photo 2"... /></a> <a href="..."...><img class="photogallery" alt="Photo 3"... /></a> <a href="..."...><img class="photogallery" alt="Photo 4" ... /></a> </div> In which when images loads its opacity is set to 50% and on hover or focus gain the Effect.Appear to gain full 100% opacity. On my logic, but I'm not an expert js coder and may be in a wrong way, I would like to use Event.Observer (from prototype) to apply opacity effect on all images when page loads and to append (but in which way??? - help!!! :-) So there are a Event.Observer using class (like CSS) to apply an Effect like Appear or there are another way? Thanks for support, Simone --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" 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-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
