Can you give more info? The full text in popup? What is window.js? Why you
want to use both Prototype and jQuery on the same page? Where is your
jQuery.noConflict()?
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To view this
cleanWhitespace should not be recursive, at least for inline elements. E.g.
for HTML fragment bithe/i ispace/i/b user will see output *
thespace* (single word) instead of *the space* (two distinct space-separated
words), which isn't correct.
--
You received this message because you are
You can highlight matched characters while creating response on the server
side like in this sample:
optionspan class=\informal\This will not pass into
answer/spanbHighlighted part/bNot highlighted part/option
--
You received this message because you are subscribed to the Google Groups
Also why you cannot override some method? It is simple like
Ajax.MyAutocompleter = Class.create(Ajax.Autocompleter, {
onComplete: function($super, request) {
$super(request);
}
});
or you want to replace existing method in existing class?
--
You received this message because you are
I think it should look like
var base = Class.create({
iterations: 0,
initialize: function(item) {
this.iterations++;
//this.collection = [];
this.collection.push(item);
console.log('Iterations: %s, Number items in Collection: %s',
this.iterations,
Fine. Here is a list of my Prototype tickets (not counting tickets for
Prototype documentation):
1269https://prototype.lighthouseapp.com/projects/8886/tickets/1269-eventjs-bug-in-issimulatedmouseenterleaveeventnew
event.js
- bug in
It's kinda feature, not issue ;) You expect that method references in
base.prototype will be visible in child classes, and array reference behaves
similarly.
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To view this discussion
OK, it is used in stopObserving to clean observers, mainly for IE (look at
function _destroyCache) to prevent memory leaks.
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To view this discussion on the web visit
Hi!
If you like to browse source code, then you can answer by yourself. Just
search for prototype_event_registry in sources.
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To view this discussion on the web visit
Sorry for late answer, but there are my few coins on custom attributes.
For XHTML solution exists many years - from the beginning of XHTML itself:
XML namespaces. Define custom attributes in custom namespace, and the
resulting XHTML page will be perfectly valid. Example (stripped from working
Hello Andrew!
Great to see that someone from developers still reading this list. You
didn't cleared the situation about lighthouse bug tracker and code patches.
Will someone somehow react to the bug messages, questions about code,
proposed patches etc.? Or posting bugs/wishes/patches in bug
I used similar things with
new Element(tagName, {style:...})
earlier, but after strange behavior of IE I prefer to use
new Element(tagName).setStyle({width:x,height:y})
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To view this
For Enumeration (Hash, ObjectRange etc.) use Enumeration#each
var index = -1;
enumeration.each(function(e, i) {
if (e === 'bar') {
index = i;
// looking for the first occurrence
throw $break;
}
});
for Array you can use shorter
var index = ['foo','bar','baz'].indexOf('bar');
I think it will be slower than separate selectors:
1. Single complex selector will require additional time to parse and merge
nodes into single result.
2. After that you will use additional checks - the same as in your
selectors.
--
You received this message because you are subscribed to the
I see in Firefox 3.6 that z-index is not changed at all.
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To view this discussion on the web visit
https://groups.google.com/d/msg/prototype-scriptaculous/-/lP4DA5SSbLAJ.
To post to
+1 for mouse wheel event and ajax abort and timeout.
String.prototype.trim AKA strip() is already here.
E-mail validation pattern is under big question, e.g. regexp fully
compatible with RFC 2822 will look like
var lis = $('slide-images').getElementsByTagName('li');
nobody knows about $$ and CSS selectors :)
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To view this discussion on the web visit
You can invert your {'fields': [{'field':'fname', 'col':2}, {'field':'ssn',
'col':5}]} to something like ['field0', 'field1', 'fname', 'field3',
'field4', 'ssn'] and then zip it (Enumerable#zip) with every CSV row.
--
You received this message because you are subscribed to the Google Groups
Sometimes IE refuses to insert options created with new Element() or
innerHTML into SELECT or OPTGROUP. Approach with new Option() is more
reliable (at least for me) while still cross-browser.
--
You received this message because you are subscribed to the Google Groups
Prototype
about
unobtrusive creation? You can create DatePicker and ComboBox when the input
field becomes focused first time.
--
With best regards,
Victor
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To view this discussion on the web visit
Do you talking about visual effects in Chrome while browsing the source
tree? This is special effect somewhere in bundle_github.js (look for CSS
class js-slide-to).
1. You can download that JS file and look into it for concrete working
example.
2. With Prototype you can set global event
Prettyphoto is based on jQuery, so you need to read about
jQuery.noConflict(). But there in internet is a couple of another lightboxes
based on Prototype (you can search at http://scripteka.com/), maybe they
will fit your needs.
--
You received this message because you are subscribed to the
At least the possibility to fix documentation typos and wrong code samples
will be the great leap forward. Many of the tickets at
https://prototype.lighthouseapp.com/projects/42103-prototype-documentation/tickets
are more than 6 months old.
--
You received this message because you are
Maybe
window.scrollBy(0, 0);
can help?
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To view this discussion on the web visit
https://groups.google.com/d/msg/prototype-scriptaculous/-/rmxmr8wZ_asJ.
To post to this group, send
Check e.keyCode. For numbers it should be in range 48...57, for letters
a...z in range 97...122 (for Shift-a..z also 97...122, so you need extra
check for Shift key). Other way is to use onkeypress event - it will have
proper codes for a...z and A...Z, but is more browser-specific even with
The order of observers is not guaranteed. IRL, IE6-8 use LIFO, other
browsers use FIFO order to call observers.
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To view this discussion on the web visit
){
return false;
});
Why introduce jQuery into it?
document.observe('contextmenu', Event.stop);
--
T.J. Crowder
Independent Software Consultant
tj / crowder software / comwww.crowdersoftware.com
On Jun 8, 3:16 am, Victor S victor.s...@gmail.com wrote:
In any event...
// disable
I find it interesting to surf the web on iPad which does not have a
right click context menu... And I've been thinking about the iPad and
other touch interfaces and the way they handle interaction on
screen... Mimmicking that touch interface with the mouse seems
tempting and the disabling of right
it varies amongst browsers. :-)
[1]http://www.w3.org/TR/html5/webappapis.html#handler-oncontextmenu
--
T.J. Crowder
Independent Software Consultant
tj / crowder software / comwww.crowdersoftware.com
On Jun 7, 2:33 pm, ankit jain ankit.i...@gmail.com wrote: Thanks Victor i
agree.
Actually
101 - 129 of 129 matches
Mail list logo