alternatiff toolbar height

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?
 
R

Rob ^_^

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top