NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Pop Up Window code

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 11-06-2003, 03:47 PM THREAD STARTER               #1 (permalink)
TWM
Web Marketing Specialist
Join Date: Oct 2003
Location: Texas, USA
Posts: 1,335
TWM is a jewel in the roughTWM is a jewel in the roughTWM is a jewel in the rough
 



Pop Up Window code


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
TWM is offline  
Old 11-06-2003, 11:51 PM   #2 (permalink)
NamePros Member
Join Date: Nov 2003
Posts: 44
Pablo is an unknown quantity at this point
 



Java....

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

window.moveTo(0,0)
window.resizeTo(screen.width,screen.height)
????: NamePros.com http://www.namepros.com/programming/15539-pop-up-window-code.html

//-->
</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..
__________________
Click Link for Java IRC

PHP-Live IRC: pgardner.net:6667, Channel: #php.
Pablo is offline  
Old 11-07-2003, 08:56 AM   #3 (permalink)
NamePros Member
Join Date: Jul 2003
Posts: 118
web guru is an unknown quantity at this point
 



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">http://www.yourSite.com/yourPortfolioPage.html</a>
If you put
????: NamePros.com http://www.namepros.com/showthread.php?t=15539
Code:
target="_blank"
in your HTML code it will cause the link to open in a new window,
web guru is offline  
Old 11-07-2003, 12:46 PM THREAD STARTER               #4 (permalink)
TWM
Web Marketing Specialist
Join Date: Oct 2003
Location: Texas, USA
Posts: 1,335
TWM is a jewel in the roughTWM is a jewel in the roughTWM is a jewel in the rough
 



thanks alot.. ill try it out
TWM is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 01:30 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger