"Tom Lavedas" <tglbatch@xxxxxx> wrote in message
On Aug 27, 1:59 pm, "James" <donotemai...@xxxxxx> wrote:
> Are there any other attributes for objExplorer other than...
> objExplorer.ToolBar = 0
> objExplorer.MenuBar = 0
> objExplorer.StatusBar = 0
> objExplorer.Resizable = 0
> objExplorer.Width = 370
> objExplorer.Height = 301
> 'objExplorer.Left = 0
> 'objExplorer.Top = 0
> objExplorer.Visible = 1
> I am looking to: Get rid of the scroll bar completely. Get rid of the
> minimize/maximize/exit buttons in the top right. Get rig of any white
> surrounding my image file that I am displaying, which I would guess would
> a padding type issue and to center the window in the middle of the users
> screen no matter what size or resolution they are running. I have done
> searching, but the above is all I could find. If anyone send me a direct
> link that has more or if you have your own code that shows this I would be
> greatly appreciated.
The Internet Explorer title bar and min/max/close buttons are all off
limits in IE7+.
The other parameters are NOT part of the browser's properties, but
rather part of the document contained within the browser's window.
They can be removed using DHTML code or by applying the proper
property to the loaded page. If that page is 'about
:blank', to remove
the scroll bar, try adding this line ...
set oIE = createobject("InternetExplorer.Application")
oIE.document.body.scroll = "no"
To add it to the <BODY> tag use ...
Padding is ...
oIE.document.body.style.padding = 0
To remove the title bar requires either the FULLSCREEN=True statement
(IE before 7) and then use a statement like
or switch to an HTA, which can be configured without that stuff.
On line documentation for the DOM (document object model) for DHTML is