similar to: Behaviour and scriptaculous

Displaying 20 results from an estimated 1000 matches similar to: "Behaviour and scriptaculous"

2005 Dec 05
1
Scriptaculous conflict with TinyMCE
I''m using TinyMCE[1], a popular javascript WYSIWYG html editor. The editor fails to work when I load Scriptaculous before it -- well depending on the browser. I can make my application load the javascript in a different order, but just in case it''s an issue in scriptaculous I thought I''d report. I have a few pages up -- I''d like to find out if anyone else
2006 Mar 08
4
Event.Observer - (was: Ajax.Autompleter not working on IE)
See if I can stir up a little life with a demo. I can''t believe that Ajax.Autocomplete doesn''t work on IE, so I *must* be doing something wrong. Trying to figure this out I added some alerts to control.js and it seems that IE is not getting the onkeypress events. So, here''s a demo: http://hank.org/demos/form.html That contains two fields with onkeypress events:
2006 Jan 23
1
autocomplete=off not working on Firefox
I noticed that the latest control.js disables auto complete: this.element.setAttribute(''autocomplete'',''off''); So I removed my inline "autocomplete=''off''" from my input fields. But Firefox still auto completes. Using the Firefox DOM Inspector I do see that it''s applied by Ajax.Autocompleter as expected. The Inspector
2006 Apr 03
5
Event.observe on IE
I''m working again on unloading events before making my ajax call. This code works on Firefox/Opera, but IE doesn''t seem to get the onclick events registered. Could someone with IE take a look? http://hank.org/demos/ajax3.html The js is included in that file. There''s alerts() to show when the events are registered. The idea of the code is to look for any
2006 Jan 18
6
Autocomplete related fields
I have a table that has city, state and postal code. I want to auto-fill the city and state when a postal code is entered. The city and postal code are simple text fields, but the state is a drop-down list with abbreviations as the value, and the full state name as the option text. I assume with Ajax.Updater I could just return the HTML for both the city and state fields -- including the entire
2005 Sep 17
0
scriptaculous effects
Hey there, I am new to this list and to Rails and Ajax in general. I stumbled across the scriptaculous library and was hoping some one could answer a couple of questions I have.. I am trying to combine effect.BlindUp and effect.BlindDown I am obviously missing something. I have 2 elements on my page. One is a "switch" and it has onMouseOver="new
2006 Aug 09
0
Scriptaculous blind up effect not working from innerhtml in IE? Help please.
I have some tables wrapped in divs, when you click them, they are hidden and then some of the data is added as a div into another div by way of innerhtml. When you you click on these new divs that are in the html, they should go away. This works fine in Firefox but doesn''t work at all in IE. Does anyone have any ideas? The weird thing is if I take the source of the html after the
2006 Mar 07
0
Ajax.Autompleter not working on IE
I have IE 6.0.2 on an old Win 98 machine (that sounds like a vacuum cleaner when running), but I''m developing with FireFox and on Mac and Linux where things seem to work fine. On IE my Ajax.Updater code and my scriptaculous effects are working fine, but my autocomplete fields are not. I assume I''m doing something wrong in setting up the field: I use this on my form: <input
2006 Jan 16
11
Preventing bubble
I''m trying to prevent double ajax requests when I have nested onclick handlers. I have a table with clickable column headings (for sorting by that column). I have onclick handlers on both the <th> and the <a> link so that clicking anywhere on the table heading should work. <th onclick="window.location.href=''http://foo?sort=foo'';">
2006 May 26
0
I can not get any scriptaculous effects to finish with items visible
I''m sorry I can''t seem to get any of the scriptaculous effects to work correctly. I''ve searched on the web forum but found nothing relevant. The only time I get an HTML element to fade or shrink gracefully is when I use them as inline handlers and feed them ''this'' instead of the HTML element id. But I can not get anything to appear. Things disappear but
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 Mar 31
7
Reset events after ajax update
Avoiding real work I decided to try and clean up my html and remove my inline onclick handlers for Ajax.Updater calls. Here''s the inline method I''ve been using: http://hank.org/demos/ajax-inline.html Now, here''s using <script> sections to apply the behavior. http://hank.org/demos/ajax.html (firefox only) Since the links (tabs) are inside the
2005 Dec 14
1
[scriptaculous] scroll down to show full auto completion list (w/ possible patch)
Hi everyone, lately I''ve implemented an auto completion textfield at the bottom of a form. I was a bit bothered by the fact that the user would potentially need to scroll down in order to see all the options offered by the auto completion. I couldn''t find any information on how to auto scroll to the auto completion list with bulit-in functionality so I modified controls.js
2005 Oct 16
1
blindup and blindup confusion
here''s a basic question. i have an h2 element and i want onmouseover to show a div using blinddown; i also expect onmouseout of the mentioned div (but not h2) to have effect blindup to get rid of the div. so i set up: <h2 id = "show" class="show">Show div</h2> <div id = "out" class = "out" style="display:none">some
2005 Nov 07
0
Firefox bug?
Just inquiring if this is a known Firefox bug or not: I have a page using BlindUp and BlindDown to open and close sections of content backed w/ an AJAX call. The sequence of events is this: 1. BlindUp one section 2. Ajax.Update to update a hidden section 3. onComplete callback does a BlindDown of hidden section Lets say we have a moderate length page that requires a scrollbar to be visible .
2006 Mar 28
0
Moving all items from one Scriptaculous box to another
I posted the following on news://comp.lang.javascript, and someone kindly replied suggesting I should try on this mailing list. (Please excuse very long lines - I carefully format line endings; but Microsoft Outlook, which I have to use at my client site, then takes it upon itself to rearrange and remove most of my linefeeds! :-< ) I am using Thomas Fuchs''s amazing drag-and-drop
2005 Jun 24
3
flashing divs in IE with use of BlindUp and BlindDown
I''m having an issue with flashing divs in IE (firefox is fine and the only other browser I''ve used) My scenario is as follows. I have 2 divs (initially hidden) and using the BlindDown and BlindUp functions (possibly others) the divs flash when starting to roll down in BlindDown (due to the Element.show call) and also at the end of the BlindUp call (due to the Element.hide call)
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 Mar 02
7
Timing of effects before and after Ajax call
Hello, I have a problem with the timing of effects. I do have a tag (with id: post1). When the link is clicked, the block "post1" must BlindUp. Then the block is updated with the new content and then the effect BlindDown is executed. Below is the source code of the link_to_remote I am using. <%= link_to_remote("Ajax Edit", :update =>
2006 Jun 23
2
Queue 3 or more RJS actions
My .rjs file page.visual_effect :BlindUp, "people", :queue => ''front'' #first action page.replace_html "people", :partial => ''person/person_compressed'', :collection => @search_results , :queue => ''end'' #second action, after first is done page.visual_effect :BlindDown, "people" , :queue =>