Usually user notification is done with
nsIAlertsService.showAlertNotification()... this is the sliding
notification window shown, for example, when Firefox completes a
download. However, if you still want to change the mouse pointer, you
should be able to do something like
document.documentElement.setAttribute("style", "cursor: hand;")
although this will overwrite existing styles, so you might need to
insert your own <div/> at the top of the doc or after <body/>



--- InBasic <[EMAIL PROTECTED]> wrote:

> no , my extension doest display any html code
> 
> i want some code like Google toolbar when block popup
> i want to notice user that extension done something on page
> 
> 
> On 6/1/07, Onno Ekker <[EMAIL PROTECTED]> wrote:
> >
> > If your extension displays some html, you can add css styling to
> change
> > the mouse icon.
> > You can add different cursors for different elements if you want.
> > Add something like the following to the html-tags you like:
> >
> >  style="cursor:url(newmouse.ico),auto;"
> >
> > Or put it in a stylesheet file. For more info, check-out w3c:
> > http://www.w3.org/TR/CSS21/ui.html#cursor-props
> >
> >
> > On 6/1/07, InBasic <[EMAIL PROTECTED]> wrote:
> >
> > > hi
> > > i want to change mouse icon in page by my extension, is it
> possible ?
> > > something like google toolbar when block pop ups
> > >
> > > _______________________________________________
> > > Project_owners mailing list
> > > [email protected]
> > > http://mozdev.org/mailman/listinfo/project_owners
> > >
> > >
> >
> > _______________________________________________
> > Project_owners mailing list
> > [email protected]
> > http://mozdev.org/mailman/listinfo/project_owners
> >
> >
> > _______________________________________________
> Project_owners mailing list
> [email protected]
> http://mozdev.org/mailman/listinfo/project_owners
> 

_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to