Good idea Marcos :) On Mon, Nov 30, 2009 at 8:23 AM, Marcos Aruj <[email protected]> wrote: > You may use an init script on the popup's html that will set the icon to a > loading image, and have loaded event as well to reset the browser action. > This way you don;t depend on the on click event. > <script type="text/javascript"> > // First attach to a document loaded event. Maybe jQuery's > $(document).ready. The handler will reset the icon to its normal state. > // Then set the browser action icon to a loading image. > </script> > > Hope this helps. > > On Sun, Nov 29, 2009 at 5:03 PM, Esad Hajdarevic <[email protected]> wrote: >> >> Hi, >> >> I'm trying to animate the browser action image while the popup is >> loading. However, when manifesto is specifying a popup file, the >> handler (added via chrome.browserAction.onClicked.addListener) never >> gets called. When I remove the popup from the manifesto, the handler >> works, but of course no popup gets shown. Is this intended behavior >> and what would be the best way around this? Is there an API call to >> manually show a popup? >> >> Thanks, >> >> Esad >> >> -- >> >> 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. >> >> > > > > -- > Marcos Aruj Alvarez > Ingeniero de Software > ------------------------------- > [email protected] > ----- > > -- > > 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. >
-- 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.
