Nobody has problem like that?
Select method in your codes can run well in Firefox 3.5
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype
Does it work with the latest stable release?
On Jul 29, 8:49 am, evrim wrote:
> Nobody has problem like that?
> Select method in your codes can run well in Firefox 3.5
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Nobody?
Seems to be a complicated problem.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubsc
Must be that you're using (dot) or (colon) in your ids.
This has been fixed, but not yet released. You can manually change in
prototype.js line:3338 to match
id = id.replace(/([\.:])/g, "\\$1"); // NOTE the $1 instead of $0
This fix will be a part of next release as it is in the trunk [1]
[1]
Hi,
That version seems okay, except it parses the number twice (first for
isNaN, then again in parseFloat). There's also no need to check for a
blank string, '' can't be converted to a number and so parsing it will
result in NaN. Also, parseFloat defaults to base 10, so no need for
that param (
Hi,
while testing my prototype scripts on Mobile Safari I have seen, that
they might need extra attention in my code ;)
E.g. I have a menu bar that is only visible when I move the mouse.
There is no mouse (movement) on a touch screen device, so I need to do
some adjustments.
Are there any best
I have done that change but still there is an error then,
I changed line 3339 (e = "#" + id + " " + e;) to
if (id != 0)
e = "#" + id + " " + e;
Now it seems working
On Jul 29, 12:00 pm, Mona Remlawi wrote:
> Must be that you're using (dot) or (colon) in your ids.
> Th
No it doesnt work last stable version so that I get RC3 but not work
in it neither
On Jul 29, 11:54 am, webbear1000 wrote:
> Does it work with the latest stable release?
>
> On Jul 29, 8:49 am, evrim wrote:
>
> > Nobody has problem like that?
> > Select method in your codes can run well in Fire
Morning guys/gals.
I have some weird behaviour regarding Event.stop();
$$('.quickdetails').invoke('observe','click',function(event) {
var this_href=$(this).readAttribute('href');
var element=this;
var arr=this_href.split("/");
if(
I should add
the bottom Event.stop(event); after the ajax request is not an option as i
dont want it stopped there incase somethign went wrong in the request - i
would like the click to follow the href and work as normal.
Alex Mcauley
http://www.thevacancymarket.com
- Original
this change fixed only elements whose id = 0 so the new change fixed
it well
//e = "#" + id + " " + e;
I closed this row
On Jul 29, 1:19 pm, evrim wrote:
> I have done that change but still there is an error then,
> I changed line 3339 (e = "#" + id + " " + e;) to
> if (id != 0)
>
Jeztah wrote:
> Morning guys/gals.
>
> I have some weird behaviour regarding Event.stop();
>
> $$('.quickdetails').invoke('observe','click',function(event) {
>
>
> var this_href=$(this).readAttribute('href');
> var element=this;
> var arr=this_href.spl
Found an easier way
Added "asyncronous: false," to the ajax options!!
Thanks for input
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Daniel Rubin"
To:
Sent: Wednesday, July 29, 2009 12:33 PM
Subject: [Proto-Scripty] Re: Event.stop(event);
>
> Jeztah
> Found an easier way
>
> Added "asyncronous: false," to the ajax options!!
That's no longer ajax, then. ;)
The way to handle this issue is to:
1. stop the event immediately.
2. in case of an ajax failure, just change window.location to $
(this).readAttribute('href');
Also, you should cons
that has a space in it no ?
ID's are not allowed spaces
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "evrim"
To: "Prototype & script.aculo.us"
Sent: Wednesday, July 29, 2009 12:29 PM
Subject: [Proto-Scripty] Re: Firefox v3.5
this change fixed only element
easier to leave it as it is (working) than add more lines of code.
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Tobie Langel"
To: "Prototype & script.aculo.us"
Sent: Wednesday, July 29, 2009 1:45 PM
Subject: [Proto-Scripty] Re: Event.stop(event);
>
>> Found
No there is not a space in ID e is expression like "div."
and the code adds in front of it "# " after that the expression
is
"# div." and the expression does not work in this form
on "$A(root.querySelectorAll(e)).map(Element.extend);" .
but after commented this line code work well.
On Jul 29, 3:4
Misread sorry
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "evrim"
To: "Prototype & script.aculo.us"
Sent: Wednesday, July 29, 2009 1:59 PM
Subject: [Proto-Scripty] Re: Firefox v3.5
No there is not a space in ID e is expression like "div."
and the code adds
For the sake of argument: http://gist.github.com/158165
Turning the async option to false completely defeats the purpose and
has tons of usability issues.
I'd advise you to have a look at the linked code, research the methods
name you don't know in the Prototype API and try to understand what it
Thanks for the advice
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Tobie Langel"
To: "Prototype & script.aculo.us"
Sent: Wednesday, July 29, 2009 2:28 PM
Subject: [Proto-Scripty] Re: Event.stop(event);
>
> For the sake of argument: http://gist.github.com/1
Did some digging into the tinymce for radiant extension I was using
and found the problem. In tiny_mce_settings.js there was a call to
getElementsByClassName('asset','assets') that was triggering the
Enumerable error. I changed the function to $$('asset','assets')
Thanks!
On Jul 28, 1:01 pm, "Al
On Jul 28, 5:06 pm, ferion wrote:
> Hello everybody,
>
> another day - another problem :)
>
> Due to the design of my project it is nessesary to manipulate the DOM-
> Structure of the ghost created by the new Draggable function
> "ghosting:true"
>
> like in
> this.Dragger = new Draggable($(this
On Tuesday 28 July 2009 03:09:32 pm DJ Mangus wrote:
> document.observe("dom:loaded", function() {
> // initially hide all containers for tab content
> $$('div.tabcontent').invoke('hide');
> });
>
> Note: you can of course do anything you want in that function. The
> function runs when everyt
OK, I'll explain this code, hopefully it's what you want.
Observe is a prototype method to set event callbacks. So,
document.observe sets an event callback on the document. It takes two
arguments, the event name and a function (either name or literal as is
used in the example). We are setting
Olla,
all praises to Mr Fine :)
You pointed me in the right direction. I found a workaround, which is
fishy but works in IE7+8 and FF2+3
function getGhost(objectId)
{
var helper = $(objectId); // Das ist das Orginal
helper.setAttribute("id","isGhosted");
var ghost = $(ob
On Jul 29, 4:12 pm, ferion wrote:
> Olla,
>
> all praises to Mr Fine :)
> You pointed me in the right direction. I found a workaround, which is
> fishy but works in IE7+8 and FF2+3
>
> function getGhost(objectId)
> {
> var helper = $(objectId); // Das ist das Orginal
> helper.se
I am trying to send postBody data through an Ajax.Request - The data
contains html tags, and I am wondering what the best way to encode /
decode the data so that I can make sure that the data is saved
properly.
Thanks
--~--~-~--~~~---~--~~
You received this messag
Hi,
HTML doesn't matter in POSTs, HTML is a browser concept. POSTs are an
HTTP concept, which is a different layer and doesn't care about HTML.
POST data is URL-encoded (certain characters -- like percent signes --
turned into hex escapes, that sort of thing).
Prototype can handle it for you.
Colin,
I was just thinking about your statement:
"(OTOH I wish that browsers and libraries would object to a very common
instance of invalid HTML: duplicate id's)" And how much I agree. This is the
result...
(function () {
var _domIdentities = function () {};
_domIdentities.prototype = {
I am experiencing the same thing
On Jul 1, 7:28 pm, Seppo wrote:
> Hi,
> Anyone else having prototype 1.6.1 (RC2 & RC3) to not finish loading
> on Safari 4 (4.0.1)?
>
> Safari's Activity window shows extra "about:blank" page about to be
> loaded causing page not to finish the loading. Previous v
something like this: http://digitalbush.com/projects/masked-input-plugin
On 24 jul, 06:48, Richard Quadling wrote:
> 2009/7/23 Matt Foster :
>
>
>
> > You must further define your idea of "masked input"
>
> >http://www.google.com/search?q=define%3A+masked+input&ie=utf-8&oe=utf...
>
> > On Jul 23
why not just port the jquery one... wont take long !
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Celso"
To: "Prototype & script.aculo.us"
Sent: Wednesday, July 29, 2009 10:22 PM
Subject: [Proto-Scripty] Re: Masked Input in Prototype
something like this: h
That's fixed in source code.
Best,
Tobie
On Jul 29, 10:00 pm, Jason wrote:
> I am experiencing the same thing
>
> On Jul 1, 7:28 pm, Seppo wrote:
>
>
>
> > Hi,
> > Anyone else having prototype 1.6.1 (RC2 & RC3) to not finish loading
> > on Safari 4 (4.0.1)?
>
> > Safari's Activity window show
I have a simple question, is $F() cannot get radio button values?
Should I use the old method document.form.xxx[0].checked to check the
value???
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.ac
On Wednesday 29 July 2009 10:51:52 am DJ Mangus wrote:
> OK, I'll explain this code, hopefully it's what you want.
>
> Observe is a prototype method to set event callbacks. So,
> document.observe sets an event callback on the document. It takes two
> arguments, the event name and a function (eit
>
>
> document.observe("dom:loaded",
>
> function ShowEffect(){
> new Effect.Appear(Show,
> {duration:3});
> }
>
>
>
>
>
>
> alt="" />
>
>
>
> --
Quite a few errors there, first off you are naming the function, you
cannot do that if you are using a function literal. S
I found a solution in the following link
but is that means $F is only for textbox?
http://proto-scripty.wikidot.com/prototype:tip-fetching-radio-button-value
Element.addMethods('form',{
getCheckedRadioValue: function (formElement, name) {
formElement = $(formElement);
var checkedE
37 matches
Mail list logo