Talking to The Table Properties Popup
2005/12/07 13:54
Viewed 7471 times
Replies: 0/0

Firstly, I apologise for replying to a post, I can't seem to find a "new topic" button (It must be my age :-)

I have added a file manager window, that allows my users to select an image nicely. Once the user has selected an image, I would like to be able to "enter it" into the "f_st_backgroundImage" field in the Table Properties popup window.

I have tried using opener.document, but the opener is the main window, so both the Table Properties Popup, and my Image Browser are sibling windows. How do I find the name/id of the Table Properties Popup, so that I can use JS in my Image Browser window, to set the value of the f_st_backgroundImage field?

Many thanks,
Marc

last
CSS style drop down?
2005/12/09 23:00
Viewed 6787 times
Replies: 0/0

After 2 days of looking, I finally found the link to actually POST in this forum. Wow, that should not have been so hard...

Anyway, I'm using HTMLarea with Zen Cart. The image manager plugin is awesome! It took me awhile to find the code fix for CSS styles to appear in the editing window, but I did get that working. I also removed those nasty Font and Font size drop downs. Now what I need is to add a drop down menu to the tool bar for CSS styles so that I can access the styles without having to edit the HTML code. I've looked through the examples, but ddn't find them very clear.

Can someone please explain how I can get a CSS drop down menu to show up in the toolbar in HTMLarea installed in Zen Cart? (I posted the Zen Cart forum too, but no responses.)

Thanks!
JF ;)

last
footer/ status bar at the bottom
2005/12/14 18:19
Viewed 6195 times
Replies: 1/1

First off, I love the editor: awesome work.

Is it possible to remove the footer/status bar at the bottom of the editor, I have users that aren't in the least bit fluent in html and this is just a distraction for them.

also

I was wondering if there is an api documented anywhere.

Thanks

last
Re: footer/ status bar at the bottom
2006/02/01 06:20
Viewed 7826 times
Replies: 0/0

Try adding this:

.htmlarea .statusBar { display: none; }

to htmlareas.css

last
New Release of HTMLArea
2006/01/19 21:20
Viewed 6295 times
Replies: 0/0

Hi,

We're finding this special character, Â, appears for blanks when we cut and paste from Word. Is there a plug-in for Word cleanup that I can use with htmlArea 3.0-rcl? Or do you know when the full 3.0 version of htmlArea will be available?

last
HTML Area Inline href for links
2006/01/27 15:30
Viewed 5579 times
Replies: 0/0

Hello All,

I am facing some problem with HTML Area editor, with the inline href links which basically points links which are within the document, say i have copy and pasted some html document form a live html file which has some href inline links within the document, like <a href="#loa">some text</a>
And i have the HTML Area editor inside a pop-up window which has some name say textarea.jsp, now my problem here is that whenever i change the inline link so as to modifiy as per the new document standards, the pop-up file name is appended with the #loa, so the link becomes <a href="textarea.jsp#loa"> which is incorrect , so i would like to know how to add inline href links to the html document which had been pasted inside the text area....

Thanks and Regards
Harish

last
Images and Links not complete
2006/01/31 01:57
Viewed 5321 times
Replies: 0/0

When inserting an image or a URL link the tags is not complete. For images, it will only write the relative link even though I type in the entire path to the image on the server. So, it shows as a broken link. With URLs the actual URL is completely missing:

<a title="Water Center" target="_blank">Link</a> -- as is the href part.

This is happening on IE6 but not on Firefox -- although Firefox has some other problems. I know it can all be fixed using the code view but I will be having people who don't know code using this and they will be confused.

Any thought?

last
Problem with page scrolling
2006/02/22 05:16
Viewed 5540 times
Replies: 0/0

I have implemented a form with HTMLArea. The form has about 10 fields 2 of them being HTMLAreas. However when the form is finished loading the field focus is on the second HTMLArea field and the page is scrolled about 3/4 down the form.

What I would like is when the form is finished loading, I would like the form to be at the top with the focus on the first field. I have tried using tabindex on the fields - did not work. I have tried creating a javascript function to window.scroll(0,0) - did not work. I have tried a javascript function with form.fieldname.focus() - did not work.

I am in need of solutions/ideas/recommendations.

Thanks

last
encoding -how to fix?
2006/03/12 11:40
Viewed 5248 times
Replies: 0/0

I have js file with my language words. How can I change correct encoding?
I have seen e.g. code: LANG: "..", ENCODING:
where I should put encoding code that it will work correct?

last
SUBMIt button
2006/03/15 10:10
Viewed 5447 times
Replies: 0/0

I have intalled HTMLArea, do you know how to modify this editor that it will store values on my server when SUBMIT

last
htaml area word format cleaner
2006/04/04 09:57
Viewed 5442 times
Replies: 0/0

i want to paste from word ?works?

last
default font
2006/04/05 06:25
Viewed 5172 times
Replies: 0/0

Hi , Is it possible to set the default font and fontsize in the editor?
Thanks, C

