Hide IE Scrollbars with WScript  | |
May 12th, 2004, 04:09 AM
|
#1 (permalink)
| | Junior Member
Join Date: May 2004
Posts: 4
| Hide IE Scrollbars with WScript
How could I hide the IE Scrollbars with WScript
when creating an instance with WScript.CreateObject("InternetExplorer.Application ")?
Thanks. |
| |
May 12th, 2004, 04:20 AM
|
#2 (permalink)
| | ph34r t3h g04t
Join Date: Oct 2001 Location: Kingsford, MI
Posts: 19,558
|
What are you trying to hide them on? You may not need to use a script. |
| |
May 12th, 2004, 09:55 PM
|
#3 (permalink)
| | Junior Member
Join Date: May 2004
Posts: 4
| Hide IE Scrollbars with WScript
Thanks for your reply.
Although I can't write the following code to open an instance of IE,
I CAN'T hide its vertical scrollbar!
Set objExplorer = WScript.CreateObject("InternetExplorer.Application ")
objExplorer.Navigate "about:blank"
objExplorer.ToolBar = 0
objExplorer.StatusBar = 0
objExplorer.Width = 264
objExplorer.Height = 352
objExplorer.Left = 0
objExplorer.Top = 0
objExplorer.Visible = 1
Thanks again. |
| |
May 14th, 2004, 06:54 PM
|
#4 (permalink)
| | ph34r t3h g04t
Join Date: Oct 2001 Location: Kingsford, MI
Posts: 19,558
|
What you could do is, and I'm assuming you're opening a premade page, have the pop-up target a frame page and use the scrolling=no switch. Then have that frame load the page you want the user to see.
Or you could use an CSS blurb in the <head> tag to make the scollbar elements a single color - the same as the background. This wouldn't make the scrollbar go away, but it would be 'invisible.'
Since I'm not sure what you're after exactly, that's about all I can tell you. |
| |
May 27th, 2004, 03:08 PM
|
#5 (permalink)
| | Junior Member
Join Date: May 2004
Posts: 1
|
add "scroll=no" to the <BODY> tag |
| |
May 28th, 2004, 03:44 AM
|
#6 (permalink)
| | Junior Member
Join Date: May 2004
Posts: 4
|
Thanks very much! It works! |
| |
May 28th, 2004, 06:07 AM
|
#7 (permalink)
| | Not Really a Member
Join Date: Oct 2001
Posts: 25,386
|
It sounds like you were trying to write client side script from an asp page which is server side.
You wouldn't be able to access the properties like that
__________________
Helicopters don't fly; they vibrate so much and make so much noise that the earth rejects them.
|
| |
May 30th, 2004, 11:19 PM
|
#8 (permalink)
| | Junior Member
Join Date: May 2004
Posts: 4
|
What I'm doing is to write a VBS to run when users log in windows. This VBS script will open a popup IE window, with no scroll bars. |
| |
May 30th, 2004, 11:35 PM
|
#9 (permalink)
| | Not Really a Member
Join Date: Oct 2001
Posts: 25,386
|
Ohhhhhhh I see
Ok  |
| | | Thread Tools | Search this Thread | | | | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Most Active Discussions | | | | | Recent Discussions  | | | | | |