Popupwindow
Oct 19, 2005:'( I have an HTML page that has a list of songs on it, kinda like this:
1. Never let me go
2. The sun is shining
3. Cats and Dogs
I have programmed the list so that when the user clicks on a title, a popup appears and the user can select which media program he can use to hear the song, with real player, wmp, or quicktime.
it works fine. however, i wanted to create code so that when they choose their selection (for example, real media player) the popup page clears and then using document.write, I can print code for an activex plugin and an image with a javascript:self.close() function.
The code works the way it is right now, but the page does not clear and then show the plug in, it merely starts playing the activex plug in in the background, still with the original 3 list of players to chose, although i have used the document.clear() function before writing the code for the plugin. what am i doing wrong?