The effects.js comes up with a runtime error saying

Error: element has no properties

referring to the line of code:

queue: { position:'end', scope: (element.id || 'global'), limit:1 }

Anyone got any idea why and how to fix it??

the code that I'm using is:

<script src="/Scriptaculous/prototype.js" type="text/javascript"></
script>
<script src="Scriptaculous/scriptaculous.js" type="text/javascript"></
script>

<link href="HowWeWork/InfoPage.css" rel="stylesheet" type="text/css" /
>
<body>
<script type="text/javascript" language="javascript">
    // <![CDATA[
      Effect.Appear('element_id');
    // ]]>
  </script>

<div class="info_Page">

<a href="#" onclick="Effect.toggle('hidden_content1','blind'); return
false"><H2>Deciding what vehicle you want </H2></a>

<div id="hidden_content1" style="display:none"><span class="stuff">

  <p>Five fountains tickled the progressive elephant.
        Two speedy cats grew up almost easily.
        Umpteen subways perused two obese dogs. Umpteen very bourgeois
dwarves noisily telephoned Tokyo, even though five subways bought
Springfield. One speedy elephant untangles Batman, because five
aardvarks tickled Mercury.
        Quark grew up, then chrysanthemums laughed extremely cleverly. Five
bourgeois lampstands tastes two televisions. Umpteen quite silly
trailers easily fights Paul, even though two tickets bought one
quixotic wart hog, however five obese subways tastes umpteen Klingons.
Partly purple sheep
</p>

<dl>
<dt>What you need to know before hand:-</dt>
<dd>What you need to carry</dd>
</dl>
</span>
</div>
</div>


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