A pop up can be controlled by [s]HTML[/s] javascript. You don't need a program for it...I will edit this post in a little while with an example.
Although, I do agree that pop-ups are evil and annoying. Then again...I don't know what context you intend on using it for...I used one once to open a seperate small window with a flash movie playing music.
-junc
edit:
Okay here it is:
Code:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
function MM_timelinePlay(tmLnName, myID) { //v1.2
var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,propNum,theObj,firstTime=false;
if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
tmLn = document.MM_Time[tmLnName];
if (myID == null) { myID = ++tmLn.ID; firstTime=true;}//if new call, incr ID
if (myID == tmLn.ID) { //if Im newest
setTimeout('MM_timelinePlay("'+tmLnName+'",'+myID+')',tmLn.delay);
fNew = ++tmLn.curFrame;
for (i=0; i<tmLn.length; i++) {
sprite = tmLn[i];
if (sprite.charAt(0) == 's') {
if (sprite.obj) {
numKeyFr = sprite.keyFrames.length; firstKeyFr = sprite.keyFrames[0];
if (fNew >= firstKeyFr && fNew <= sprite.keyFrames[numKeyFr-1]) {//in range
keyFrm=1;
for (j=0; j<sprite.values.length; j++) {
props = sprite.values[j];
if (numKeyFr != props.length) {
if (props.prop2 == null) sprite.obj[props.prop] = props[fNew-firstKeyFr];
else sprite.obj[props.prop2][props.prop] = props[fNew-firstKeyFr];
} else {
while (keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]) keyFrm++;
if (firstTime || fNew==sprite.keyFrames[keyFrm-1]) {
if (props.prop2 == null) sprite.obj[props.prop] = props[keyFrm-1];
else sprite.obj[props.prop2][props.prop] = props[keyFrm-1];
} } } } }
} else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
if (fNew > tmLn.lastFrame) tmLn.ID = 0;
} }
}
function MM_timelineStop(tmLnName) { //v1.2
if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
if (tmLnName == null) //stop all
for (var i=0; i<document.MM_Time.length; i++) document.MM_Time[i].ID = null;
else document.MM_Time[tmLnName].ID = null; //stop one
}
function MM_initTimelines() {
//MM_initTimelines() Copyright 1997 Macromedia, Inc. All rights reserved.
var ns = navigator.appName == "Netscape";
document.MM_Time = new Array(1);
document.MM_Time[0] = new Array(3);
document.MM_Time["Timeline1"] = document.MM_Time[0];
document.MM_Time[0].MM_Name = "Timeline1";
document.MM_Time[0].fps = 15;
document.MM_Time[0][0] = new String("behavior");
document.MM_Time[0][0].frame = 3;
document.MM_Time[0][0].value = "MM_openBrWindow('file:///C%7C/My%20Documents/juncmodule.com/Site2/popupwindow.html','pop','width=20,height=20')";
document.MM_Time[0][1] = new String("behavior");
document.MM_Time[0][1].frame = 1;
document.MM_Time[0][1].value = "MM_timelinePlay('Timeline1')";
document.MM_Time[0][2] = new String("behavior");
document.MM_Time[0][2].frame = 5;
document.MM_Time[0][2].value = "MM_timelineStop()";
document.MM_Time[0].lastFrame = 5;
for (i=0; i<document.MM_Time.length; i++) {
document.MM_Time[i].ID = null;
document.MM_Time[i].curFrame = 0;
document.MM_Time[i].delay = 1000/document.MM_Time[i].fps;
}
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" onLoad="MM_timelinePlay('Timeline1')">
Pop UP! caller
</body>
</html>
Okay...I've been trying to confirm that this works and failing. I don't understand why. I just cut and pasted. Anyway, this is the basic javascript you need to make a pop up. It is set up on a timeline. You can do it without a timeline but I don't really know how. Dreamweaver has spoiled me.
later,
-junc