Hi all-
I am a beginner programmer- and have been working on this one project for a few months- I am starting to think it cant be done..
Scenrio..
I have an org chart in powerpoint. I was asked to collect everyone pics and make little pop up boxes w/ thier phone book info. The phone book table is in oracle. I create a little popup that gets the images and phone info- they work fine.
To GET those links to powerpoint.. I created 'a redirect' page. That is what i 'hyperlink' too off the powerpoint.
The powerpoint was saved as HTML.
The Problem....
I click on the powerpoint hyperlink.... the redirect pulls up my little pop.aspx page.. and you hit close window- and i loose the power point doc (that has been saved as HTML)because the redirect must close it out.
I dont know how to get it back
The Code...
Here is my Redirect javascript..
<script language="javascript" type="text/javascript">
<!--
newwindow=null;
function popitup(url) {
newwindow=window.open(url,'name','toolbar=no','scr ollbar=no');
if (window.focus) {newwindow.focus()}
newwindow.moveTo(600,0)
//self.close();
return false;
}
// -->
</script>
<script language="JavaScript" type="text/javascript">
<!--close the window without that popup ask user window to confirm
window.opener = self;
window.close();
// -->
</script>
and it runs off <body on load...>
Any help or suggestions... and if I need to provide more info- please let me know
Thanks
