Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Mike File Attachment Window ID
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

leesh695
Junior Member

101 Posts

Posted - 04 May 2008 :  11:42:38  Show Profile  Reply with Quote
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.

<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: [url=\"<% =strForumURL %><% =SUBFOLDER %>/<% =filename %>\"] <% =oldfilename %>[/url]
<% =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?<

leesh695
Junior Member

101 Posts

Posted - 05 May 2008 :  19:07:25  Show Profile  Reply with Quote
Can anyone help me with this please?<
Go to Top of Page

cadfhs
New Member

United Kingdom
77 Posts

Posted - 07 May 2008 :  15:20:24  Show Profile  Visit cadfhs's Homepage  Reply with Quote
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).


<
Go to Top of Page

leesh695
Junior Member

101 Posts

Posted - 09 May 2008 :  16:46:00  Show Profile  Reply with Quote
Hey, This is not what I wanted, im not actually sure if its possible.


Thanks alot for responding though!<
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.1 seconds. Powered By: Snitz Forums 2000 Version 3.4.07