On Mon, Sep 8, 2008 at 6:06 PM, Jack D <[EMAIL PROTECTED]> wrote:
> This problem exist only with IE. It always shows 1 space.
I didn't realize it was just an IE thing. I'm sorry I can't help right
now because I don't have IE.
I might be able to look into it a bit more tomorrow.
-justin
--
Sorry for the thread reincarnation, but I had a client wanting similar
recently. While it works perfectly, it gets incredibly choppy when
doing any major animation, especially those that include movement of
multiple elements. Also, there can be bugs when dragging, and you'll
eant to seriously comp
Hi,
I also observed that the spaces appear properly in Forefox browser
although while scrolling through the list of names, it does not show the
spaces. But when you make the selection, the text box shows the actual
spaces in the text.
This problem exist only with IE. It always shows 1 sp
Hi Justine,
Sorry, I hit an enter immidiately before completing my email... I did
get the in the result
as shown below:
company space (ECU)
However, I couldn't see space anywhere even within a scrollable list
Can you tell me where exaclty I need to replace the tags if possible?
Hi Justin,
I replaced the space with & printed the response & I can see the
result as shown below:
company space (ECU)
Since it is getting converted to space, it still appears as 1 space. Can
you attache the sample & send it to me ([EMAIL PROTECTED])?
Thanks!
On Mo
On Mon, Sep 8, 2008 at 4:42 PM, Jack D <[EMAIL PROTECTED]> wrote:
> When I type the name in the text box, the values get dispalyed from
> database. However, it doesn't show the space even there while I'm looking at
> the data & scrolling down the results!!
I don't think you are adding the b
Hi Justin,
Thanks for your reply!
When I type the name in the text box, the values get dispalyed from
database. However, it doesn't show the space even there while I'm looking at
the data & scrolling down the results!!
I know it is happening due to the html behaviour. In that case, t
Why don't you just observe the 'change' event on the select? Works in
all browsers, and is the standard method for observing select boxes.
One tip, where you do:
>var someNodeList =
> $('game_types').getElementsByTagName('option');
>var nodes = $A(someNodeList);
On Mon, Sep 8, 2008 at 3:35 PM, Alexey Bass <[EMAIL PROTECTED]> wrote:
> What I'm asking is that why this is not documented on Prototype site.
Maybe it should be mentioned, but really Element#update is just using
innerHTML to update the contents of a node, and since innerHTML cannot
be used to up
If the server-side code returns something like:
foobar
helloworld
Then these spaces will absolutely be preserved in the list that the
Autocompleter returns. Once that value shows up in your input box, the
non-breaking spaces will be just normal spaces. If you save that data
and the
Ok, back at work... long weekend.
So thanks to Matt and elduderino for their replies.
I ended up using Matt's sugestion simply becuase it was easy to
understand. I was able to use a few parts of elduderino's to get the
id.
I'll be digging into elduderino's solution more later to gain a better
u
Heya, folks -
I'm trying to create a SELECT menu with option values that clear other
items when clicked on. (Essentially, these are categories and
subcategories.) This is the code I'm using:
var EventMenuMaster = Class.create();
EventMenuMaster.prototype = {
initialize: function() {
Thanks, silver.
But that exactly that I've understood.
What I'm asking is that why this is not documented on Prototype site.
On Sep 3, 3:54 pm, sliver <[EMAIL PROTECTED]> wrote:
> Element.update() is designed for updating DOM elements (A, DIV, SPAN,
> etc), not specifically FORM elements (INPUT,
Hi,
I even tried replacing the spaces with but it didn't work. It
still returns me by stripping all spaces & keeping it only 1 space. Now I
can confirm that this is a bug.
Gurus, can anyone help how to fix this bug?
Thanks in Advance!!
On Mon, Sep 8, 2008 at 11:49 AM, Jack D <[EMAIL
On Sep 8, 3:13 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I place a comment on the bug trtacker to point Kangax solution. It is
> indeed simple and effective.
>
> http://prototype.lighthouseapp.com/projects/8886-prototype/tickets/24...
While it's simple and effective, the problem is ina
every event handler gets the event that calls it as an argument. for
example,
function handler(event) {
do something;
}
element.observe('click', handler);
whenever you click that element, your handler will have an Event
object, named event in this case. The Event object has a number of
properti
thanks, i fixed it - it turned out to be a z-index issue.
the image, even though it is in the div, is not being read as part of
the div - so when it's completely opaque, the image overrides the
div's onmouseover call. as soon as opacity goes down, it calls
again.
i fixed it by creating another
I place a comment on the bug trtacker to point Kangax solution. It is
indeed simple and effective.
http://prototype.lighthouseapp.com/projects/8886-prototype/tickets/244-element-adjacent-can-select-siblings-childnodes-and-shouldn-t#ticket-244-4
On 8 sep, 14:45, jdalton <[EMAIL PROTECTED]> wrote:
thanks, i fixed it - it turned out to be a z-index issue.
the image, even though it is in the div, is not being read as part of
the div - so when it's completely opaque, the image overrides the
div's onmouseover call. as soon as opacity goes down, it calls
again.
i fixed it by creating another
Ok good! :-)
I am going to create a new ticket.
-Larry
On Sep 8, 2:41 pm, jdalton <[EMAIL PROTECTED]> wrote:
> Wow nice find :) !!
> You should report this bug
> via:http://prototype.lighthouseapp.com/projects/8887-script-aculo-us/tick...
>
> - JDD
--~--~-~--~~~---
Hi bluezehn,
Thanks for your reply!!!
I know that it is a html behaviour. However, is there any other way
that I can compose these inputs in other format & not in tags, since
they are causing problems?
I mean instead of passing the data in , can I pass it without
or some other
@Kangax awesome use of the .match method check in grep !!!
--~--~-~--~~~---~--~~
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@googlegroup
Wow nice find :) !!
You should report this bug via:
http://prototype.lighthouseapp.com/projects/8887-script-aculo-us/tickets/new
- JDD
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" gro
Hi Bob,
With the way you're doing this, it is possible for the two effects to
be running concurrently.
If you mouse-out before the appear has completed, the fade will start
running. If you mouse back in while the fade it still running, the
appear will run. This can really mess things up.
Depend
i tried it like this, i tried it just using the id="leftArr" on the
image itself, but regardless of how i code it, i keep running into the
same issue -
when i am moused over the div (it's about 400x400, and the image is
about 60x60), everything works fine.
if i'm moused over the image itse
Hi kangax,
Thanks for your response. I went to the bug tracker and find the bug
here with a patch to fix it !
http://prototype.lighthouseapp.com/projects/8886/tickets/244-element-adjacent-can-select-siblings-childnodes-and-shouldn-t
Everything is under control :)
JP
On Sep 5, 3:39 pm, kangax <
As much as I love to use anonymous functions try using a prebound
function reference. Also by extracting the code to send the XHR from
the objects constructor you will allow more flexibility in the future.
var test = Class.create({
initialize : function(url, val){
this.val = v
This isn't a bug. This is standard html behaviour. Imagine you write a
paragraph like this:
This is
a paragraph.
To stop confusion between:
This is
a paragraph
And:
This is a paragraph
HTML will always invoke the latter. If you wanted the former, you
need:
This is
a paragraph
In you
Yes, undefined. Also, I forgot to mention the same form also works
fine in regular (desktop) Safari 3 with prototype 1.6. It looks like
its just Mobile Safari.
On Sep 8, 9:29 am, kangax <[EMAIL PROTECTED]> wrote:
> On Sep 8, 9:16 am, Dalan Hurst <[EMAIL PROTECTED]> wrote:
>
> > The error it produ
While Prototypejs.org is down you can use
http://globalmoxie.com/projects/prototype-pdf/index.shtml for offline
documentation.
- JDD
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group
Hi all,
I just wanted to inform you guys that I had an issue with some
sortable lists in IE6, and I found this fix for Script.aculo.us:
http://www.garyharan.com/index.php/2007/02/08/internet-explorer-bug-scriptaculous-drag-and-drop-goes-into-text-select-mode/
So far it seems to have corrected t
On Sep 8, 9:16 am, Dalan Hurst <[EMAIL PROTECTED]> wrote:
> The error it produces in Mobile Safari is that Mobile Safari doesn't
> think it returns an object. And, seeing that, it stops processing the
What does it return? undefined?
> script. The same script works fine everywhere else (FF, IE, O
The error it produces in Mobile Safari is that Mobile Safari doesn't
think it returns an object. And, seeing that, it stops processing the
script. The same script works fine everywhere else (FF, IE, Opera)
just not on an iPhone. The form consists of one input[type=text], one
select, and one textar
With further examination of the API I've found Ajax.Responders...
think this should work for what I want to do.
Apologies for the spamming.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us
Hi everyone,
First off thanks to all developers of prototype and script.aculo.us
for a fantastic framework, also to Andrew Dupont's book on the subject
which I just spent a weekend devouring! And thanks in advance for
anyone who can answer the following question!
I'm looking to always be able to
Hi,
It's a binding problem. Event handlers just call functions, not
methods (JavaScript doesn't *have* methods). When the event handler
calls the function, it doesn't define the "this" you're expecting.
Details here:
http://blog.niftysnippets.org/2008/04/you-must-remember-this.html
http://www.a
Hi everybody!
I have an information label on my google maps application and I would
like to allow people to drag this label onto three different positions
on the map (3 droppable areas). It all works fine but I don't like the
effect that revert does when I change the label from one droppable
area
I need to set more than one class for the accept param in the
droppables api. http://github.com/madrobby/scriptaculous/wikis/droppables
says you can 'Set accept to a string or an array of strings
describing CSS classes' but i've tried all sorts:
Droppables.add('droppable'+this.gameCount+ '_' +
Hey,
Thx for your help.
I had figured out a solution in the meantime.
I also have used a div around the ul and this solves the problem but
in my case I still had problems with the blinddown and blindup.
If i used the rewritten effects (http://prototype.lighthouseapp.com/
projects/8887/tickets/7-
Hi,
I'm a problem with this code.
var test = Class.create({
val:null,
initialize:function(val) {
//obligatoire pour fonctionner
this.val = val;
new Ajax.Request("f
40 matches
Mail list logo