Displaying 20 results from an estimated 2000 matches similar to: "highlighte"
2005 Oct 20
4
cross-fade effect on elements updated by ajax.updater?
Hello.
I was wondering if anybody could point me in the right direction of
creating a cross-fade effect for Ajax.Updater. If you have an element
that gets replaced by a new one with Ajax.Updater, how can we blend
one into the other?
Many thanks.
Tench
2005 Nov 07
2
question about Effect.Highlight and IE 5.5
I''ve recently begun testing some of the scriptaculous functionality in
IE 5.5, since my company wants me to support as many browsers as
possible. When I do an Effect.Highlight on a <tr>, it doesn''t quite
work right. I''ve figured out a few things, but I''m not sure whether you
want to change them or not. Here''s what I know:
In
2010 May 24
2
Two RJS visual effects will happen at the same time?
I was going to change the background of a div from white to red and then
from red back to white, so this is used in an RJS file:
page[:vote_score].visual_effect :highlight, :startcolor => ''#ffffff'',
:endcolor => ''#ffcccc''
page[:vote_score].visual_effect :highlight, :startcolor => ''#ffcccc'',
:endcolor =>
2006 Oct 09
2
page.visual_effect :highlight
I have some code that will do the highlight, fade effect on a block of
text. It seems to work just fine until it is fired multiple times very
rapidly.
The end color matches a grey background and the start color is a yellow.
Say its run 4 times a second for 3-5 seconds. When the flashing catches
up the text will fade for the last time to the end color, then the
background will switch to a
2005 Jul 12
11
how to cancel/stop a script.aculo.us effect
I apologise for what is probably a totally noob question here, but I''m at a
loss after pouring over the docs and the source code for prototype and
scriptaculous...
After you''ve started an effect, how do you access it to cancel or change it?
I had assumed it was something like this:
myEffect = new Effect.Appear(element, {duration:1.5});
myEffect.cancel();
... but that
2007 Sep 17
5
Script.aculo.us effect queues & Ajax.Updater()
Hey guys,
I''m new here and just checked out Prototype with Script.aculo.us and
have to say it''s a great experience once you get the concept. However,
I''m not very experienced with JS so I''m a bit stuck on something I
think is quite easy to solve:
What already works:
A searchfield is observed by a DelayedObserver, a list of contacts is
updated vie Ajax updater.
2005 Oct 05
5
InPlaceEditor crash on Safari
Quick question..
I often crash my Safari when using ''Enter'' on InPlaceEditor''s for
submitting.
Works fine on firefox(win & Mac) - no javascript errors.
Anyone else seen this behavior?
(Maybe it is just my alterings of InPlaceEditor :-)
Best Regards
Michael Krog
2005 Jul 27
4
safari vs. firefox on mac os x: flickering combination effects
Hi.
I''m wondering if this is a documented problem. Combination effects
such as .BlindDown or .SlideDown exhibit a not so fun flicker at the
end of their rendering process in Firefox on Mac OS X. This does NOT
happen in Safari.
Does anybody know how to fix this or if it will get fixed in a next
release?
All best,
Tench
2006 Jun 24
6
Ajax fade effect
I have a list of categories, when I delete one of them, I want that item
to fade and then get removed. So I do the following:
1. home_controller:
def delete
@category = Category.find_by_name(params[:name])
@element_id = @category.name
Category.delete_all(["name = ?", @category.name])
end
2. delete.rjs:
if @element_id
page.visual_effect :fade, @element_id
2008 Jun 04
9
How to achieve the 'multi' fade effect that is used by Apple computer?
Hi all!
My first post here, so: be gentle ;-)
I have been playing around with the scriptaculous library for a while
now, and I must admit it is great. However, there is one thing that
I''m notable to achieve:
On Apple computers website for ilife (iphoto) http://www.apple.com/ilife/iphoto/
there is a verrrryyy nice fade effect going on when you click the
navigation for ''new in
2007 Oct 24
5
How can I hide a DIV with a success message inside?
I want to have something like Facebook has. In some cases when you
post something a success message shows up (on the same page, not a pop-
up), stays 2-3 seconds and then fades away.
How can I do that with Prototype?
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
2005 Oct 19
1
js not executed after ajax.updater -- evalScript:true not a solution
Hi.
I have a <div> on a page that I replace with a new one using
Ajax.Updater. Inside this newly placed div, I am using classes and
behavior.js to launch various Ajax things and scriptaculous effects.
None of them, however, get triggered after the update. They also
fire no javascript errors or anything of the kind.
I''ve seen the option evalScripts with Ajax stuff-- but
2006 Oct 29
1
scriptaculous: fade out then in.
I''m pretty new to javascript, and scriptaculous, but I know what I want
to do.
I want to make it so that when a person clicks a link, the previous
content of the div fades out, and the new content fades in.
This is what I''ve got for my function:
<script type="text/javascript">
//<![CDATA[
function loadmerch(im)
{
new
2005 Oct 01
8
Ajax.InPlaceEditor on Safari & Firefox
Hi,
I''ve downloaded the latest svn trunk and was glad to see that
Ajax.InPlaceEditor forms can now be correctly submitted on Safari as
well, with the server response being correctly displayed as well.
The problem is, however, that clicking again on the same element
(after sumbitting it first) will duplicate the submit form. The next
attempt will triplicate it etc, etc...
Could
2007 Jun 07
4
Effect.Fade and innerHTML?
Hi there,
I''m now having an odd problem with Effect.Fade not working based on
the innerHTML of a div.
Take the following for example...
<div id="blah">
Nothing here yet.
</div>
If I then update "blah", hide it and then fade it in, like so:
<script type="text/javascript">
document.getElementById("blah").innerHTML =
2006 Jun 22
1
fade and appear effects
i have a box of content on my site that i would like to fade out, load
new content and then fade back in with the new content. i tried
something like this:
<%= link_to_remote(image_tag(url_for_file_column(''project'', ''image'')),
:update => ''project-info'',
:before => "new
2005 Jul 28
2
autocomplete: how to access a child element of <li>
hi.
i promise this will be my last question for the day.
still playing with autocompleter, everything is working ok, but i''m
having difficulties accessing just the href attribute of <a> element,
which is a child of <li> in the autocomplete response, i.e:
<div class ="autocomplete">
<ul>
<li><a href
2004 Apr 01
1
sipura fade to static
Hello,
One of the Sipura 2k's I'm using has a dialtone that occasionally fades to
static when the user picks up the line. Are there any settings that I can
check that would affect this?
Regards,
Christopher
2005 Jul 28
2
CSS and autocompleter
hi.
I''m rewriting the code from my own save-yourself-if-you-can
implementation of xmlhttprequest to scriptaculous autocompleter, and
it''s all fine and dandy, except that I am having difficulty
positioning the auto_complete div which contains the results returned
by xmlhttprequest.
the auto_complete div is always stuck in one place, it starts a
little below and half
2006 Jan 13
21
anyone interested in an Effect.Slideshow?
I had to make a sort of slideshow for a site I''m working on, and I was
thinking of making it into a Scriptaculous object. Anyone think of
reasons why I shouldn''t? You''d have to pass in all the image urls and a
div id, with an optional delay parameter to determine how long to leave
each image up before moving on. I could also have a ''randomize''