alternatiff toolbar height

  • Thread starter Thread starter mouse
  • Start date Start date
M

mouse

There is a TIFF viewer located at http://www.alternatiff.com
which I am using to view embedded images in my webpage. To properly
code the html I need to know the height of its toolbar in pixels,
since when I use for example;

<embed src="../images/engtc.tiff" width="638" height="1050">

then it generates a black bar at the right of the screen because the
numbers don't take the toolbar height into account.

The toolbar is implemented as an ActiveX control. How would I find its
height in pixels?
 
Hi Mouse,

The Default height for IE toolbars is 22px. If you are the author of the
ActiveX control in your toolbar you should be able to query its parent or
container property to find the toolbar dimensions.
If your ActiveX control is embeded within a html toolbar (see the Alexa
toolbar), you can stretch the height of the toolbar to whatever height you
want (but it is not persistant between IE session and always reverts back to
22px height whenever IE is loaded). You will see in the Alexa toolbar that
they use the onresize event of the containing html document to always resize
the height of the toolbar to 22px.

Regards.
 
Back
Top