Closed Thread Icon

Preserved Topic: Fullscreen in IE without scrollbar Pages that link to <a href="https://ozoneasylum.com/backlink?for=17867" title="Pages that link to Preserved Topic: Fullscreen in IE without scrollbar" rel="nofollow" >Preserved Topic: Fullscreen in IE without scrollbar\

 
Author Thread
Nimraw
Paranoid (IV) Inmate

From: Styx
Insane since: Sep 2000

posted posted 09-21-2000 11:05

This is probably a no-brainer, but I can't seem to get it right..
--------------------
<SCRIPT LANGUAGE="JavaScript">
<!--
function popmain() {
window.open ("fake.htm", "popmain", "fullscreen=yes,scrollbars=no");
}
--></SCRIPT>

<Body onLoad=popmain();>
</body>
---------------------

I still get the scrollbar although the file fake.htm is well in the boundries of the screen. I've been looking at pages that open fullscreen without scrollbars, but I cant figure it out. *sigh*

Could any of you gurus help me out?

(knowing my coding, i probably should add/remove a quotation mark or something like that...)

-nimraw

Bugimus
Maniac (V) Mad Scientist

From: New California
Insane since: Mar 2000

posted posted 09-22-2000 03:49

I'm not sure why IE keeps that grayed out scroll bar on the window but did you also know that the "fullscreen" option isn't supported by Netscape?

If you want it to kind of work in Netscape I think you would have to get your screen's width and height and pass that in with the window.open() function.

ocb
Bipolar (III) Inmate

From: Dublin, Ireland
Insane since: Jun 2000

posted posted 09-22-2000 10:44

Yep, I use the following Netscrape compatible script and as mentioned, pass the width and height to the popup function..

// Make sure this var isnt filled with rubbish from memory
var showWin = null;

function show(urlen,wid,hig)
{
if (showWin != null)
{
if (!showWin.closed)
{
showWin.close();
}
}
showWin = window.open(urlen,"",'toolbar=0,location=0,top=0,left=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width='+wid+',height='+hig+',dependent=yes');

}

Nimraw
Paranoid (IV) Inmate

From: Styx
Insane since: Sep 2000

posted posted 09-22-2000 11:02

Thanks for the advice, guys.

I know that Netscape does'nt support the fullscreen. I'm working on a internal site for our kick-off, and as corp. standard everyone is running IE5, so that's no problem at the moment. (It would be soo nice though with a working standard including the best from both worlds. Utopia...).

What really bugs me is that I've seen the fullscreen being done at a few sites that doesn't have have that pesky scrollbar. Sorry to say, I wasn't able to grasp the syntax in the code. A bit to big and nested for my modest skills...

Not that important anyway, but ist still bugs me...

-nimraw

tea
Nervous Wreck (II) Inmate

From: Bern, Switzerland
Insane since: Aug 2000

posted posted 09-22-2000 19:58

have you found a solution yet?

when not try my test link: http://www.tea.ch/test/fullscreen.htm

cu, tea

Tea Sign

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 09-22-2000 23:25

Have you checked the other forum entrie on this topic???
http://www.ozones.com/forum/Forum2/HTML/000169.html

This should solve your problem.

The thing that you have to do is to have the target window that pops up be a frames window, and have the frame load the actual page with content. This will get rid of the scroll bars.

Here is an example
http://129.49.234.15/dhtml

That has it done, and it also centers the window to your screen size.

mbridge
Paranoid (IV) Mad Scientist

From:
Insane since: Jun 2000

posted posted 09-23-2000 00:14

Use bugimus code, except add full=yes to the parameters.

[This message has been edited by mbridge (edited 23-09-2000).]

tea
Nervous Wreck (II) Inmate

From: Bern, Switzerland
Insane since: Aug 2000

posted posted 09-23-2000 08:47

why use a frameset when it works without when you are opening in a new window anyway?

here follows the code:

<html><head></head>
<SCRIPT LANGUAGE="JavaScript">
<!--
var newwin;
function popmain() {
newwin = window.open ("", "popmain", "fullscreen,scrollbars");
newwin.document.write("<a href='JavaScript:close()'>close<\/a>");
newwin.document.close();
}
--></SCRIPT>
<body onLoad="popmain();"></body></html>

cu ,tea


Tea Sign

inserted the document.close() thing..


[This message has been edited by tea (edited 23-09-2000).]

Nimraw
Paranoid (IV) Inmate

From: Styx
Insane since: Sep 2000

posted posted 09-23-2000 17:08

Thanks a million guys. I managed to solve it yesterday (with three hours to go).

Then came the *fun* part:
When my boss ran my part of the presentation at one break-out-session of our company kickoff (in front of 70 people) the damn site crashed. <img border=0 align=absmiddle src="http://www.ozones.com/forum/mad.gif">

Turned out to be the projector. I had triplechecked that it would be a new projector, so I had done two versions of the site. One for 800*600 and one for 1024*768+.

The friggin' old junk projector at the conference center only managed 640*480!!!
*sigh*


Good thing the booze was free the rest of the night. Only way to handle all smug remarks <img border=0 align=absmiddle src="http://www.ozones.com/forum/smile.gif">

Ain't life a bitch...

-=nimraw

« BackwardsOnwards »

Show Forum Drop Down Menu