/    Sign up×
Community /Pin to ProfileBookmark

help with controling of javascript PopUp windows

Here is a Javascript that I have on this site:

[url]http://www.blueman.ws[/url] ( go to the movies page and when you click on an icon you will see a quicktime start in a popup window)
on (press) {
javascript(“window.open(‘/phantomSun.html’,’mywin’,’width=340,height=
180,top=’+((screen.availheight/2)-(180/2))+’,left=’+((screen.avail
width/2)-(340/2))+’,menubar=no,menubar=no,scrollbars=no,status=no,
toolbar=no,location=no,directories=no,resizable=no’);void(0);”);
}

what i want to try and do is that if the visitor clicks on an icon, opening a popup, watches movie, and then rather than close the popup, just clicks on another button that the current open popup rseizes to the new quicktime from the icon the clicked on… the movies i have are all different sizes and I wanted to know if you could tell the current popup to close so that a new popup could open with a new dimension or have the current popup resize itself to the new quicktime…can javascript do this? (make sure to click on the 1st icon from Lord of the Rings and then click on the last icon from Phantom of the Opera…

thanks

mh88

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@Mr_JFeb 13.2005 — Take a look here, make sure you read all the page as there are 2 scripts on it that do slightly different things.

I think you will want the second script


www.huntingground.freeserve.co.uk/webplus/window/pop_use.htm
Copy linkTweet thisAlerts:
@matthelm88authorFeb 14.2005 — this is great, but in that script it is all planted in the html page...my interface is all flash so I need to work all from in flash, or somehow communicate from the flash file to the html file..

any more help on this?

mh88
×

Success!

Help @matthelm88 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...