Thank you. That worked perfectly. However, whenever I click on the
link, it reloads the page therefore causing the "hello world!" to be
hidden again! "Hello world!" never stays there for about 1 second. How
can I get it to not hide it?

On Jun 30, 12:13 am, tobie <[EMAIL PROTECTED]> wrote:
> try this:
>
> <html>
> <head>
> <script src="javascripts/prototype.js" type="text/javascript"></
> script>
> <script src="javascripts/scriptaculous.js" type="text/javascript"></
> script>
> </head>
>
> <body>
> <div id="foo" style="display: none;">hello world!</div>
>  <a href="#" onclick="new Effect.Appear('foo')">Click here to say hi</
> a>
> </body>
>  </html>


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to