Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

RE: FN-FORUM Pop Ups with Flash (Page attached)

date posted 14th May 2001 10:22

This is a multi-part message in MIME format.

------=_NextPart_000_0002_01C0DC5F.D7A9B0C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi Pete,
Try the page attached, I have used this script for a variety of links.
Regards
Steve
e: [EMAIL REMOVED]
w: www.ez-zone.co.uk

-----Original Message-----
From: [EMAIL REMOVED]
[EMAIL REMOVED] Behalf Of Peter McCormack
Sent: 14 May 2001 08:41
To: [EMAIL REMOVED]
Subject: FN-FORUM Pop Ups with Flash


Can anyone tell me how to launch a pop up HTML window in flash which has a
set width and height and now toolbars.
Thanks
Pete



============================================================

* Free listing for freelancers
* Free to advertise jobs
* Free jobs distribution service
* Free database of 1000 freelancers

Freelancers and Freelance Jobs
http://www.freelancers.net

To post to the Forum:
[EMAIL REMOVED]

To unsubscribe please email:
[EMAIL REMOVED]

If you have difficulties unsubscribing please email:
[EMAIL REMOVED]

To subscribe to the digest for this list or for further information please
visit:
http://www.freelancers.net/forum.html

------=_NextPart_000_0002_01C0DC5F.D7A9B0C0
Content-Type: text/html;
name="popup-window-scripts.htm"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="popup-window-scripts.htm"










POPUP WINDOW SCRIPTS
usage : POPUP('URL','NAME','SIZE','POSN','FEATURES','HANDLE');

URL : Popup URL - specify URL or 'B' for blank page
NAME : Name of Window - like frame names
SIZE : Specify Size WxH pixels (eg: '400x300') or 'R' for Random
POSN : Specify Coordinates XxY or R for Random, or C to Center (only if =
size specified)
FEAT : Window features (eg 'toolbar,status') - only list ones you DO =
want
HAND : Window Handle - used for JavaScripting if required

If no parameter, or '' or 'D' is passed to function, the default will be =
used


TEST LINKS
POPUP('B')
(BLANK PAGE specified, everything else defaults)

POPUP('ga01.htm','D',=
'400x300')
(Size specified, default SIZE & POSN)

POPUP('ga01.htm','PopNa=
me','','TL')
(default SIZE, TopLeft POSN)

POPUP('ga01.htm','PopNam=
e','','R')
(default SIZE, RANDOM POSN)

POPUP('ga01=
.htm','PopName','380x380','600x100')
(SIZE & POSN SPECIFIED)

P=
OPUP('ga01.htm','PopName','600x400','C','toolbar')
(SIZE & TOOLBAR SPECIFIED, Center POSN)
 

TO GET STARTED
You need to add this line in the HEAD of the page :
<SCRIPT Language=3D"JavaScript">

function POPUP(U,N,S,P,F,H) {
var // SET YOUR **DEFAULT** SETTINGS HERE
URL =3D "http://www.yahoo.com", // SPECIFY URL, or B for blank =
page
NAME =3D "PopUpWindow", // Window Name (if use same twice, URL =
will load in same window
SIZE =3D "200x100", // R=3DRandom, OR WxH pixels (eg: 200x300)
POSN =3D "C", // R=3DRandom, C=3DCenter (only if size =
specified), TL=3DTopLeft OR XxY pixels
FEAT =3D "", // ONLY LIST ONES THAT YOU WANT !
HAND =3D "POP"; // FILEHANDLE, IF YA KNOW WHAT THAT MEANS

// usage : POPUP('URL','NAME','SIZE','POSN','FEATURES','HANDLE');
// All parameters passed to the function are optional (if none, will use =
default)
// - but can ONLY removed in this order : HAND -> FEAT -> POSN =
-> SIZE -> NAME -> URL
// - eg: you can omit HANDLE completely, but can't specify HANDLE yet =
omit POSN

var =
w,h,x,y,SI=3D'',PO=3D'',Sw,Sh;if(window.screen){Sw=3Dscreen.availWidth;Sh=
=3Dscreen.availHeight;}else{Sw=3D0;}
if(((!U)||(U=3D=3D'')||(U=3D=3D'D'))){U=3DURL;} =
if(U=3D=3D'B'){U=3D'about:blank';}
if(((!N)||(N=3D=3D'')||(N=3D=3D'D'))){N=3DNAME;} =
if(((!S)||(S=3D=3D'')||(S=3D=3D'D'))){S=3DSIZE;}
if(((!P)||(P=3D=3D'')||(P=3D=3D'D'))){P=3DPOSN;} =
if(((!F)||(F=3D=3D'')||(F=3D=3D'D'))){F=3DFEAT;}
if(((!H)||(H=3D=3D'')||(H=3D=3D'D'))){H=3DHAND;} S=3DS.toUpperCase(); =
P=3DP.toUpperCase();
if(S!=3D'R'){S=3DS.toUpperCase();w=3DS.split('X')[0];h=3DS.split('X')[1];=
SI=3D'width=3D'+w+',height=3D'+h;}
if(F){F=3D','+F;} if(P!=3D'R'){if(P=3D=3D'TL'){x=3D0;y=3D0;}else =
if(P=3D=3D'C'){if((SI)&&(Sw!=3D0)){x=3D(Sw-w)/2;y=3D(Sh-h)/2;}
else =
{PO=3D'';}}else{P=3DP.toUpperCase();x=3DP.split('X')[0];y=3DP.split('X')[=
1];}
PO=3D',screenX=3D'+x+',left=3D'+x+',top=3D'+y+',screenY=3D'+y;}if(Sw=3D=3D=
0){PO=3D'';}
var DOIT=3D'var =
H=3Dwindow'+'.open("'+U+'","'+N+'","'+SI+PO+F+'&=
quot;)'; eval(DOIT);
}
</SCRIPT>





------=_NextPart_000_0002_01C0DC5F.D7A9B0C0--



Messages by Day
May 31st 2001
May 30th 2001
May 29th 2001
May 28th 2001
May 27th 2001
May 26th 2001
May 25th 2001
May 24th 2001
May 23rd 2001
May 22nd 2001
May 21st 2001
May 20th 2001
May 19th 2001
May 18th 2001
May 17th 2001
May 16th 2001
May 15th 2001
May 14th 2001
May 13th 2001
May 12th 2001
May 11th 2001
May 10th 2001
May 9th 2001
May 8th 2001
May 7th 2001
May 6th 2001
May 5th 2001
May 4th 2001
May 3rd 2001
May 2nd 2001
May 1st 2001


Messages by Month
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
January 2001


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000