button_to_remote syntax

above code, the :before is ignored

So, I change the path to a :url hash:
<%= button_to_remote "Paid", :url =>
has_paid_event_booking_path(booking, booking.event), :method => :post,
:before => "Effect.Fade('not_paid_" + booking.id.to_s + "')",:style =>
"background:url(/images/money_add.png) left no-repeat; padding-left:
15px" %>

and then the :before works, but now the style is ignored!

html options need to be in a second hash of options, ie
button_to_remote 'Foo', {...}, {...}

Fred