similar to: Question about $F()

Displaying 20 results from an estimated 4000 matches similar to: "Question about $F()"

2006 Jan 20
2
FireFox JavaScript Console
The new version of Firefox displays a bunch of CSS errors for things that I am forced to use to make IE Windows work... Does any one know a way to get the Javascript Console to only show actual Javascript errors, disabling the CSS errors??? Oh ya, im on OSX. Thanks. ______________________________________________________________________ Alex Duffield . Principal . InControl Solutions .
2006 Feb 17
1
window.onresize event using Behaviour.js ?
Does any one know how to register a window.onresize event using Behaviour.js I tryed var myrules = { ''window'' : function(el){ el.onresize = function(){ alert("Window Resized") } }, } Behaviour.register(myrules); but no love. Thanks. ______________________________________________________________________ Alex Duffield . Principal . InControl Solutions .
2006 May 25
7
prototype-ish subclassing
when using prototype and Class.create(), what''s the preferred method of creating a subclass? say I have a real simple class: var Testing = Class.create(); Object.extend(Testing.prototype, { initialize: function() { ... }, ... }); would I subclass it as so? var SubClass = Class.create(); Object.extend(Object.extend(SubCLass.prototype, Testing.prototype), { ...
2006 Jun 29
3
dynamic generation of iframes and writing to them
Hello Everyone, I would like to get some suggestions on a problem I am trying to address. - I send a request to a 3rd party server (for ads) and a response is received from them. - Currently, I display it inline on the page and things work fine but page loading is slow and the 3rd party response can mess up styles, js on my page. - So, I want to capture this response and dynamically generate
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.
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://
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 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 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
2006 Jun 16
3
onCreate not getting triggered.
I am trying to get a loader to display during ajax requests, but the "onCreate" is not getting triggered. The onComplete does. function loadComponent(section){ values = arguments[1] pars = $H(values).toQueryString() pars = "section="+section+"&"+pars var url = ''/internal/ajax/requests.php''; var ComponentLoader = new
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/
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
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 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 Feb 18
10
Updated: window dialog script
Dialog script has been update. A demo can be seen here: http://net4visions.com/dev/dialog/dialog.htm . Please see changelog for changes. The dialog script can be downloaded from here: http://www.net4visions.com/dev/downloads/dialog.zip . _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Apr 24
5
merging one array into another
Is there no better way to merge one array into another than iterating over the array you wish to append with each() and push()ing the elements on to the other array? Here''s what I mean: var arr1 = [1, 2, 3, 4, 5]; var arr2 = [''a'', ''b'', ''c'']; $A(arr2).each(function(el) { arr1.push(el) }); Is there no better way to do it than this?
2006 Jun 14
5
generic onDragStart onDrag and onDragFinish events extracted from scriptaculous?
Hi folks. I''m working on a project where I need some drag and drop, but I need to implement what happens in a very different way, so I''m creating my own class for it. I don''t want to reinvent the wheel and redo Thomas'' excellent drag/drop functionality, nor do I want to copy/paste his code over into mine. So, I was wondering, has anyone tried to extract
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
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"
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