Firefox codeproject toolbar
-
Michael Dunn wrote: Chris has said numerous times that Mozilla doesn't implement the one object he needs (the one that returns the currently-selected text) to do text formatting. I'm glad you said that. That needed mentioning :) "One of the Georges," said Psmith, "I forget which, once said that a certain number of hours' sleep a day--I cannot recall for the moment how many--made a man something, which for the time being has slipped my memory."
That is one of the problems with the Mozilla/Geko team is that they are so closed minded to "standards only or die", that they make it hard on everyone else. Reminds me of Apple who claims to be the usability expert while they cannot see the benefit of a right mouse button or scroll wheel, they just stick in their old rut, even if it is wrong. Standards are fine, but who cares if the usabilty is not there. Rocky <>< www.HintsAndTips.com - Now with "Recommendation" postings www.MyQuickPoll.com - Now with Recent Poll List
-
That is one of the problems with the Mozilla/Geko team is that they are so closed minded to "standards only or die", that they make it hard on everyone else. Reminds me of Apple who claims to be the usability expert while they cannot see the benefit of a right mouse button or scroll wheel, they just stick in their old rut, even if it is wrong. Standards are fine, but who cares if the usabilty is not there. Rocky <>< www.HintsAndTips.com - Now with "Recommendation" postings www.MyQuickPoll.com - Now with Recent Poll List
Yeah. Plus as someone mentioned its a moving target. I mean who the hell wants to develop targeting something that's not even fixed. In all fairness its not like they are breaking applications left and right but a little more help from them would be welcome. "One of the Georges," said Psmith, "I forget which, once said that a certain number of hours' sleep a day--I cannot recall for the moment how many--made a man something, which for the time being has slipped my memory."
-
Yeah. Plus as someone mentioned its a moving target. I mean who the hell wants to develop targeting something that's not even fixed. In all fairness its not like they are breaking applications left and right but a little more help from them would be welcome. "One of the Georges," said Psmith, "I forget which, once said that a certain number of hours' sleep a day--I cannot recall for the moment how many--made a man something, which for the time being has slipped my memory."
Ramanan Sivan wrote: Plus as someone mentioned its a moving target. I mean who the hell wants to develop targeting something that's not even fixed. Isn't that what all programmers do. :-D Our customer requirements are moving targets, our development tools keep changing, not to mention all the API's that are created and forgotten about. Michael CP Blog [^]
-
That is one of the problems with the Mozilla/Geko team is that they are so closed minded to "standards only or die", that they make it hard on everyone else. Reminds me of Apple who claims to be the usability expert while they cannot see the benefit of a right mouse button or scroll wheel, they just stick in their old rut, even if it is wrong. Standards are fine, but who cares if the usabilty is not there. Rocky <>< www.HintsAndTips.com - Now with "Recommendation" postings www.MyQuickPoll.com - Now with Recent Poll List
To be fair on Apple, both the scroll wheel and right mouse button function correctly when a mouse with either of the functions is connected. -- Andrew.
-
The maintainers of that website appear to be unwilling to fix their message composing javascript to work with other browsers than IE Um, your bashing is directed at the wrong place. Chris has said numerous times that Mozilla doesn't implement the one object he needs (the one that returns the currently-selected text) to do text formatting. If that object works now, or if there's an alternate way to do it, why not share your script with the site to improve it. --Mike-- Personal stuff:: Ericahist | Homepage Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ ---- Ford, what's this fish doing in my ear?
There is an alternate way to do it. Mozilla supports textbox.selectionStart and textbox.selectionEnd. These give you the zero based begin and end positions of the selection. The following script would make a smiley appear at the carret.
if (objTextArea.selectionEnd || objTextArea.selectionEnd == '0')
{
objTextArea.focus();
var endPos = objTextArea.selectionEnd;
var strEnd = objTextArea.value.length;
objTextArea.value = objTextArea.value.substring(0, endPos) + ' ' + strInsertText + ' ' + objTextArea.value.substring(endPos, strEnd);
}The other functions have similar implementations. The "trick" is that you have to do a textbox.focus(); before they return valid results.
I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon
-
To be fair on Apple, both the scroll wheel and right mouse button function correctly when a mouse with either of the functions is connected. -- Andrew.
"To be fair", you buy an MAC from Apple, do you get a mouse with a scroll wheel and righ mouse button? No, it is an add-on because they think they know better. One button is all anyone will need. One day maybe they will come out into the real world and see that they have been wrong and correct it just like they did with the Mac OS when they dumped it for a Unix OS. Rocky <>< www.HintsAndTips.com - Now with "Recommendation" postings www.MyQuickPoll.com - Now with Recent Poll List
-
"To be fair", you buy an MAC from Apple, do you get a mouse with a scroll wheel and righ mouse button? No, it is an add-on because they think they know better. One button is all anyone will need. One day maybe they will come out into the real world and see that they have been wrong and correct it just like they did with the Mac OS when they dumped it for a Unix OS. Rocky <>< www.HintsAndTips.com - Now with "Recommendation" postings www.MyQuickPoll.com - Now with Recent Poll List
I agree, one mouse button doesn't cut it. I was only pointing out that should someone choose to use a two button mouse, the facility is there, they're given the choice. I guess it's worst on the laptops where the touchpads have only one button, can't really just get a new touchpad :-). -- Andrew.
-
Ramanan Sivan wrote: Plus as someone mentioned its a moving target. I mean who the hell wants to develop targeting something that's not even fixed. Isn't that what all programmers do. :-D Our customer requirements are moving targets, our development tools keep changing, not to mention all the API's that are created and forgotten about. Michael CP Blog [^]
:sigh: Unfortunately for me that's so true. I write medical applications and ever so often the guys I write for change the camera, the camera box yada yada yada. And then blame me when the apps I wrote break. "One of the Georges," said Psmith, "I forget which, once said that a certain number of hours' sleep a day--I cannot recall for the moment how many--made a man something, which for the time being has slipped my memory."
-
"To be fair", you buy an MAC from Apple, do you get a mouse with a scroll wheel and righ mouse button? No, it is an add-on because they think they know better. One button is all anyone will need. One day maybe they will come out into the real world and see that they have been wrong and correct it just like they did with the Mac OS when they dumped it for a Unix OS. Rocky <>< www.HintsAndTips.com - Now with "Recommendation" postings www.MyQuickPoll.com - Now with Recent Poll List
-
You've never sat a new computer user down and tried to get them comfortable using a mouse, have you? Trust me, it's easier to start with as few buttons as possible...
You**'re one microscopic cog** in his catastrophic plan...Well, just because there is more than one does not mean they have to use them. That would be like saying you want cars to only have a steering wheel and we will leave out the break and gas pedals to make it easier for them. Actually, with the MAC, that would be like putting buttons under their seat that they have to use to go forward and backwards since the MAC you have to learn to hold down the command key to get the functionality you would have with a right mouse button. Rocky <>< www.HintsAndTips.com - Now with "Recommendation" postings www.MyQuickPoll.com - Now with Recent Poll List