sidebar width

  • how can I get sidebar width from tab's contet script?

    I need it for my extension
    I manged to do it for top windows, but from iframes I need screen coordinates
    and this what happens when using screen coordinates
    http://i.imgur.com/hz0VDf2.gif

    gif shows that when sidebar is opened, popup is displaced for the width of the sidebar
    so how do I calculate that width
    or could you make some fetchable sidebar object with basic info, something like:
    for particular windowID
    {open: true, width: 200, active: true}

Log in to reply
 

Looks like your connection to Opera forums was lost, please wait while we try to reconnect.