Link to home
Start Free TrialLog in
Avatar of tactica
tactica

asked on

MSIE 4+ browsing fullscreen

I wondered if it's possible via html codes to tell the browser to go fullscreen, hiding all framework as it's possible to do manually. An example would be nice.

Another question is if one can make their own buttons? Ones that work like the navigation buttons in the browser.
Avatar of tactica
tactica

ASKER

Edited text of question
I don't know of any HTML or Script code that can remove the framework but their is a command line switch.  Start IE using the kiosk switch (-k):

iexplore -k yourfile.html

If you want to create your own buttons then after starting your page in kiosk mode you can replicate most of the features of the buttons using Javascript, such as document.history etc.

A good book is Javascript Unleashed alternatively Netscape have a good tutorial and reference guide to Javascript on their site at :

http://developer.netscape.com/

Hope that helps.


If you're willing to open a new browser window, the option "fullscreen" will open that window in fullscreen mode.  It would look like this:(JavaScript)
window.open("url","window_name","fullscreen");
That loads it fullscreen with nothing but the web pages and the title bar at the top.
And Trevor already said how you can create custom buttons.  They would have to be part of the web page though.  You can't change the actual buttons on the browser.  Of course with Netscape, they provide the source code, so you might be able to figure the code out and change them for your own personal use...
-Josh
Avatar of tactica

ASKER

Thanks for the replies.

Trevor, thanks for the link - very usefull.

jbirk, is it possible to effect that "fullscreen" option on the same window, not opening a new one. Making a window go fullscreen rather than opening a new one to go fullscreen ?

t
Unfortunately I do not know of a way to do this.  I beleive this is considered a security hazard for some reason and you are not allowed to control the options on the current window.  Although I figured out a way around this security in Netscape, IE is more secure and I have not been able to figure out how to do that.

Sorry,
Josh
Are you talking about being able to "full screen" the browser on your own PC? or controlling a browser window when a user visits your website?

For your own PC, there's a checkbox giving you that option in the View Menu, Internet Options..., Advanced Tab.

For viewers visiting your website, it is doable. Most channel sites open full screen. You might check at the Microsoft Sitebuilder Network (http://www.microsoft.com/sitebuilder/default.htm).

Colleen

Avatar of Michel Plungjan
<SCRIPT>
if (window.resizeTo) window.resizeTo(screen.width,screen.height) ;
</SCRIPT>
should work on current window

Michel
Avatar of tactica

ASKER

Ckayter (Colleen), hit the right spot. It's not exactly how I discribed it, but should have done. I want to be able to apply the current window the "Full Screen" option found in MSIE 4. This function can be found in the 'View' menu (Hitting F11 is the shortcut).

If it's not possible to do this on the current window (security issue maybe?), then a JavaScript > window.open("url","WindowName",fullscreen) < do the job. But it is not all the way similar to choosing "Full Screen" from the menu. Ones taskbar and the browser taskbar (in the top), does not reapear when the pointer is possitioned at the top/bottom.

Ckayter, I have looked a bit at MS Sitebuilder page, but can't find what I'm looking for.
tactica,
Yes this is true that it is like fullscreen but a little different.  If you want the window to have those other options you have to specify them in the argument string.  So for example:
window.open("url","WindowName","fullscreen,status,location")
would give the status bar and location field, there are a ton more arguments of course.  But anything you don't tell it you want will be left out by default, so just saying "fullscreen" will give you a window fullscreen with nothing else (none of the normal window elements.)
-Josh
ASKER CERTIFIED SOLUTION
Avatar of ckayter
ckayter

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
OOPS! Small addendum...

This would probably be a VBscript object only (which can only be interpreted by IE, but that's okay since the user would have to be using IE to require it anyway). <grin>
I Repeat (I got no comment)

<SCRIPT>
if (window.resizeTo) window.resizeTo(screen.width,screen.height) ;
</SCRIPT>

should work on current window

In a link it could be
<A HREF="javascript"if (window.resizeTo) window.resizeTo(screen.width,screen.height) ;">Fullscreen</A>

       Michel

Avatar of tactica

ASKER

Thanks a lot! Yes I'm making this for my website.
It's not done yet though, but email me for your address and I'll give you a notice when it's done.

Regards, martin@icon8.dk

I'm interested in how this works just for the knowledge.  I'm kind of confused by the description you posted ckayter since I really know nothing about VBScript.  How would you call that function?  I can't seem to get it to work.  Could you give an example like mplungjan's answer with a link?
-Josh
It sure looks to me as it just tells you whether or not
the browser is fullscreen, not how to actually make it
fullscreen

Martin, please reevaulate the answer since I believe it is
NOT a valid answer to your question.

It is applicable to the DOM and not VBScript only but I do not see it in the documentation I have.

Trevor had the rigth commandline parameter Josh had the right keyword and I supplied a way to blow it up After opening.

Michel

PS: Det er du flink at rette, Ikk?