[advanced search]
Results from the most recent live auction are here.
22 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Domain Name Industry Newsletter
Go Back   NamePros.Com > Design and Development > Graphic Design / Flash
User Name
Password

Old 10-16-2003, 10:16 PM   · #1
josmets
New Member
 
Trader Rating: (0)
Join Date: Oct 2003
Posts: 4
NP$: 7.00 (Donate)
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;

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


Please register or log-in into NamePros to hide ads
josmets is offline   Reply With Quote
Old 10-18-2003, 06:34 AM   · #2
Linda[imported]
New Member
 
Trader Rating: (0)
Join Date: Oct 2003
Posts: 8
NP$: 14.00 (Donate)
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','window name','width=400,height=250,left=0,top=0,toolbar=N o,location=No,scrollbars=Yes,status=No,resizable=N o,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   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Site Sponsors
RealTechNetwork Arcade Script http://www.mobisitetrader.com/
Advertise your business at NamePros
All times are GMT -7. The time now is 04:24 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0