mjstone323
Technical User
Hello -
I am almost a total newbie to JavaScript, so I apologize if this is a no-brainer to most of you -
I'm using some script to open a popup window containing a larger picture of a thumbnail in a Flash movie. I put some script in my source:
on(release){
getURL("JavaScript
op1();"
;
}
I put this action in all my thumbnail pics.
When I publish the movie, I edit the .html with this code:
<SCRIPT LANGUAGE="JavaScript">
functionpop1(){
window.open("Images/Associates/associate1.jpt","","height=400,width=300,left=100,top=100,scrollbars=1,resizable=1"
;
}
</script>
This works great. What I now want to do, and have been completely unable to figure out how, is to modify this script so that when the first image pops up, the visitor can click on that popup and it will either open a new browser window that contains that person's home page, or even just go to that URL within the same popup. I don't care which, just as long as they can click on the first popup and somehow get to the URL.
Can anyone help me? My head hurts. %-)
Best,
Marianne
I am almost a total newbie to JavaScript, so I apologize if this is a no-brainer to most of you -
I'm using some script to open a popup window containing a larger picture of a thumbnail in a Flash movie. I put some script in my source:
on(release){
getURL("JavaScript
}
I put this action in all my thumbnail pics.
When I publish the movie, I edit the .html with this code:
<SCRIPT LANGUAGE="JavaScript">
functionpop1(){
window.open("Images/Associates/associate1.jpt","","height=400,width=300,left=100,top=100,scrollbars=1,resizable=1"
}
</script>
This works great. What I now want to do, and have been completely unable to figure out how, is to modify this script so that when the first image pops up, the visitor can click on that popup and it will either open a new browser window that contains that person's home page, or even just go to that URL within the same popup. I don't care which, just as long as they can click on the first popup and somehow get to the URL.
Can anyone help me? My head hurts. %-)
Best,
Marianne