NameSilo

Pop Up Window code

SpaceshipSpaceship
Watch

TWM

Web Marketing SpecialistEstablished Member
Impact
9
How do i make it to where when you click on a link, it opens in a pop up window... for a portfolio type thing... ya know
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Java....

<!-- Java scripts -->
<SCRIPT LANGUAGE="JavaScript">
<!--
function Start(page)
{
OpenWin = this.open(page, "CtrlWindow","toolbar=No,menubar=No,location=No,scrollbars=No,resizable=No,status=No,width=400,height=400,left=0,top=0,");
}

window.moveTo(0,0)
window.resizeTo(screen.width,screen.height)

//-->
</script>


Link...

<a href="javascript:void(0);" onclick="javascript:Start ('core/query.php?pg=profile&id=pablo');">Pablo_RSA</a>

you can change the size of the window with editing the java width and hight..
 
0
•••
You can do it the way pablo has done it using javascript which gives a lot of control over the different aspects of the new window, but if you just want a new browser window opened you can do it this way,

Code:
<a href="http://www.yourSite.com/yourPortfolioPage.html" target="_blank">[url]http://www.yourSite.com/yourPortfolioPage.html[/url]</a>

If you put
Code:
target="_blank"
in your HTML code it will cause the link to open in a new window,
 
0
•••
thanks alot.. ill try it out
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer
CatchedCatched

We're social

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