NameSilo

New Window Settings

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch

tmhai

Established Member
Impact
0
Hello,

I need a javacript made so when I open a certain html page it will resize and the browser buttons will be removed. I know how to resize the browser but how do I remove the Address bar, Browser links etc.

This is the code I have so far:
Code:
<script language='javascript'>
var width, height;

width = 700;
height = 700;

resizeTo(width, height);
</script>
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
If you just want something to open a small window, you could try using the javascript 'window.open()' method. Other than that, I'm not really sure...


Sorry...
 
0
Close
tmhai said:
Hello,

I need a javacript made so when I open a certain html page it will resize and the browser buttons will be removed. I know how to resize the browser but how do I remove the Address bar, Browser links etc.

This is the code I have so far:
Code:
<script language='javascript'>
var width, height;

width = 700;
height = 700;

resizeTo(width, height);
</script>

Try adding this...Variables can be changed.
Code:
<script language="JavaScript">
<!-- 
function open_on_entrance(url,name)
{ 

popupWin = window.open('domain.com/whatever','title', ' resizable,dependent, width=700,height=700,left=0,top=0')
}
// -->
</script>
</head>

<--Add this to the <body> tag itself: onload="open_on_entrance()"-->

<body onload="open_on_entrance()">

Your new window will open when this document loads

Hope that helps.
 
0
Close
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back