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 > Graphic Design / Flash
Reload this Page calling a pop-up from flash

Graphic Design / Flash Photoshop, Flash, and other visual art topics including software, fonts, animation.

Advanced Search
0 members in live chat ~  
NamePros Design Contests NamePros Design Contests
Forum Sponsorship
Join in on the FUN! You can start an affordable design contest and pick from entries talented members submit or you can enter a design contest for a chance to win CASH PRIZES! What are you waiting for? Get started in the fun TODAY! - Banners, Logos, Mascots, and MORE! (Please READ the design Contest section rules Prior to starting or entering a contest)



Closed Thread
 
LinkBack Thread Tools
Old 10-16-2003, 09:16 PM THREAD STARTER               #1 (permalink)
New Member
Join Date: Oct 2003
Posts: 4
josmets is an unknown quantity at this point
 



calling a pop-up from flash


hey all,
i'm not a newbie at all to webdesign, but i've never seen this before and am at a loss. hopefully someone has a tip for me. =) basically, i'm having an issue with calling a pop-up window from flash. it works perfect on the mac (IE) but when viewed on the PC (IE) the window has an additional 150 pixels or so added to it's vertical height.

this is the code i have on my button:
on (release) {
getURL("java scriptpenPop('juke.html','juke',220,29)") ;
}



and this is the javascript code that i put in the flash html page:
function openPop(url,name,popW,popH) {
version = navigator.appVersion;
var w = 800, h = 600;
????: NamePros.com http://www.namepros.com/graphic-design-flash/15396-calling-a-pop-up-from-flash.html

if (document.all || document.layers) {
w = screen.availWidth;
h = screen.availHeight;
}
var leftPos = (w-popW)/2, topPos = (h-popH)/2;
window.open(url,name,'width=' + popW + ',height=' + popH + ',scrollbars=no,toolbar=no,status=no,resizable=no,
top=' + topPos + ',left=' + leftPos);void(0);
}


this is the URL to see what happens:
www.goodnfilthy.com/indexDEV.html CLICK ON THE "Rock over London, Rock on Chicago" PANEL.


Any thoughts would be really appreciated!
thanks so much!

joanne
josmets is offline  
Old 10-18-2003, 05:34 AM   #2 (permalink)
New Member
Join Date: Oct 2003
Posts: 8
Linda[imported] is an unknown quantity at this point
 



This is the code that I use:

On your button in flash:

Quote:
on (release) {
getURL("javascript:NewWindow=window.open('url.htm' ,'windowname','width=400,height=250,left=0,top=0,t oolbar=No,location=No,scrollbars=Yes,status=No,res izable=No,fullscreen=No'); NewWindow.focus(); void(0);");
}
And you don't need any extra code in your html or anything. Works fine on my PC though i have never tested on a MAC
Linda[imported] is offline  
Closed Thread


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


 
All times are GMT -7. The time now is 06:22 AM.

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