Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
bradmurray  
#1 Posted : Friday, March 24, 2006 9:14:18 PM(UTC)
bradmurray

Rank: Member

Groups: Member
Joined: 3/23/2006(UTC)
Posts: 17

Can anybody tell me why the attached code does not fire the single event that I have wired up? To test you will have to set the path to the cab. I can't get any events to fire at all.

Brad

File Attachment(s):
test.txt (6kb) downloaded 104 time(s).
Alex Makhov  
#2 Posted : Sunday, March 26, 2006 1:51:56 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups: Member
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

PaneResizeListener property is supported only by Java version. The best way is to use our iuembed.js script.

Edited by user Monday, October 27, 2008 10:39:21 PM(UTC)  | Reason: Not specified

Sincerely yours,

Alex Makhov

UserPostedImage Follow Aurigma on Twitter!

bradmurray  
#3 Posted : Monday, March 27, 2006 1:31:42 AM(UTC)
bradmurray

Rank: Member

Groups: Member
Joined: 3/23/2006(UTC)
Posts: 17

If I add:

Code:
<param name="SelectionChangeListener" value="UploadCtlSelectionChange"/>

in its place, it still doesn't work. I am trying to just get it to throw an alert box on the even to prove that it's listening and that doesn't work.

Edited by user Monday, February 18, 2008 1:43:20 PM(UTC)  | Reason: Not specified

Alex Makhov  
#4 Posted : Monday, March 27, 2006 1:46:53 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups: Member
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

I should say again that listener properties are used only by Image Uploader for Java for it to be available to fire events. Event handlers for ActiveX objects have to have the following notation:

Code:

<SCRIPT event=InitComplete() for=ImageUploaderID>
	alert("It works!");
</SCRIPT>

Any way it’s better to use our iuembed.js script:

Code:
<script type="text/javascript" src="iuembed.js"></script>
<script type="text/javascript">
function UploadCtl_PaneResize() {
	//...your code...
}
var iu = new ImageUploaderWriter("UploadCtl", 610, 500);
//...params...
//...other event listeners...
iu.addEventListener("PaneResize", "UploadCtl_PaneResize");
//...other event listeners...
iu.writeHtml();
</script>

Edited by user Monday, October 27, 2008 10:39:59 PM(UTC)  | Reason: Not specified

Sincerely yours,

Alex Makhov

UserPostedImage Follow Aurigma on Twitter!

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.