similar to: onCreate not getting triggered.

Displaying 20 results from an estimated 300 matches similar to: "onCreate not getting triggered."

2005 Dec 21
1
RE: Prototype: correct useage of onComplete withAjax.PeriodicalUpdater
>From a quick look at the source code, it looks like onComplete is only called when the whole thing is done - in the case of Updater, right after the update, in the case of PeriodicalUpdater, right after it has been stopped. It looks like you need to pass your callback method as an ''insertion'' method in the options. This takes two parameters, the first will probably be the
2005 Dec 29
2
Ajax.Request: onLoading executed after onComplete in IE
Hi, i''m trying to use a visual indicator for my Ajax requests. It''s based on the shopping cart demo at script.aculo.us and works great in Firefox, Konqueror and Opera, but fails in IE6. For some reason (timing problems?) onComplete is executed before onLoading, so the indicator is shown but not hidden when the request has finished. Oddly enough it works fine in the shopping
2006 Apr 07
6
ajax loading message
Hello, I''m looking for some help - I''m having problems in getting the loading message to disappear - sometimes it disappears, sometimes it doesn''t. This is the javascript I have: ajaxContent: function(iTabPos) { if (isNaN(iTabPos)) return false; var iTabIndex = this._posToIndex(iTabPos);
2006 Jun 26
2
Prototype Ajax event handlers
I''ve been trying to use the prototype.js Ajax obect''s event handlers (onCreate, onComplete) inside the options tags as below: function updateCalendar(today, id){ new Ajax.Updater("calendars", "calendar.inc.php", {asynchronous: true, onCreate: function(){ showBusy }, onComplete: function(){ hideBusy }, method: "get",
2005 Dec 21
1
RE: Prototype: correct useage of onCompletewithAjax.PeriodicalUpdater
The only call that PeriodicalUpdater will make periodically to you is the insertion call. I think of onComplete as being ''I''ve done everything I was going to do'', which for Updater is right after it''s done a single update, but for PeriodicalUpdater, it''s after it''s finished all of its updates, so you''ll only get it once for any call
2006 Jun 15
8
Loading CSS for AJAX apps.
I am working on an update to my content management system and I am using a lot of AJAX to load in the different "Modules" I want each module to be self contained, including all its specific js and CSS. Does any one know of a good solution for loading in new CSS to go with the code loaded in via the AJAX call? Thanks.
2005 Sep 20
5
scriptaculous setting options - Speed
How do you set the options for an effect, I have multiple effects on a page, some are small boxes but others are larger, I want to be able to set the speed of each effect individually. so the question is how do I have 2 effect.BlindUp objects on one page with different speeds? Thanks. ______________________________________________________________________ Alex Duffield . Principal .
2006 Jan 31
5
resizing multiple images using getElementsByClassName
I am building a iPhoto like (Read rip-off) interface for thumbnails and I am having a couple problems that I thought some one on the list might be able to assist me on ... first off here is the page: http://v4.incontrolsolutions.com/galltest/ I am no Javascript whizz and I am sure there is a FAR more efficient way to do what I am trying. Having said that, the 2 things I was looking for
2006 Feb 17
4
RE: Ajax.Updater and loading new javascriptfunctions.
<p align=\"left\"><b><font face=\"Arial\" size=\"2\">GFI MailSecurity''s HTML threat engine found HTML scripts in this email and has disabled them.</font></b></p>Also... with the evalScripts method, try assigning your functions differently so they stay in memory (assign them as variables)... myalert = function(txt) {
2006 Jan 16
2
Behaviour.js and prototype Event.pointerX
is there a way to take advantage of prototypes Event.pointerX when using Behaviour to manage my events? somthing like.. var myrules = { ''body'' : function(el){ el.onclick = function(){ alert(Event.pointerX(e)); } } }; thanks ______________________________________________________________________ Alex Duffield . Principal . InControl Solutions . http://
2006 Feb 17
6
Ajax.Updater and loading new javascript functions.
I working on rebuilding my CMS software using AJAX, and have run into a couple problems I cant seem to find the solution to. I am loading up a new component of my system using the Ajax.Updater, and it loads up the HTML fine but as the component I am loading up is fairly complicated I want to load up its relevant javascript functions as well at the same time. I am using the
2006 Jan 20
2
Effect.moveTo??
I cant seem to find an effect to move an element to a given XY position new Effect.Move(''elid'',{x:10, y:10}); Will move the element 10px down and 10px to the right, but I want to move my element to 10px from the top left corner of the page. I know I could find the current position, and do the math to find out how far to move it, but is there already a built in function in
2005 Oct 10
2
Scriptaculous - chaining effects.
I have an element where I do a BlindDown on mouse over and a BlindUp on mouse out... The problem I am seeing is if I take my mouse off befor the first blind down is all the way down, the blind flickers and it is competing at lowering and raising the blind simultaneously. I assume (hoping) there is some way to ether : 1) Have blind up wait till blind down is finished befor going back up
2005 Oct 11
2
Effect.BlindDown height clipping bug
There seems to be a bug with the queueing of the BlindDown effect. I have built a test page that highlights the problem here. http://dev.lunny.com/test/blindclipping.php When using queueing with a BlindUP/BlindDown combination, the BlindDown gets its height of the final state from the current height of the element when the effect is called. This causes the finish height of the blind down
2006 Feb 14
5
Yahoo! User Interface Libraries
Yahoo! recently unveiled their UI Libraries which appear to provide a lot of the functionality that script.aculo.us and prototype does. I''ve tried some of the demos and the effects run quite smooth/fast. Could be an opportunity for us to adapt some ideas/approaches to improve. http://developer.yahoo.net/yui/
2005 Sep 21
8
Slider controls
Heya! Thanks to Marty Haught, script.aculo.us (as of changeset 2281) now sports a new Control for horizontal and vertical sliders. See the functional test file (test/functional/slider_test.html) for information on how to use it. Basically, you do: <div id="track1" style="width:200px;background-color:#aaa;height:5px;"> <div id="handle1"
2004 Apr 22
2
Interfacing with an existing phone system
We want to use asterisk to extend our current phone system. It is a regular plain old system. Has anyone done this before? We would be adding about 4 SIP (probably Cisco) phones to use with asterisk. What kind of card will I need to use for this, FXS or FXO. Also does anyone have any ideas what the best way to go about this is, should I just forward existing lines to specific phones (just to save
2005 Jan 08
4
Best gateway to use for *?
Hi All I am working on setting up a * system to replace our current voicemail box. I may also end up using it for a few Voip calls. Anyway, I have heard some people complaining about the new Digium Fxo cards and having problems with them. I do not yet have the computer so if certain issues are caused by other hardware I could work around them. Does anyone trust these cards enough to use them?
2005 Dec 19
4
Observing Ajax Requests?
Is it possible using scriptaculous/prototype to watch out for any happening Ajax activity, and do something like show/hide a spinner gif to indicate to the user that there is activity taking place in the backgound? Regards, Michael ------------------------------------------ Michael Roper - Web Developer WORLDWIDE ONLINE PRINTING AUST/NZ [T 08 9350 2300] [F 08 9451 6048] [E
2006 Jan 18
1
Dragable without the fade
How do I disable the fade or ghosting effect on my dragable?? I want it 100% opacity on drag. Thanks. ______________________________________________________________________ Alex Duffield . Principal . InControl Solutions . http:// www.incontrolsolutions.com _______________________________________________ Rails-spinoffs mailing list