I have found an issue with the autocompleter in IE7 where the first
issued requests doesn't appear in the drop down box while the second
and subsequent requests do. The first request does successfully issue
the ajax request and gets a response, it just isn't displayed.
This works fine in FF
Hello
I have the following code which works fine and runs the php script to
send data to a mysql database.
new Ajax.Updater(
'updateDiv',
'sendSpaResults.php',
{
asynchronous:true,
method:'post',
parameters: params
}
);
with 2 requests
- Original Message -
From: geoffcox [EMAIL PROTECTED]
To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com
Sent: Wednesday, November 05, 2008 10:16 AM
Subject: [Proto-Scripty] can I run 2 scripts?
Hello
I have the following code which works fine
can you re-post your full sourcecode for the funciton and the elements that
it produces and the elements you want to observe .. i will edit it for you
and put in some debugging for you
Regards
Alex Mcauley
- Original Message -
From: James Hoddinott [EMAIL PROTECTED]
To:
2008/11/5 Alex Mcauley [EMAIL PROTECTED]:
can you re-post your full sourcecode for the funciton and the elements that
it produces and the elements you want to observe .. i will edit it for you
and put in some debugging for you
So the javascript function (with your slight change) is:
Hi again,
still have this problem.
I looked into the slider.js and found in the slider object an explicit
width definition on initialize. This definition is absolute. So a
slider will not change on resize in a div with percentual width.
There should be a size update method, which is called on
2008/11/5 Alex Mcauley [EMAIL PROTECTED]:
I've made some comments and put in some debugging ... you should get an
alert when you click an li now .. with the id ..
So the function now looks like:
Event.observe(window,'load',function() {
var req = new
I've made some comments and put in some debugging ... you should get an
alert when you click an li now .. with the id ..
I've commented where the `this` scope changes for you .. to help you
understand whats being done
I've also removed some unnessesary vars ..
Also its good practise (i
On Nov 5, 11:03 am, Alex Mcauley [EMAIL PROTECTED]
wrote:
with 2 requests
OK -Thanks.
Cheers
Geoff
- Original Message -
From: geoffcox [EMAIL PROTECTED]
To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com
Sent: Wednesday, November 05, 2008 10:16 AM
2008/11/4 Alex Mcauley [EMAIL PROTECTED]:
you are resetting evt on the invoke ...
try
onSuccess:function(e) {
$$('li.clickinc').invoke('observe','click',function(evt) {
`e` bing the object to get the responseText from and `evt` being the
element that was clicked
OK, thanks
does firebug report any error at all ...
you could also try to evalJs in the options and put the invoke inside the
serverside script to see if its being fired there or not
- Original Message -
From: James Hoddinott [EMAIL PROTECTED]
To: prototype-scriptaculous@googlegroups.com
Sent:
What do you wanna say by while my JavaScript is running, the mouse
cursor changes evertime ???
When, why, in which way ?
On 3 nov, 17:24, Fernando [EMAIL PROTECTED] wrote:
Hi everybody,
I got a strange situation: in IE6, while my JavaScript is running, the
mouse cursor changes evertime,
2008/11/5 Alex Mcauley [EMAIL PROTECTED]:
does firebug report any error at all ...
Not a thing.
you could also try to evalJs in the options and put the invoke inside the
serverside script to see if its being fired there or not
Yes I tried this but still no joy. By adding an alert() to the
I'm not sure if this is exactly relevant to what your problem is
here, but in cases where I want to have access to current values
while running a periodical update, I've had to resort to using
PeriodicalExecuter and a separate function rather than the magical
Ajax.PeriodicalUpdater. It
another thought is that onSuccess isnt being fired ...
Try to onSuccess: function(evt) {
alert(evt.responseText); and see if it reposnds with some html or whatever
your php script is echoing
})
- Original Message -
From: Walter Lee Davis [EMAIL PROTECTED]
To:
2008/11/5 Alex Mcauley [EMAIL PROTECTED]:
another thought is that onSuccess isnt being fired ...
Try to onSuccess: function(evt) {
alert(evt.responseText); and see if it reposnds with some html or whatever
your php script is echoing
I tried that one :)
By adding an alert() to the
have you tried onComplete()
- Original Message -
From: James Hoddinott [EMAIL PROTECTED]
To: prototype-scriptaculous@googlegroups.com
Sent: Wednesday, November 05, 2008 4:51 PM
Subject: [Proto-Scripty] Re: In a bind...
2008/11/5 Alex Mcauley [EMAIL PROTECTED]:
another thought is
or the way to do it is to evalJS in the Request and put the javascript in
the reposnse
- Original Message -
From: James Hoddinott [EMAIL PROTECTED]
To: prototype-scriptaculous@googlegroups.com
Sent: Wednesday, November 05, 2008 4:51 PM
Subject: [Proto-Scripty] Re: In a bind...
On Nov 4, 11:37 am, James Hoddinott [EMAIL PROTECTED] wrote:
So I'm not entirely sure if this is a bind issue, a defer issue or
something else that I'm unaware of.
The scenario is this; the page loads, when this is done an
Ajax.PeriodicalUpdater call is made to load the 'dticketlist' with a
well spotted Kangax !! i didnt even see that
- Original Message -
From: kangax [EMAIL PROTECTED]
To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com
Sent: Wednesday, November 05, 2008 8:35 PM
Subject: [Proto-Scripty] Re: In a bind...
On Nov 4, 11:37 am, James
I found an old blog entry that uses Prototype script.aculo.us to
create a drag-drop portal style interface.
http://aymanh.com/drag-drop-portal-interface-with-scriptaculous
It's got a couple of bugs that are noted but the author is no longer
interested in developing it further. I think if the
Hi,
I have a div which is draggable:
---8--
div id=mydiva href=http://example.com;Drag me!/a/div
script
new Draggable('mydiv');
/script
---8--
The problem is when the user drags the link.
When the mouse button is released, the link is followed
Hello group,
I'm trying to accomplish a behaviour where multiple draggables cannot
overlap, i.e. you can drag them around freely, but they snap to each
other's borders so that you cannot place one draggable over another.
I've come close to a solution, but it's only 95% what I'd like to have
and
novastorm, Did you eve find/create a solid solution for this issue? if
so, can you explain what you did? Or better yet, share the full code.
I would like to see how you handled this. And i am sure other people
would as well.
Thanks.
--~--~-~--~~~---~--~~
You
On Nov 5, 2:58 am, jak0lantash [EMAIL PROTECTED] wrote:
Hi everybody.
I have some difficulties with bindAsEventListener. I'm working on a
little module system (like in netvibes, but simpler).
In the page, there are two div, kind of module, one on top, one on
bottom. With a button, I
Hello, I'm applying this function to some div elements:
function gm_appear(div) {
new Effect.Parallel(
[
new Effect.SlideDown(div, { sync: true }),
new Effect.Appear(div, { from:0.0, to: 1.0, sync: true })
],
{duration: 4}
);
}
The
26 matches
Mail list logo