> Well, I'll make that outer SPAN into a DIV for this example (SPAN is
> an inline element, H1 is a block-level element, and inline elements
> can't contain block-level elements):
You are right, headings inside a span-tag are wrong - but it should
only be an example!

> var myElement = $('myElement');
> var div = new Element('div').update(/* whatever contents you want */);
> myElement.replace(div);
> div.insert({ bottom: myElement });
This didn´t solve my problem, too. But anyway I figured out a solution
that did - but the solution is not in this context anymore, why I doesn
´t make sense to post it here.

Thanks for your suggestions!
--~--~---------~--~----~------------~-------~--~----~
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