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

Notification

Icon
Error

Options
Go to last post Go to first unread
batpeppe  
#1 Posted : Tuesday, February 3, 2015 8:29:44 AM(UTC)
batpeppe

Rank: Newbie

Groups: Member
Joined: 2/3/2015(UTC)
Posts: 1

I recently updated to version 8.1.15 of the ImageUploader (HTML5) ,

now showing the text "Drop files here".

I need to change the text with another, is it possible ?

Thanks a lot

Andrew  
#2 Posted : Thursday, February 5, 2015 4:18:43 AM(UTC)
Andrew

Rank: Advanced Member

Groups: Member, Administration
Joined: 8/2/2003(UTC)
Posts: 876

Thanks: 2 times
Was thanked: 27 time(s) in 27 post(s)
It turns out that we did not add a setter for this property in 8.1.15. Now you can use the following code:

Code:
var fh = Aurigma.ImageUploaderFlash.imageUploaderFlash({
  id: "id1",
  events: {
    initComplete: function () { 
      fh.getControl().setDropFilesHereText("Hello world");
    }
  }
});

It is a bit ugly solution as it uses some internal undocumented API, however it can be used as a temporary solution. In the next version (hopefully we will finish it on the next week) we will add a full-fledged setter, similar to the equivalent property of Java/ActiveX uploader. Moreover, it will be able to specify HTML code or DOM elements, so you will be able to put some nice artwork there.

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.