What steps have you taken to try to diagnose the problem?  For
instance, are any errors reported in the above?  (I suspect there
are.)  Since Prototype & script.aculo.us *do* work...

Some off-the-cuff things I notice about the above:

1. AFAIK, there's no fade() method on Element, looking at the
documentation in Prototype[1] and script.aculo.us[2].  I'm relatively
new to them, so if that's something that was in a previous version,
perhaps that's your problem.  I don't know much about script.aculo.us
(or indeed virtually anything), but I think you're looking for:

[1] http://prototypejs.org/api/element
[2] http://github.com/madrobby/scriptaculous/wikis

2. The HTML you quoted is one large comment block.  I'm guessing you
added the comment tags for posting purposes and they're not really in
the page you're testing with, but just in case...

3. The body tag has a dash at the beginning, making it invalid.

T.J. Crowder
tj / crowder software / com

On Nov 4, 12:13 pm, jeaswe <[EMAIL PROTECTED]> wrote:
> I have downloaded Scriptaculous1.8.1, and am using prototype for quite
> a while. But I can't get it working, not the simplest test shows any
> signs of life.
> The simple script below does not work, nothing happens.
> Could anyone put me on the track?
> regards
> jea,sweden
> <!--html>
> <head>
> <script src="/prototype-" type="text/javascript" ></script>
> <script src="/scriptaculous-js-1.8.1/scriptaculous.js" type="text/
> javascript" ></script>
> </head>
> <-body>
> <div id="fade_demo" style="width:80px; height:80px;
> background:#c2defb; border:1px solid #333;"></div>
> <ul>
> <li><a href="#" onclick="$('fade_demo').fade(); return false;">Click
> here for a demo!</a></li>
> <li><a href="#" onclick="$('fade_demo').show(); return false;">Reset</
> a></li>
> </ul>
> </body>
> </html-->
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to