Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

close old pop-up and open new one

Status
Not open for further replies.

deecee

Technical User
Aug 25, 2001
1,678
US
is it possible to alter this java script that i have in teh html document that has teh swf movie embedded in so that when the use clicks and image and the bigger one pops up then if they click on another image the old popup resizes and opens in the front...<script language=&quot;JavaScript&quot;>
//<!--

var launchMap = null;

var w = 0;
var h = 0;

function deadCentre(url,w,h) {
if (window.screen) {
var chasm = screen.availWidth;
var mount = screen.availHeight;
launchMap = window.open(url,'posB','width=' + w + ',height=' + h + ',left=' + ((chasm - w - 10) * .5) + ',top=' + ((mount - h - 30) * .5));
}
}
// -->
</script>

to see how it currently looks like..(as well as my first complete flash site :)) you can go to
DEEEEEEECEEEEEEEE
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top