Forums
This topic is locked
Related Page in a Popup Window
Posted 12 Sep 2002 18:26:04
1
has voted
12 Sep 2002 18:26:04 Ken Dobson posted:
Ok, my brain has had a core meltdown. Hopefully someone can tell me how to do something this simple. I've racked my brain for over a day and haven't had much luck. I have a "upload" graphic on a page. It needs to go to the upload page itself when clicked, however I need it to pass the ID field info to the upload page. I can do this when I do a related page, but then the page changes on the screen to the upload page. I don't want it to. If I make a onclick - open browser window, and paste in the code from the goto related page, it doesn't pass the info along. This should be SO freakin easy, it's now starting to annoy the heck out of me.
Here's my related page code (works):
<a href="Upload_AES.asp?<%= MM_keepURL %>"><img src="Images/facts_upload_sm.gif" width="64" height="18" border="0">
Here's my popup (doesn't pass correct ID info (ID defaults to 1)):
<img src="Images/facts_upload_sm.gif" width="64" height="18" border="0" onClick="MM_openBrWindow('Upload_AES.asp?<%= MM_keepURL %>','AES','scrollbars=yes,width=350,height=110')">
If I have both of the above on a single page, they both work. But as soon as I take away the "Go to related page", the popup stops working. So, a workaround would be to hide the related page image. There's got to be something more efficient because I have to put 11 of these graphics on a single page for different types of uploads.
Thanks,
Ken