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 Popup Window

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-15-2007, 01:57 PM THREAD STARTER               #1 (permalink)
NamePros Regular
Join Date: Oct 2004
Location: Arizona
Posts: 465
xtremeoff-road will become famous soon enough
 




Popup Window


Ok this is an elementary question, however, I cannot seem to get it to work like I want it to.

I am using Dreamweaver CS3 and would like to set the page up so that when a thumbnail is clicked, another page the same size with no side bars, menus, etc. pops up.

Using the onClick behavior within Dreamweaver I can get the popup to work, however, I want it to center itself on the page as well as be the shrik or expand based on the full image size.

Any thoughts?

Thanks in advance!
__________________
CommanderTalk.com --> www.commandertalk.com
TKUnderground --> www.tkunderground.com
xtremeoff-road is offline  
Old 11-29-2007, 02:37 AM   #2 (permalink)
i love automation
 
xrvel's Avatar
Join Date: Nov 2007
Location: xrvel.com
Posts: 1,620
xrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant future
 




PHP Code:
pop_up_width 300;
pop_up_height 200;

screen_width screen.width;
screen_height screen.height;

popup_left Math.floor( ( screen_width pop_up_width ) / );
popup_top Math.floor( ( screen_height pop_up_height ) / );

// do normal pop up with left and top coordinates 
__________________
Last edited by xrvel; 12-05-2007 at 09:34 AM.
xrvel is offline  
Old 12-04-2007, 06:20 AM   #3 (permalink)
NamePros Member
 
Wildhoney's Avatar
Join Date: Sep 2006
Posts: 78
Wildhoney is an unknown quantity at this point
 



Nice Xrvel !
Wildhoney is offline  
Old 03-12-2008, 02:19 AM THREAD STARTER               #4 (permalink)
NamePros Regular
Join Date: Oct 2004
Location: Arizona
Posts: 465
xtremeoff-road will become famous soon enough
 




Appreciate that, however, can that be used within a normal HTML page?
__________________
CommanderTalk.com --> www.commandertalk.com
TKUnderground --> www.tkunderground.com
xtremeoff-road is offline  
Old 03-12-2008, 03:29 AM   #5 (permalink)
i love automation
 
xrvel's Avatar
Join Date: Nov 2007
Location: xrvel.com
Posts: 1,620
xrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant future
 





Hi,

yes, but may be you can post your old popup javascript here.
__________________
xrvel 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 08:46 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