Mike File Attachment Window ID

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/66994?pagenum=1
05 November 2025, 02:43

Topic


leesh695
Mike File Attachment Window ID
04 May 2008, 11:42


Hey,

In mikes file attachment, it inserts text into the window that opened it to link to the image after a succesful upload using this line.
Code:
<script>
//window.opener.PostTopic.Message.value=window.opener.PostTopic.Message.value + "\n\nImage Insert: <% =strFileSize %>";
window.opener.PostTopic.Message.value=window.opener.PostTopic.Message.value + "\n\nFile: <% =oldfilename %> <% =strFileSize %>";
</script>


Instead of window.opener is it possible to give the post.asp window an id and instruct mikes file attachment to insert the text into the post.asp ID?<

 

Replies ...


leesh695
05 May 2008, 19:07


Can anyone help me with this please?<
cadfhs
07 May 2008, 15:20


If I am reading this correctly, you want the image to be inside this post box rather than a link to it?
I have done this, I have compared the files and just the OutputFile.asp has a number of changes. So if I am right above, please let me know (I try the check in here weekly so email me and I will post the changes on here).

<
leesh695
09 May 2008, 16:46


Hey, This is not what I wanted, im not actually sure if its possible.

Thanks alot for responding though!<
© 2000-2021 Snitz™ Communications