Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to create a webpage that will not display a toolbar, menubar, etc. 5

Status
Not open for further replies.

garymgordon

Programmer
Apr 5, 2000
307
US
I am trying to figure out how to create a webpage (index page of a website - for example) that when it opens up ... would not display toolbar, menubar or address bar, etc. The page will not be opening via an <a href=...> - where I could use Javascript to open the window and then control what opens in that window. I want to know if there is a way, from within the html code (or javascript within the html code) to have the webpage open WITHOUT these items.

I am trying to create a &quot;dashboard&quot; for users at a company, so when they start WINDOWS up ... it will automatically launch a webpage (that will not have the look of Internet Explorer) .. yet be in the format of an HTML page, etc.

So, does anyone know how to help me with this?

Your thoughts and advice would be appreciated.

Thanks,
Gary
Gary M. Gordon, LLC
webmaster@garymgordon.com
Certified Web Developer ::
Application Programmer
 
you could cheat and write a jscript function in the onLoad that loads the new window without the toolbars, menu, etc... and close the current window. Of course, this won't be invisible if the do not allow scripts to close windows without warning.

Kevin
 
here is the code for loading a window without the toolbars, etc...

<script Language=&quot;Javascript&quot;>
function TechTracker()
{
win1 = window.open(&quot; &quot;Win1&quot;,

&quot;resizable=no,toolbar=0,location=0,titlebar=0,directories=0,status=1,menubar=0,scrollbars=1,copyhistory=0,width=850,height=500&quot;);
}
</script>

Hope this helps! Tazzmann
 
you can maybe try this, also: (from your index page)

<BODY onLoad=&quot;javascript:window.open('index2.htm','_top',blahblahblah from above post)&quot;>

since you wouldn't be redirecting to a different address, and you wouldn't be closing any windows, it might work.

Kevin
 
or you could also try this:
index.htm:

<html>
<script language=&quot;JavaScript&quot;>
window.open(&quot;yourpage.htm&quot;,&quot;windowname&quot;,&quot;fullscreen&quot;)
</script>
<html>

this code will open a page showing nothing but the page (not even the browser title)

hope this help

NiteCrawlr
 
oh, and right at the begining when they give you the code:

on (release) {
getURL (&quot;javascript:eek:penIT()&quot;);
}

just pretend that sais:

<a htef=&quot;#&quot; onClick=&quot;javascript:eek:penIT()&quot;>

the top one is actionscript, rather than html. not knowing is an excuse for those umwilling to lern -- John Rueben
 
Well,

Thank you to everyone.

There was actually a lot of great information.

With all of your help .. I figured it out.

:))))

I put this in the first page:

<script language=&quot;JavaScript1.2&quot;>
function myFullscreen() {
window.open('index2.html','screen',
'width='+screen.width+',height='+screen.height+',top=0,left=0');
}
</script>


Then, I put this in the second page:

<script language=&quot;JavaScript&quot;>
<!--
self.resizeTo(screen.availWidth,screen.availHeight);
self.moveTo(0,-21);
self.focus();
//-->
</script>


And this worked.

Thanks again for ALL OF YOUR HELP.

Sincerely,
Gary
Gary M. Gordon, LLC
webmaster@garymgordon.com
Certified Web Developer ::
Application Programmer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top