NameSilo

New Window Settings

SpaceshipSpaceship
SpaceshipSpaceship
NamecheapNamecheap
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: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Filters for activity feeds
Your news feed, Latest activity, and the activity tab on profiles now have filter buttons: All, Posts, Quick replies, and Other. Your...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back