having trouble getting the Scriptaculous effects to work

J

Jake Barnes

I've read over the documentation for these effects:

http://wiki.script.aculo.us/scriptaculous/show/CombinationEffectsDemo

I want to include them on my page. I tried attaching using onload, but
that didn't work. In fact, I can not get them to work even as inline
commands. I click on the DIV with the id of newMailList, I only get an
errror. This is the HTML:


<h3>Pick a list: (<a id="linkForNewMailList"
href="mcControlPanel.php">Create New</a>)</h3>

<div id="newMailList" style="display:block;"
onclick="Element.hide('newMailList'); new
Effect.Appear('newMailList');">
<form method="post" action="/media/audio/mcControlPanel.php"
id="createnewlist">
<h3>Name this list: </h3>
<input type="text" name="newsletterName" class="white" />

<h3>Pick the emails for this list (<a href="javascript:;"
onClick="checkAllCheckBoxInputs('createnewlist');">Check/Uncheck</a>):</h3>

<?php showAllEmailAddressesForSending(); ?>

<br />
<h3>Or add emails manually:</h3>
<textarea cols="100%" rows="5" id="manualEmail"
name="manualEmail"></textarea>

<br />
<input type="submit" value="Save List" class="button" />
<input type="hidden" name="choiceMade" value="makeNewMailList" />
<input type="hidden" name="arrangement" value="sendEmail" />
</form>
</div>



When I click on the DIV, it'll disappear, but not reappear. I get no
error. Why would that happen.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,040
Latest member
papereejit

Latest Threads

Top