I had to change the name of Book to Document for a very large document at one site. The database name stays as Book but the user sees your chosen name for most of the edits.
I am not sure about the scalability so I mentioned it.
Another person had used the Tabs Module to create Next and Previous tabs for assigning to particular documents in nodes.
Hope this helps.
Hi, all. I'm spinning my wheels a bit on this one. I have a form in a modal, using modalframe api (http://drupal.org/project/modalframe). I want to use events in the modal to trigger changes in the DOM in the parent window, e.g., adding selections from the modal into the dom behind it.
I don't want to do this in the onSubmit handler, because the updates could take a second or so. So its better that the changes be done incrementally.
Thing is, I don't know how to affect the parent from the child. Modal frame itself does things like this:
self.$parentWindow = parent.jQuery(parent);
But I'm not sure what to do with that.
What I need to get to is something like
parent.find("select element in parent dom").trigger(...)
... and I found my own answer.
$("selector", top.document).doSomething();
Thanks to everyone who -would- have answered my question.
On 10/22/2010 09:45 AM, Christopher M. Jones wrote:
Hi, all. I'm spinning my wheels a bit on this one. I have a form in a modal, using modalframe api (http://drupal.org/project/modalframe). I want to use events in the modal to trigger changes in the DOM in the parent window, e.g., adding selections from the modal into the dom behind it.
I don't want to do this in the onSubmit handler, because the updates could take a second or so. So its better that the changes be done incrementally.
Thing is, I don't know how to affect the parent from the child. Modal frame itself does things like this:
self.$parentWindow = parent.jQuery(parent);
But I'm not sure what to do with that.
What I need to get to is something like
parent.find("select element in parent dom").trigger(...)