similar to: Which JavaScript effect is this?

Displaying 20 results from an estimated 3000 matches similar to: "Which JavaScript effect is this?"

2006 Jun 01
7
Active Record Basics - Making it commentable
hi everyone, I hope someone can help me out with some active record basics? I''ve been banging my head for the past 4 hours and I can''t seem to get it to work. I am trying to add comments to a caption (just like how one adds a comment to a post in a blog). I seem to be able to read posts just fine from the DB, however, I can''t use the "recordComment"
2006 Jun 16
5
Menu using Scriptaculous Effects = OnMouseOver bug
I am trying to achieve a Flash-like menu with OnMouseOver effects on 3 divs below. Unfortunately, the javascript resets when the mouse is rolled over the text and if you go mouse crazy on the divs, the script seems to remember where it cut off, and doesn''t roll down completely afterwards. Is it a good place to ask for help? I couldn''t find any Scriptaculous forum (only
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
2006 Jun 03
6
Calculating row COUNTs
hi everyone, I''m trying to do a simple calculation in my rails project. I would like to find all rows in a table that match the given id of another table (ie. comment_id) and has the value = 1 ("value" is a field in the table), then add those values up. Next find the same rows with the value = -1 and add those values up also. Finally, I would like to find the total.
2006 Jul 04
1
Quick question: Iterate through a collection - no duplicates
Hi, is there a simple way to iterate through collection and not include duplicates? Thanks in advance. Jordan -- Posted via http://www.ruby-forum.com/.
2006 Jun 17
1
Quick Question: Random item from array
Well I think this is a quick question. I would like to select a random item from an array. I''m thinking maybe I need to generate a random number from 0 to array length. Actually I''m not exactly sure how to do this since I can''t seem to find math.random/math.floor on ruby api? Knowing ruby, there is probably a much easier way to do what I am trying to do. Any
2005 Dec 18
2
Could someone host my 1mb rails app??
Hi Everyone, Would someone be able to do a huge favor for me and host a very small 1mb rails app for me?? I can''t get my hosting up and running yet and I really need it up and running by today for my professor to check it off. I only need it up for about two weeks. You will get a lot of karma points for it :) Thanks in advance!! Jordan -- Posted via http://www.ruby-forum.com/.
2006 Jan 18
4
Canada on Rails - Schedule Released
We are extremely pleased to announce that we have finalized the schedule (http://canadaonrails.com/yvr06-schedule.html) for the upcoming Ruby on Rails conference in Vancouver, BC on April 13th - 14th, 2006. There are 15 speakers packed into two full days of presentations ranging from 30 minutes to 90 minute keynotes. Presentation topics include: * Where will Rails be riding next? * Enterprise
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 Feb 05
1
[OT] How to get a deal for INTL speakers?
This is pretty far off topic, but seeing as though it directly affects the upcoming Canada on Rails (http://canadaonrails.com) conference in April, I figure it kind of applies to Rails :) I need to find the best place to get discount tickets for the international speakers coming from Europe, and figure you guys would know where the best places are to get deals. I have checked klm.com, and
2006 May 22
13
Canceling a specific effect
Is there a way to cancel a specific effect? For instance; Effects are added to the queue. Before actually processing the effect, I''d like to check a condition & cancel the effect if necessary. Here''s the code excerpt: var menu = { toggleText: function(element,toggle) { var vis = $(element+''Text'').visible(); if (toggle && !vis)
2006 Jul 10
2
inline javascript in partials
When rendering the following partial, the <script> block isn''t getting rendered at all. Does rails strip this out or is it some limitation of the browser? <% remote_options = { :update => update, :with => "Form.serialize(''#{form}'')", :url => { :action => "process_multiple" } } %> <% do_before ||= nil %> <% click_fn =
2006 Jul 13
5
Does Javascript let you default input params like Ruby does?
Can you have a Javascript function with a param that''s defaulted if it isn''t present? function X(a, b = false, c = ''dog'') { } X(5) calls X with a=5, b=false, c=''dog'' X(4, true) calls X with a=4, b=true, c=''dog'' X(3, true, ''cat'') calls X with a=3, b=true, c=''cat'' ? -- Posted via
2008 Mar 05
6
Prototype Observe Links (Mouseover)
Hi all, I''am new to Prototype and after a 2 hours of research I didn''t find a solution for the following question: I have the following list: <ul id="navi"> <li><a href="/about/">Home</a></li> <li><a href="/about/" class="dropdown" onmouseover="showSubnavi(this)">About</a>
2006 Jan 18
8
BlindDown on a div with overflow: auto...
I have a div with overflow: auto... BlindUp works fine. But BlindDown simply waits the duration and shows the div at full size (no blinding down effect). If I remove overflow: auto it works fine. Why would this work for BlindUp but not BlindDown? Sincerely, Ryan Gahl Design Engineer Camtronics Medical Systems (an Emageon Company) Ryan.gahl-nlycWCgr5/vuufBYgWm87A@public.gmane.org
2006 Apr 07
13
Pop up menus - any ideas?
I''ve got a menu in which I have all of my categories as links. Each category also has subcategories. I want to set it up so when you mouse over the category the subcategories will pop up (to the right of the main list, but that''s just CSS). This is what I have so far: <% for category in @categories %> <a href="#"
2006 Jun 30
7
javascript woes with radio button groups
Ok! So I have this survey project I''m working on where there are a list of questions but only one shows up at a time. That part''s easy. And, it is fully functional as we speak (and I think even ''live'') however..... My boss wants to be able to have the survey go to the next question when a user selects an answer. This part is easy.. except..... IE
2006 Jun 20
4
Invoking MouseOver using link_to tag ?
Hi, How can we trigger a JavaScript built in function from a <%= link_to %> ie. i have the below statement in my view. I want to invoke a JavaScript function on "MouseOver" of this below text (''TestingMouseOverEvents''). <%= link_to "TestingMouseOverEvents" , :controller => "login", :action => "logout"%> Note: The
2006 Mar 21
9
IE flakiness?
I set up a simple BlindUp and BlindDown div that works seamlessy in Firefox but doesn''t work as smoothly in IE. When blinding down, the whole div flashes and then Blinds down. The same thing when blinding up. Is this something that is fixable? _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
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)