okay so here is my problem,
on my website I have clickable graphic(thumbnails)and I have them opening through javascript in flash(2004) using this code:
on (release) {
getURL ("javascript:NewWindow=window.open(' NewWindow.focus(); void(0);");
}
What I want to happen, because these images vary in side, I want either to close the one window and pop up the new with the right size, or to have the item not close, allowing for several pop-up windows.
Looking through the form I found this code, which I have applied to my buttons to see if it would work:
on (release) {
getURL ("javascript: var OpenWindow = null; if (OpenWindow!=null) OpenWindow.close(); NewWindow=window.open(' NewWindow.focus(); void(0);");
}
But it is not working either, any suggestions or have I missed something in the code?
on my website I have clickable graphic(thumbnails)and I have them opening through javascript in flash(2004) using this code:
on (release) {
getURL ("javascript:NewWindow=window.open(' NewWindow.focus(); void(0);");
}
What I want to happen, because these images vary in side, I want either to close the one window and pop up the new with the right size, or to have the item not close, allowing for several pop-up windows.
Looking through the form I found this code, which I have applied to my buttons to see if it would work:
on (release) {
getURL ("javascript: var OpenWindow = null; if (OpenWindow!=null) OpenWindow.close(); NewWindow=window.open(' NewWindow.focus(); void(0);");
}
But it is not working either, any suggestions or have I missed something in the code?