![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | objExplorer 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 space surrounding my image file that I am displaying, which I would guess would be 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 some 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. James |
My System Specs![]() |
| | #2 (permalink) |
| | Re: objExplorer On Aug 27, 1:59*pm, "James" <donotemai...@xxxxxx> wrote: Quote: > 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 space > surrounding my image file that I am displaying, which I would guess wouldbe > 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 donesome > 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. > > James 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 ... <body scroll=no> 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 document.parentwindow.RESIZE newx,newy or switch to an HTA, which can be configured without that stuff. On line documentation for the DOM (document object model) for DHTML is at: http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx _____________________ Tom Lavedas |
My System Specs![]() |
| | #3 (permalink) |
| | Re: objExplorer Thanks Tom "Tom Lavedas" <tglbatch@xxxxxx> wrote in message news:9176b225-6881-4239-854d-bd9f5ce8272d@xxxxxx On Aug 27, 1:59 pm, "James" <donotemai...@xxxxxx> wrote: Quote: > 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 > space > surrounding my image file that I am displaying, which I would guess would > be > 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 > some > 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. > > James 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 ... <body scroll=no> 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 document.parentwindow.RESIZE newx,newy or switch to an HTA, which can be configured without that stuff. On line documentation for the DOM (document object model) for DHTML is at: http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx _____________________ Tom Lavedas |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| objExplorer window | VB Script | |||