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
|
|
|
|
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 |
|
|
|
|
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
|
|
|
|
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 |
|
|
|
|
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.