Mike File Attachment Window ID - Postet den (1675 Views)
Junior Member
leesh695
Innlegg: 101
101
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?<
   
 Sidestørrelse 
Postet den
Junior Member
leesh695
Innlegg: 101
101
Can anyone help me with this please?<
Postet den
New Member
cadfhs
Innlegg: 77
77
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).

<
Postet den
Junior Member
leesh695
Innlegg: 101
101
Hey, This is not what I wanted, im not actually sure if its possible.

Thanks alot for responding though!<
 
Du må legge inn en melding