Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Manipulating the Browser

Reply
Thread Tools

Manipulating the Browser

 
 
Munkeyjunkey
Guest
Posts: n/a
 
      09-29-2006
I am trying to manipulate the browser when it loads, but it isn't
working. When my frames page loads I want to remove all the toolbars
and junk, below is my code:

<!--
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<script language="JavaScript">
window.onload=change;

function change()
{
var windowAttributes;

windowAttributes = 'scrollbars=no';
windowAttributes += 'toolbar=no';
windowAttributes += 'menubar=no';

windowAttributes += 'top=0';
windowAttributes += 'left=0';
windowAttributes += 'width=900';
windowAttributes += 'height=800';

var popUp = window.open('frames.htm', 'home', windowAttributes);
}
</script>
<title>New Page 2</title>
</head>
!-->

Any ideas on how I can fix this?
Thanks
Munkeyjunkey

 
Reply With Quote
 
 
 
 
Travis Newbury
Guest
Posts: n/a
 
      09-29-2006
Munkeyjunkey wrote:
> I am trying to manipulate the browser when it loads, but it isn't
> working. When my frames page loads I want to remove all the toolbars
> and junk, below is my code:


Doesn't work like that. you have to set all those things BEFORE you
open the browser. Google "Open Window Javacript" for what you are
looking for.

<insert all the "don't open a window" ranting here>

 
Reply With Quote
 
 
 
 
Toby Inkster
Guest
Posts: n/a
 
      09-29-2006
Munkeyjunkey wrote:

> Any ideas on how I can fix this?


By not doing this:

> When my frames page loads I want to remove all the toolbars and junk


--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Manipulating the Browser Munkeyjunkey HTML 1 09-29-2006 04:16 PM
Manipulating with the T1, T0 and TX in a SAIF file. Kelvin Tsai @ Singapore VHDL 0 09-09-2003 01:46 AM
Manipulating HashTables Andrew Sweetman ASP .Net 2 08-22-2003 10:32 PM
manipulating an image file in asp.net with C# Will ASP .Net 2 08-11-2003 12:46 AM
Manipulating a User Control from another User Control Tom Rowton ASP .Net 2 08-01-2003 08:18 PM



Advertisments