<%= link_to_function “edit this item”, “Element.toggle(‘editdiv’)” %>
blabla
blabla
blabla
blabla
roror
roror
roror
that works great but I would like the content of editdiv to overlap
the text that comes next, in other words I want blabla to overlap
roror because for now, when I click on “edit this item”
, roror goes down to make room for blabla.
Any idea how to do this?
the text that comes next, in other words I want blabla to overlap
roror because for now, when I click on “edit this item”
, roror goes down to make room for blabla.
Any idea how to do this?
For overlapping you must use the z-index css property and the div must
have an absolute position.