Pop Up Window code

SpaceshipSpaceship
SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
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
Close
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
Close
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
Close
thanks alot.. ill try it out
 
0
Close
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

A browser tab with a favicon next to the page title
Search members
You can now search for members by name, company, location and more. Open the search at the top of any page and choose Members. You will...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back