NameSilo

Dreamweaver help

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
NamecheapNamecheap
Watch

jon21021985

Established Member
Impact
1
hi, i am wanting a link to open in a new browser page, i know how to to that but i am wanting the new page to have set dimensions and have no toolbars in the browser etc....can anyone help...jon
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
hey!

Put this code in the
<header> </header> section
Code:
<script language="javascript">
function popUp(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=115');");
}
</script>

'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=115');");

0 = do not include
1= include

so if you do 1, you will see , if 0 you will not see

and the url would be
Code:
<a href="javascript:popUp('page1.php')">Open in new window</a>
 
0
Close
CatchedCatched

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