This is not currently supported in the InPlaceEditor although it is
definitely possible to support. Either have a stab at it yourself or
create an issue for it in the issue tracker
http://dev.rubyonrails.com. This sounds fun so I might have a look at
it later myself. (Unfortunately no guarantees on when though.)
On 11/1/05, Steve Odom <[EMAIL PROTECTED]> wrote:
> on mouseover when using inplaceeditor it highlights in yellow. Great.
> However, I want to also show a tooltip inside this div on mouseover.
>
> Specifically, when a user is over editable text, besides the yellow
> background, I want to display next to it a "delete" link. One of the things
> I've tried is this:
>
> <script language="JavaScript">
> new Ajax.InPlaceEditor('answer_<%= answer['id'] %>_view',
> 'update_answer',
>
> {rows:2,cols:40,loadTextURL:"getAnswer"},onMouseover:"Element.show('delete')";);
> </script>
>
> I'm am a newbie a javascript, so examples are appreciated.
> Thanks,
>
> Steve
>
> _______________________________________________
> Rails-spinoffs mailing list
> [email protected]
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>
>
>
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs