i’ve got a plugin that binds to a selector eg. a button. and when i click on the button then the function executes (showing a windows where i can choose a picture to upload).
the code looks like this:
$('#image_upload').uploadify({
'uploader': '../../frontend/jquery/plugins/uploadify/swf/uploadify.swf',
'script': 'controllers/ajaxcalls/image.php',
});
so it binds to a button with id=”image_upload”. but this will give the button a different look and i dont want that. i want a regular button look.
so i thought i could use a regular and then when i click on that one, it executes uploadify plugin.
is that possible?
Have a look at the documentation. As far is I understand, settings the option
should hide the flash-thingy and make your original button visible.
You could also have a look at the
buttonText buttonImg hideButton rollover width height cancelImgoptions that should allow you to style the button according to your requirements.