I am trying to do a simple slide-in of a 'delete-confirm' dialog box,
but nothing ever happens when I click on the 'Delete' button.

Here is the (essential) code:

     <div style="margin-left:5px;width:315px;background-
color:#DADADA;padding-left:5px;padding-top:3px;">

        <a onclick="Effect.toggle('confirm_delete', 'slide')" ><img
border="0px" src="/images/delete.png" /></a>
     </div>
     <div id="confirm_delete">
                        <P>Are you sure?</P>
<a onclick="deleteMessage(<%= @recip_row.id %>)"><img border="0px"
src="/images/delete.png" />
                <a onclick="Effect.toggle('confirm_delete', 'slide')"><img
border="0px" src="/images/cancel.png" /></a>
     </div>

prototype.js v1.6.0.1

I set a breakpoint in effects.js (v1.8.1) on line 712, and step into
the down() and getStyle() methods, but I am too much of a noob to know
what's going on in there. Bottom line is that the 'oldInnerBottom' var
is null, when I come out of line 712. This (I think) is why nothing
happens. I saw the advice (of about a year ago) of adding another div
internal to my 'confirm_delete' one. That did not seem to make a
difference.

What am I missing?

Thanks in advance,
--~--~---------~--~----~------------~-------~--~----~
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