Displaying 20 results from an estimated 700 matches similar to: "using events..."
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 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 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 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 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 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 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
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 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 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
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
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"
2006 Mar 02
6
Question about $F()
Hi Guys,
Maybe this is a stupid question, but I am confused at the moment.
The $F() function is a handy shortcut to get the value of the an input field.
So, doing something like $F(''name'') is equivalent to document.formname.name.value which is pretty cool.
Now, what if I have 2 forms on the page, that same field name "name"?
What would $F return? It does not take
2005 Oct 10
2
sriptaculous - Size of files.
Is there any way to compress the js files??
Using Scriptaculous adds 124k to my page, plus another 40k for
prototype..
______________________________________________________________________
Alex Duffield . Principal . InControl Solutions . http://
www.incontrolsolutions.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
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 Jan 21
8
scriptaculous accordion feature - Jump?
Trying the accordion feature as offered at:
http://wiki.script.aculo.us/scriptaculous/show/accordion+feature
The objective is to remove the "jump" reported in the Rico accordion
feature. My demo of the scriptaculous feature, however has a noticeable jump
when tested if FireFox. and IE Win. See:
http://www.jimdavis.org/accord3.html
Have I implemented this incorrectly?
Jim
2006 Mar 22
1
event:selectors VS Behavior
This looks quite nice at first glance..
http://encytemedia.com/event-selectors/
I would love to hear some of your comments pro or con on how this
compares to Behavior.
______________________________________________________________________
Alex Duffield . Principal . InControl Solutions . http://
www.incontrolsolutions.com
_______________________________________________
Rails-spinoffs
2006 Jun 15
3
RE: Yahoo!-like Eventobjectemulation/abstractioninPrototype?
This is obviously rough draft and not thoroughly tested, but it seems to
work. If you''d like, give it a try (load it after you load
prototype.js):
Function.prototype.bindAsEventListener = function(object) {
var __method = this;
return function(event) {
return __method.call(object, new SuperEvent(event || window.event));
}
}
var SuperEvent = Class.create();
2006 Jun 16
11
Detecting Body Onload
I have a piece of code that "waits" for body onload. Every 30ms, it tests
$(''body'').
Seems that isn''t always good enough. I''ve hit situations where the DOM is
"partially" loaded somehow.
I fixed matters by setting a global flag...
<body onload="bodyLoaded=true;">
which provides a better test... of course I could