Rank: Member
Groups: Member
Joined: 9/22/2006(UTC) Posts: 5
|
hi- just to "propose" a minor modification/addition to iuembed.js - Code: this.writeHtml=function(id){
if (id)
{
id.innerHTML = this.getHtml();
}
else
{
document.write(this.getHtml());
}
}
has the advantage that the "embed IU" call can happen once the page layout has "settled" - just set a div with an id and call iu.writeHtml(id) (I got caught out by new release of IU, with new iuembed.js and couldn't figure out why the embed call was making such a mess!) Edited by user Tuesday, February 19, 2008 5:09:33 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 8/3/2003(UTC) Posts: 998
|
Hello, We have added this feature to our bug tracking system. Thank you, that’s a good idea. ======================================================== 02/19/2008, Fedor Additional info You can achieve the same result using the following code:
Code:var iu = new ImageUploaderWriter("ImageUploader1", 650, 400);
document.getElementById("ImageUploaderPlaceHolder").innerHTML = iu.getHtml();
======================================================== Edited by user Tuesday, February 19, 2008 5:09:15 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.