Eventually, add the position (and the width ?) of the tab in the callback to
know where to display the preview...
And maybe the OnMouseOver isn't enough by itself, an OnMouseEnter and
OnMouseLeave must be a better replacement.

2009/10/30 Julien Tillay <[email protected]>

> Hello,
> it'll be cool to add the event onMouseOver in the chrome.tabs API.
> with this, I can display a fast preview of the tabs in the current selected
> tab content without select them, just by mouve the mouse over the tab
> (there is already an effect on the tab theme so I think it's not hard to
> implement)
>
> something like that :
> onMouseOver
> chrome.tabs.onMouseOver.addListener(function(integer tabId) {...});
>
> Fires when the mouse mouse is over a tab.
> Parameters
> tabId *
> ( integer )
> *The ID of the tab under the mouse.
>
> thx
>
> --
> Julien TILLAY
>



-- 
Julien TILLAY - [email protected] - [email protected]
06.23.67.34.69  - GameDevLab - Persistant Studios
tek3 - Epitech_2011

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to