+ Post New Thread
Results 1 to 7 of 7
Windows Thread, HTML Help in Technical; Hi guys (and gals). I am currently creating an internal website for work. I have been asked to make the ...
  1. #1
    Shrimpersfan's Avatar
    Join Date
    Feb 2008
    Location
    Peterborough
    Posts
    52
    Thank Post
    9
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    HTML Help

    Hi guys (and gals).

    I am currently creating an internal website for work.

    I have been asked to make the site load in a 'clean' window. What we would like is to be able to remove toolbars and address bar when the pages are displayed.

    Any help would be greatly appreicated.

    David

  2. #2
    Gerry's Avatar
    Join Date
    Jun 2007
    Location
    North Wales
    Posts
    431
    Thank Post
    60
    Thanked 38 Times in 35 Posts
    Rep Power
    24
    I've got this bit of code which will open IE with specified website, then you can change the lines lower down for various effects. Without changes, it should load the website in an IE window which will fill the screen, minus an address, menu and toolbar. Not sure, but perhaps it could be adapted into VBScript that can be embedded in your web pages...

    ' URL for website
    strURL = "http://www.foobar.com"

    ' Get the screen size
    strComputer = "."
    Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
    Set colItems = objWMIService.ExecQuery("Select * from Win32_DesktopMonitor")
    For Each objItem in colItems ' Because we get 2 results for some strange reason
    If objItem.ScreenHeight <> "" Then intScreenHeight = objItem.ScreenHeight
    If objItem.ScreenWidth <> "" Then intScreenWidth = objItem.ScreenWidth
    Next

    Set objIE = CreateObject("InternetExplorer.Application")

    objIE.FullScreen=False
    objIE.TheaterMode=False

    objIE.AddressBar=False
    objIE.MenuBar=False
    objIE.ToolBar=False

    objIE.Left=0
    objIE.Top=0
    objIE.Width=intScreenWidth
    objIE.Height=intScreenHeight-30 ' Takes into account the Windows toolbar

    objIE.Navigate(strURL)
    objIE.Visible=True

  3. #3
    Shrimpersfan's Avatar
    Join Date
    Feb 2008
    Location
    Peterborough
    Posts
    52
    Thank Post
    9
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Thanks Gerry.

    Will this display the same sort of thing as using 'iexplore -k' in the run menu?

  4. #4
    Shrimpersfan's Avatar
    Join Date
    Feb 2008
    Location
    Peterborough
    Posts
    52
    Thank Post
    9
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Also.... I am using frames in the site, will this code need to be added into the frameset code or each individual page?

  5. #5
    Inbir316's Avatar
    Join Date
    Sep 2007
    Location
    Brighton, East Sussex
    Posts
    252
    Thank Post
    12
    Thanked 3 Times in 3 Posts
    Rep Power
    16
    if you need a lil help with html try World Wide Web Consortium

  6. #6
    Gerry's Avatar
    Join Date
    Jun 2007
    Location
    North Wales
    Posts
    431
    Thank Post
    60
    Thanked 38 Times in 35 Posts
    Rep Power
    24
    Didn't know about that kiosk mode argument for IE. It's possible "TheaterMode" is similar, can't test at the moment. But Kiosk Mode sounds just like what you want. Makes my code look OTT!
    As for your 2nd question, not sure sorry.

    I use this site for help with HTML and more: W3 Schools

  7. #7
    Inbir316's Avatar
    Join Date
    Sep 2007
    Location
    Brighton, East Sussex
    Posts
    252
    Thank Post
    12
    Thanked 3 Times in 3 Posts
    Rep Power
    16
    d'oh that was the site i meant...nevermind...also try Photoshop Tutorials and Flash Tutorials very, VERY handy website for anything and everything from flash to html to dreamweaver to photoshop

SHARE:
+ Post New Thread

Similar Threads

  1. HTML tag help
    By randle in forum Web Development
    Replies: 5
    Last Post: 21st April 2008, 03:03 PM
  2. HTML Help with Outlook
    By robbied69 in forum Coding
    Replies: 4
    Last Post: 29th February 2008, 04:37 PM
  3. HTML Editor
    By alan-d in forum Web Development
    Replies: 7
    Last Post: 17th April 2007, 07:56 AM
  4. Sending HTML Newsletters
    By Simcfc73 in forum Web Development
    Replies: 13
    Last Post: 1st March 2007, 02:27 PM
  5. Sheer quality HTML
    By Norphy in forum Web Development
    Replies: 11
    Last Post: 2nd March 2006, 03:16 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •