I''ve uploaded all the js files that it said to upload to my server.
Here is my HTML. Nothing is working.
THIS IS THE HTML I USED THAT DOESN''T WORK
<html>
<head>
<script src="javascripts/prototype.js"
type="text/javascript"></
script>
<script src="javascripts/scriptaculous.js"
type="text/javascript"></
script>
</head>
<body>
<a href="#" onclick="Effect.Appear(this)">
Click here if you want this to go slooooow.
</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
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---
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
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---
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 <tobie.lan...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Never mind the post about the page hiding it when it refreshes... I figured it out. Thanks for your help, once again. On Jun 30, 12:13 am, tobie <tobie.lan...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---