I was wondering if anybody had come up against this. I'm trying out
something using DOM Storage (only for browsers that have the feature
such as FF, IE8, Safari 4) and noticed that the values coming out of
them aren't decorated with the String methods. The most useful one to
have is evalJSON
Hi,
I have a litle script which works well under FireFox and Opera but not
with IE.
this is it :
$('A_text').update(texte);
if (posX0) posX=0;
if (posY0) posY=0;
$('Ath').style.top=posX+px;
$('Ath').style.left=posY+'px';
$('A_text').show();
So I've got a sortable list. Now what I want to do is to have ability
to drop items on it.
Like: being able to drop other items from other lists.
Here's to create a sortable list: Sortable.create(tasksList,
{tag:li});
So how can I drop other elements into it?
Thanks, Yan
Dear all,
I have a problem in drag and drop in a code below. In two column
layout, when I want to sort between two li vertically then sorting
across the column occurs. for eg if I have the two column layout as -
12
34
Now if I move 2 to the lower row, I should get.
1 4
In any event, the expression -1 * x should always have the same
outcome as the expression -x and the latter would be one fewer
operations in ECMAScript terms (and even if the -1 is treated as a
negative numeric literal the unary negation operation should be faster
than the multiplication).
Hi,
I wouldn't call it a bug in Prototype. I'd be tempted to call it a
bug in the browser implementations but I'd have to get more into it.
The spec says these things are strings (specifically DOMStrings),
which I would expect a reasonable implementation to map to a
JavaScript string. But
(Spectacular series of typing errors there, resulting in a premature
send. Sorry.)
...they don't, as this sequence:
var s;
s = $('txtField').value
window.sessionStorage.data = s;
console.log('s.constructor == String? ' + (s.constructor ===
String));
*sigh* Not my morning. The *correct* code for the above:
var s;
s = $('txtField').value
window.sessionStorage.data = s;
console.log('s.constructor === String? ' + (s.constructor ===
String));
console.log('window.sessionStorage.data.constructor === String? '
+
On Apr 25, 3:37 pm, Ananth Raghuraman araghuram...@gmail.com wrote:
Thanks for pointing me to the native functions!
In the meantime I also found 1.8 has the Number object/function.
The Number constructor is a built-in ECMAScript function. When called
as a function, it does type conversion:
Does anyone have relevant links or know of relevant discussions
regarding this topic: prototypejs support in Chrome.
I don't mean to seem misleading if I have the topic not quite right, I
just know that my prototypejs code is not working in Chrome.
Thanks,
Karl..
Miguel,
I am having a similar problem and have spent many hours looking for an
answer.The answer I always get is: serve it as UTF-8, which requires
the program answering the AJAX call to do the conversion.
Unfortunately the system I am using does not allow me to do this and I
need to support
function barcodeFlyToSimLeft(){
new Effect.Move('barcodeLeft',{x: -350, y: 200, mode: 'relative'});
new Effect.Shrink('barcodeLeft',{direction: 'center', queue: 'end',
afterFinish: function(){Barcode('043396097742');}});
new Effect.Appear('barcodeLeft',{x: 0, y:0, duration:
12 matches
Mail list logo