Displaying 20 results from an estimated 50000 matches similar to: "Prototype and bitflux editor"
2005 Dec 22
6
Scriptaculous and Prototype based Rich Text Editor
Hi Guys,
I'm currently using the Dojo Rich text editor on my site
https://wideword.net but am not 100% happy with it as I'm a prototype
kind of guy.
So I started writing this Rich Text Editor the other day on an
experiment. I used the In Place Editor as a template for it and have
gotten it to more or less work under IE and Gecko. Unfortunately it
still isn't working on Safari ( The
2006 Feb 20
0
prototype.js Array.prototype.shift() method
I noticed that prototype.js defines a shift() method for the Array prototype.
The base prototype already defines this method, is there a reason it is being
redefined in prototype? Maybe certain browsers aren''t implementing the
shift() method? If that''s the case, shouldn''t there also be an unshift()? :)
Thanks!
-Jeremy
--
Jeremy Kitchen ++
2006 Apr 17
2
RE: document.getElementsByClassName (prototype) andElement.childrenWithClassName (scriptaculous) redundancy?
Isn''t the difference that the scriptaculous one only gets child nodes
from the node you specify, whereas the prototype one gets all in the
entire document?
Still, it would be nice to just have the one, and let you pass in the
document element if you wanted all of them.
Just guessing, really. I haven''t looked at the code in question.
Greg
> -----Original Message-----
>
2006 Jan 11
0
RE: extending the Element.prototype to provideasetAttributes function
No problem, also check out bindAsEventListener for attaching functions
to element events, still maintaining your object as the "this" in the
event handler scope at the same time having access to the originating
"event" object.
In case you haven''t found this resource yet:
http://www.sergiopereira.com/articles/prototype.js.html
-----Original Message-----
From:
2006 Jan 11
2
RE: extending the Element.prototype to provide asetAttributes function
No comment on the usefulness of your function, as I''ve yet to try it.
But for the "this" scope problem, try this... (removed your var and
added the bind(this) after the function declaration. I didn''t test it
though so you might want to give it whirl. It might introduce a
different scope problem with the "attr" var but I think it should work.
2006 Jan 11
2
extending the Element.prototype to provide a setAttributes function
Hi folks, I''m pretty new to javascript and prototype, so I just want to get
some peer-review on a function I wrote that makes a handy (at least, it seems
handy) way to set a group of attributes on an element easily.
Object.extend(Element.prototype, {
setAttributes: function(attrs) {
var el = this;
$H(attrs).each( function(attr) {
el.setAttribute(attr[0], attr[1]);
2006 Jan 27
1
[prototype] [BUG] Event.stop doesn''t stop all keystrokes on some browsers
attached is an html file I used to test the bug. the top text box should not
allow you to type anything, not tab, not enter, nothing. bottom text box
should work fine.
requires prototype.js and includes jslog for jslog.info although it only
occurs in one place, I just wanted to make sure the event was firing without
having to use alerts :)
tested browsers/platforms:
opera: mac / win / lin:
2006 May 01
2
[prototype] Selector class fails on selector strings with spaces
I just ran across this bug when trying to re-create Ben Nolan''s behaviour.js
with prototype and was wondering if anyone had fixed it before I went
re-inventing the wheel :)
Thanks!
-Jeremy
--
Jeremy Kitchen ++ kitchen-RA8HwDor7flnDGu+y90WmgC/G2K4zDHf@public.gmane.org
http://ipaction.org/ -- defend your rights to fair use
_______________________________________________
2006 May 25
7
prototype-ish subclassing
when using prototype and Class.create(), what''s the preferred method of
creating a subclass?
say I have a real simple class:
var Testing = Class.create();
Object.extend(Testing.prototype, {
initialize: function() {
...
},
...
});
would I subclass it as so?
var SubClass = Class.create();
Object.extend(Object.extend(SubCLass.prototype, Testing.prototype), {
...
2008 Feb 16
5
ie-specific error in prototype try-catch block?
Hi,
I was wondering if anyone has any suggestions for debugging ie-
specific errors? I have been working on a porting a prototype
application that works fine in firefox to ie, and have run into
several problems. For the latest one, the error message is not very
informative. When trying to load the application, ie complains "Object
doesn''t support this property or method."
When
2005 Dec 16
6
extending prototype''s classes
Hi, I''m relatively new to javascript programming, and OOP in general, so
please be nice to me ;)
My question is:
I''d like to extend the Form class in prototype to have a Disable function that
will disable all of the fields in a form.
I''ve already written a function to do this, but I''d like to include it in my
own library so I can access it easily and also
2005 Dec 23
3
RE: Scriptaculous and Prototype based Rich TextEditor
What I have so far.
In my main HTML:
<script type="text/javascript"
src="/javascripts/tiny_mce/tiny_mce_src.js"></script>
<script type="text/javascript">
tinyMCE.init({
mode: "textareas",
theme: ''advanced'',
theme_advanced_toolbar_location: ''top''
});
...
</script>
My Ajax form
2008 Jun 06
2
Scriptalicious: Ajax Inline Text Editor
Hi, I''m just starting out with Scriptalicious + Prototype, and I''ve
run into a problem.
I''m trying to create an Ajax.InPlaceEditor that combines the custom
size textbox, and the custom parameter (from the examples in the
scriptalicious documentation)
http://github.com/madrobby/scriptaculous/wikis/ajax-inplaceeditor
I''ve tried a couple different methods (one of
2006 Mar 09
2
extending an existing DOM object in a prototype way
I want to take an existing DOM object and extend it with some
functionality. I know there''s a way to do this with prototype.
Unfortunately, I''m not entirely sure how to do this.
Basically, I want to take an existing DOM object and turn it into a
''widget'' by adding some functionality.
say we have a span:
<span id="blah">some text
2007 Jan 31
1
Suggestion about Prototype
After I read Prototype API and try it some, I love it much.
It''s a powerful javascript framework and really easy to use.
But I feel something has miss in prototype like,
··· Everything put in one file and cannot separate ···
I think prototype may have feature to load other script into
prototype.
Because this will make prototype user can load only needed part.
Another reason, I think
2007 Aug 22
0
Multiple Prototype scripts loaded in the same project
Hello,
As more and more libraries are using a Prototype library - multiple
versions of it may be loaded in the same project without people even
noticing that.
For example, we''re developing a JSF application and use Ajax4jsf
library. We use a Prototype by ourselves (just upgraded to RC of 1.6)
but Ajax4jsf also comes with it''s own Prototype (version 1.5.0).
Ajax4jsf folks
2008 Feb 21
1
Prototype - Firefox - Slow On Just One Page
I''m using Prototype/Scriptaculous on a large web app. Everything runs
briskly in IE, and everything runs briskly in Firefox except for one
page. On this page, only in Firefox, any code that touches Prototype
runs very, very slowly. In particular:
I use Effect.BlindDown/BlindUp for dropdown menus. Same html and css
on all pages. Flies along on all the other pages; here BlindDown
crawls,
2008 Apr 07
4
Staff Manager tutorial from "Prototype and script.aculo.us" by Christophe Porteneuve
Hi there,
Taking my first steps in Prototype and reading this very helpful book
by Christophe Porteneuve. There''s an interesting tutorial (Chpt. 7) on
making a tree to organize staff members. The problem is that I can''t
make it working in IE. In Firefox it works just great.
Did anybody fiddle with it? Maybe somebody has already figured it out.
IE says
2007 Jul 19
0
ASP.NET AJAX Web Services and Prototype Version 1.5.1.1
I wanted to use a web service published with ASP.NET AJAX from
Prototype Version 1.5.1.1
It''s easier to call an ASP.NET AJAX web service by using an ASP.NET
AJAX page with a proxy class, but I have an application which still
has many Classic ASP pages and using Prototype seemed like a better
idea than hand coding the the interactions, or figuring out how to
include all the right ASP.NET
2006 Nov 12
1
prototype and json
I''m using the "Prototype JavaScript framework, version 1.5.0_rc1" and
when I add the json.js script (http://www.json.org/js.html) to the
document, I get an "Too much recursion" error.
Is this version of prototype making some incompatibilities with json.js?
Have prototype built in methods for working with json (array 2 json,
object 2 json, etc)?
Thanks.