NameSilo

Dreamweaver help

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Spacemail by SpaceshipSpacemail by Spaceship
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
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
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
•••
Dynadot — .com TransferDynadot — .com Transfer
Truehost — .com domains from $4.99, hosting includedTruehost — .com domains from $4.99, hosting included

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back