Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-18-2003, 05:02 PM   PM User | #1
ontiveros
New to the CF scene

 
Join Date: Jan 2003
Location: venezuela
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
ontiveros is an unknown quantity at this point
Internet Explorer index page without toolbar please

Please I need to know how to make the index page to appear on secreen without the toolbar, like fulscreen pake.
thanks.
ontiveros is offline   Reply With Quote
Old 01-18-2003, 05:03 PM   PM User | #2
ontiveros
New to the CF scene

 
Join Date: Jan 2003
Location: venezuela
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
ontiveros is an unknown quantity at this point
test

test
ontiveros is offline   Reply With Quote
Old 01-18-2003, 06:24 PM   PM User | #3
justame
Regular Coder

 
Join Date: Jun 2002
Posts: 676
Thanks: 1
Thanked 0 Times in 0 Posts
justame is on a distinguished road
ont...
ya canttt do it to the 'page' that first loads...'cept ya cannn do it to just a page® youuu open via javascript with the ol' onLoad script in the firstpage...aka index.html

n' when youre coding thattt javascripted window??? thattts the one you can say...heyyy no toolbar...:O)))
justame is offline   Reply With Quote
Old 01-18-2003, 06:35 PM   PM User | #4
justame
Regular Coder

 
Join Date: Jun 2002
Posts: 676
Thanks: 1
Thanked 0 Times in 0 Posts
justame is on a distinguished road
ont...
heres something bwuk just a posted® some time back...
<SCRIPT LANGUAGE="JavaScript"><!--

function Is() {
var agent = navigator.userAgent.toLowerCase();
this.major = parseInt(navigator.appVersion);
this.minor = parseFloat(navigator.appVersion);
this.ns = ((agent.indexOf('mozilla')!=-1) && ((agent.indexOf('spoofer')==-1) &&
(agent.indexOf('compatible') == -1)));
this.ns2 = (this.ns && (this.major == 3));
this.ns3 = (this.ns && (this.major == 3));
this.ns4 = (this.ns && (this.major >= 4));
this.ns406 = (this.ns && (this.minor == 4.06));
this.ns407 = (this.ns && (this.minor == 4.07));
this.ns408 = (this.ns && (this.minor == 4.08));
this.ns45 = (this.ns && (this.minor == 4.5));
this.ie = (agent.indexOf("msie") != -1);
this.ie3 = (this.ie && (this.major == 2));
this.ie4 = (this.ie && (this.major >= 4));
this.op3 = (agent.indexOf("opera") != -1);
}

var is = new Is();
var yourWindow = null;

function openyourwindow() {
if(is.ns4 || is.ie4) {
var buffer = (is.ns406 || is.ns407 || is.ns408) ? 30 : 48;
if(screen.height <= 768) {
var window_width = screen.width-12;
var window_height = screen.height-buffer;
} else {
var window_width = 1024-12;
var window_height = 768-buffer;
}
var window_top = 0;
var window_left = 0;
yourWindow =
window.open('yourpage.htm','window','resizable=yes,status=yes,width=' +
window_width + ',height=' + window_height + ',top=' + window_top + ',left=' +
window_left + '');
}
}

// -->
</SCRIPT>

and in your body tag:

<body onload="openyourwindow()">

That script was taken from http://www.htmlguru.com
A fantastic site for people who've never seen it.



just a goodluck® ...
justame is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:46 AM.


Advertisement
Log in to turn off these ads.