Home: htmlArea 3 (beta): htmlArea 2 & 3 archive (read only): htmlArea v3.0 - Add-Ons:
Upload and Add image version



Brick
Novice

Oct 19, 2004, 3:20 AM


Views: 87092
Upload and Add image version

 Hello!
Maybe somebody remember, I've made modification of htmlarea2.0 with upload and add-from-select-field Image option.

I've made it for htmlarea3.0
Here is demo http://www.website.vel.pl/htmlarea3.0_upload/example.htmland zip to download. This isn't plugin cuz I have'to change something in htmlarea.js and replace some popups for php files.

Test it and comment.
You need PHP on your serwer.


(This post was edited by Brick on Oct 19, 2004, 3:22 AM)


richardg
New User

Oct 31, 2004, 6:48 AM


Views: 86827
Re: [Brick] Upload and Add image version

It all works fine, thanks - but just one problem...and I'm not sure if this is to do with your code!

htmlarea.js hijacks the onsubmit function: it first puts the html into the textarea and then calls the onsubmit function in the form tag.

unfortunately, if the onsubmit function is for validation, such as onsubmit="return validate" then the form submits even when validation function returns false. In fact if you have onsubmit="return false", the form still submits.

To fix this, I've commented out the code in htmlarea which hijacks the onsubmit function, but it would be nice if htmlarea.js is fixed.

cheers


marco76tv
Novice

Feb 4, 2005, 12:50 AM


Views: 85289
Re: [Brick] Upload and Add image version

IN ASP THERE IS A STANDALONE IMAGE MANAGER UPLOAD? please help



my icq # 210139517


Brick
Novice

Feb 5, 2005, 2:55 PM


Views: 85248
Re: [marco76tv] Upload and Add image version

I don't know, I have never used ASP - just only PHP.