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 proble
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,
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 recei
I have the weirdest problem and am looking for some pointers
troubleshooting it if you have a couple of minutes?
I'm adding prototype & prototip to an existing site.
Prototip (using Prototype) works absolutely fine under firefox 3.03;
behaviour is 100% as expected and firebug reports 0 errors.
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
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 bu
Hi,
I have a div which is draggable:
---8<--
http://example.com";>Drag me!
new Draggable('mydiv');
---8<--
The problem is when the user drags the link.
When the mouse button is released, the link is followed which is not
the expected behavior. :(
well spotted Kangax !! i didnt even see that
- Original Message -
From: "kangax" <[EMAIL PROTECTED]>
To: "Prototype & script.aculo.us"
Sent: Wednesday, November 05, 2008 8:35 PM
Subject: [Proto-Scripty] Re: In a bind...
>
> On Nov 4, 11:37 am, "James Hoddinott" <[EMAIL PROTECTED]> wrot
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'
I've added a script.aculo.us autocompleter to my website, which is
working nicely with one exception: the indicator (the graphic that's
supposed to show up while the AJAX request processes) is appearing at
times when it should not. For example, the following sequence
occrrus:
1) I enter somethin
mtm81 wrote:
> using the Ajax.Request method trying to eval scripts won't work. Works
> without issue in FF and safari (Win)
>
> Main page calls an AJAX.Update with evalscripts true. resulting
> content calls an AJAX.AutoComplete with afterUpdateElement function
>
> function calls the Ajax request
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:
Sent: Wednesday, November 05, 2008 4:51 PM
Subject: [Proto-Scripty] Re: In a bind...
>
> 2008/11/5 Alex Mcauley <[EMAIL PROTECTE
have you tried onComplete()
- Original Message -
From: "James Hoddinott" <[EMAIL PROTECTED]>
To:
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 that onSuccess isnt being fired ..
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
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:
Sent: Wednesday, Nov
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 isn
This is great advice. Let me add one more bit: run your page through
the W3C validator. If it passes, but the page doesn't work as
expected, then that's one thing you can cross off the list while
debugging. But if your page doesn't validate, then fixing whatever is
broken is a valuable fir
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 t
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 evertim
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:
Sent: Wednesday, November 05, 2008 2:46 PM
Su
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 now .. with the id ..
So the function now looks like:
Event.observe(window,'load',function() {
var req = new
Ajax.PeriodicalUpdater('dticketlist','
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"
> Sent: Wednesday, November 05, 2008 10:16 AM
> Subject: [Proto-Scripty] ca
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 Res
I've made some comments and put in some debugging ... you should get an
alert when you click an 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 recently
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:
Even
Thx TJ and Alex for the reply.
Your correct, everything need to be https linked and I believe it is,
within CSS, images, scripts and all other stuff.
When I remove the prototype.js script the error message disappear,
that's why I believe this is the source for the error.
My solution have been to
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:
Sent: Wedn
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
O
with 2 requests
- Original Message -
From: "geoffcox" <[EMAIL PROTECTED]>
To: "Prototype & script.aculo.us"
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 and runs the php script to
> se
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
}
);
using the Ajax.Request method trying to eval scripts won't work. Works
without issue in FF and safari (Win)
Main page calls an AJAX.Update with evalscripts true. resulting
content calls an AJAX.AutoComplete with afterUpdateElement function
function calls the Ajax request and resulting content ha
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 and
Hello!
I'm kind of new to scriptaculous (still learning how to pronounce
it;))
I don't know how to achieve loop efect on a Effect.move action.
It can be seen on : www.apaw.pl
I used Effect.move to move transaprent picture from right to left side
of the bigger picture. It works great. Now what I w
I know that Apple uses Prototype and script.aculo.us to create their
new “iTunes this week” banner at the bottom of their newly designed
start page. (http://www.apple.com/startpage)
Is there an easy way to re-create this? Or is there a demo/example of
this in action already done?
Thanks, any hel
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 switch the both div.
1) To switch, I use - and I think the problem i
35 matches
Mail list logo