Interesting... but if have a bar.html and a corresponding mole.html, how can the code in bar.html communicate with mole.html? Sorry if I'm missing something obvious, but as far as I can tell bar.html is replaced by mole.html, but the whole javascript environment (as well as the DOM and html body) are replaced) so there is no way for the bar to affect the content of the mole.
Sorry if I'm being dense and thanks for your answer! uriel On Sun, Aug 16, 2009 at 12:43 AM, Erik Kay<[email protected]> wrote: > > On Thu, Aug 13, 2009 at 8:22 PM, Uriel<[email protected]> wrote: >> >> What is the recommended way to communicate with a mole from a toolstrip? > > A mole essentially is the toolstrip, just transformed, so there's > nothing to communicate with, it's the same page. If you want to talk > to it from another toolstrip (or a background page, etc.) it's just > like talking to a toolstrip (use getViews()). > > Erik > > >> I have been trying to use chrome.self.onConnect and so on, but failed >> miserably so far. > > >> Thanks >> >> uriel >> >> > >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Chromium-extensions" 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/chromium-extensions?hl=en -~----------~----~----~----~------~----~------~--~---
