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

Notification

Icon
Error

Options
Go to last post Go to first unread
Dmitry  
#1 Posted : Monday, July 5, 2010 8:45:29 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Since release of Image Uploader Flash a week ago we got several requests from our customers how to create a custom HTML button. This task can be broken into two subtasks:
  1. Hide standard Send/Stop buttons.
  2. Create a HTML button which starts and stops upload.
Hide standard Send/Cancel buttons

The trick is rather simple. In the documentation to the product we have the Using Precompiled Themes topic illustrating how to change look and feel of the component. Using the technique described in this topic we can set width/height of the Send and Cancel buttons to 0. It allows hiding them. In the attachments to this post you can find both custom CSS theme file having these changes and SWF file to which the CSS is compiled to.

Add HTML buttons

Image Uploader Flash exposes imageUploaderFlash.send and imageUploaderFlash.stop methods to start and stop upload from JavaScript API. The sample in the attachment illustrates how to use them with Image Uploader Flash.

Edited by user Thursday, January 27, 2011 2:29:49 AM(UTC)  | Reason: Not specified

File Attachment(s):
HTMLButtons.zip (1,008kb) downloaded 67 time(s).
Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
Users browsing this topic
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.