last
inserting a special char
2006/04/11 21:39
Viewed 6604 times
Replies: 1/2
well. my problem is that i created a new function for this, it works great on windows firefox and ie, but firefox from linux has a little bug and i cant find out how to solve this, if i start inserting characters, i cant delete them, unless a press any key, am i doing something wrong? this is the function that im using.. HTMLArea.prototype.insertChar = function(car) { var sel = this._getSelection(); var range = this._createRange(sel); if (HTMLArea.is_ie) { range.pasteHTML(car); } else { var range2 = range.cloneRange(); var innerHTML = this.getHTML(); alert(innerHTML); //Fix for Firefox 1.5 . if(innerHTML == " "){ sel = this._getSelection(); sel.removeAllRanges(); range = this._createRange(); range.selectNodeContents(this._doc.body); sel.addRange(range); } var div = this._doc.createTextNode(entityDecode(car)); // Insert text at cursor position sel.removeAllRanges(); range.deleteContents(); range.insertNode(div); // Move the cursor to the end of text range2.selectNode(div); range2.collapse(false); sel.removeAllRanges(); sel.addRange(range2); } }; its weird cause it works in firefox for windows, it deletes everything correctly, but in linux it acts a little different :S hope some can point me out what im doing wrong, thnxs in advance.
last
Re: inserting a special char
2006/04/11 21:42
Viewed 10118 times
Replies: 1/1

function entityDecode(s) {
var e = document.createElement("div");
e.innerHTML = s;
return e.innerHTML;
}

//Agrega un caracter especial en el textarea.
HTMLArea.prototype.insertChar = function(car) {
var sel = this._getSelection();
var range = this._createRange(sel);
if (HTMLArea.is_ie) {
range.pasteHTML(car);
} else {
var range2 = range.cloneRange();
var innerHTML = this.getHTML();
alert(innerHTML);
//Fix para Firefox 1.5 ya que si se inserta un caracter especial
//sin que tenga foco el html area, no lo pone correctamente en
//la primera posicion.
if(innerHTML == "&nbsp;"){
sel = this._getSelection();
sel.removeAllRanges();
range = this._createRange();
range.selectNodeContents(this._doc.body);
sel.addRange(range);
}
if(innerHTML.indexOf('<') == 0){
sel = this._getSelection();
sel.removeAllRanges();
range = this._createRange();
range.selectNodeContents(this._doc.body);
sel.addRange(range);
}

// construct a new document fragment with the given HTML
//var fragment = this._doc.createDocumentFragment();

var div = this._doc.createTextNode(entityDecode(car));
//var div = this._doc.createTextNode(car);
//div.innerHTML = car;
//alert(div.innerHTML);
// Insert text at cursor position
sel.removeAllRanges();
range.deleteContents();
range.insertNode(div);
// Move the cursor to the end of text
range2.selectNode(div);
range2.collapse(false);
sel.removeAllRanges();
sel.addRange(range2);
}
};

last
surroundHTML Problem
2006/05/03 19:48
Viewed 6384 times
Replies: 0/0

Love the editor (as do most!).

I have created a number of my own buttons/functions and am running into a problem with surroundHTML().
After calling this function once, then calling it a second time with different values, the HTML is inserted into the body of the document, not the htmlarea editor object.
The html is inserted at the top of my page.

If, after the first "insert", I click on the editor, then call surroundHTML() again, all is fine.

Example: Two new buttons... 1. editor.surroundHTML('<p class=one>','</p>') 2. editor.surroundHTML('<p class=two>','</p>')
If I click on button 1, then button 2, without clicking inside the editor in between, the second call is inserted at the top of the web page.

Any suggestions would help tremendously.

last
So, WHERE IS the LAST post-Opera-9-support version of HTMLarea ?
2006/08/03 22:40
Viewed 6718 times
Replies: 1/4

Hey now, you guys wrote this on your "deprecation" page about HTML Area, the following:

"With regrets, we have to inform you that we no longer actively maintain HTMLArea* ... (*) We do plan to release one last version with support for Opera, as we promised to Opera folks, and we hope to be able to do this when Opera 9 will be released."

Now, Opera 9 has been out for SOME TIME now - and even though you have supposedly discontinued HTMLarea, I am SURE that the above quoted comment from you, was posted WELL BEFORE Opera 9 was released. And in fact, Opera 9's # of downloads surged past the prediction mark and OperaSoftware.com's CEO had to swim the english Channel. And that was also quite some time ago, too! And now here we are, about to witness the soon release of Opera 10 .... and thus- far NO NEW or LAST version of HTMLarea at all? I don't even remember what the previous version of it even was? Was it 3.0? Does anyone even still have any copies I can get from them? I obviously cannot get it from here .... So what to do?

So anyways, it has obviously been some time now. Opera 9 has come and gone, Opera 10 is looming on the horizon ... and Dynarch has not kept to it's promises on this and some other things as well. :-(

So, how about releasing the LAST "Final" version of HTMLarea under an "as-is" warranty where you do not need to offer or be held liable for any support? That way, those of us who are still interested in it, can at least still download it and play around with it and not bother anyone at Dynarch about it. What do you say?

Please? :-)

last
Re: So, WHERE IS the LAST post-Opera-9-support version of HTMLar
2006/08/03 23:20
Viewed 11371 times
Replies: 1/3

Hey, if all you want is free software, you're gonna have to wait for it.  Clearly, you enjoy criticizing others—and I'm pretty sure that's all you can do—but it won't be allowed on our forums any longer.  If there's anything else you want to share with us, please watch your mouth. ;-)

last
Google