Displaying 7 results from an estimated 7 matches for "88ff88".
Did you mean:
8888
2006 Jul 31
4
RJS to find an element
...of it''s kind it gets removed from the
document before the highlight is "activated".
page[:cart].replace_html :partial => ''cart'', :object => @cart
page[@div].visual_effect :highlight,
:startcolor => "#88ff88",
:endcolor => "#114411"
Is there a way to use RJS to see if page[@div] (in this case) exists
before I try to do the highlight?
Thanks,
Jake
2006 Jul 03
0
Page 129 of Agile Web Dev on Rails (or pg141 of pdf!)
...nother question, sorry....
I''m trying to get the highlighting effect to work on the current_item.
The page refreshes fine, and then I get an error as the highlighting
code is fired:
page[:current_item].visual_effect :highlight,
:startcolor => "#88ff88",
:endcolor => "#114411"
The error is: RJS Error [object Error] (which is helpful!)
Followed by a pop up window containing the page code, the last line of
which is:
$("current_item").visualEffect("highlight", {"startco...
2008 Sep 03
2
Highlighint rjs problem on a new product
...item.save!
end
respond_to do |format|
format.js
end
end
-------------------------------------------------
Js.rjs code:
page.replace_html ''calculated'', :partial => ''add_to_cart''
page[:highlighted].visual_effect :highlight,:startcolor =>
"#88ff88" ,:endcolor => "#FFFFFF"
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane...
2006 May 09
4
changing the color of :highlight
Is there an easy way to change to color of the :highlight effect?
:complete => visual_effect(:highlight, "targetid", :duration => 1)
thanks
--
Posted via http://www.ruby-forum.com/.
2006 Oct 19
1
Ajax functionality not working - partial problem?
...Updates are made in the controller, then there is a re-direct to
update.rjs (this works it gets there).
3. We have:
page.replace_html("features" , :partial => ''features'' , :object =>
@features)
page[:features].visual_effect :highlight, :startcolor => "#88ff88",
:endcolor => "#114411"
I have tried many permutations of the above (and trying to use form),
but it will not work...
4. Now I would like to return to edit, but show a visual effect on
features to show that the update has occured
I fear that restructuring may be required, b...
2006 Jun 08
3
Back again; errors in depot app
...ile
Web Development tutorial my page displays:
Application error
Change this error message for exceptions thrown outside of an action (like
in Dispatcher setups or broken Ruby code) in public/500.html
It started when I added -
page[:current_item].visual_effect :highlight,
:startcolor => "#88ff88" ,
:endcolor => "#114411"
Since the page is not giving any specific errors , and there is nothing in
500.html I''m not sure where to look. I did check the development.log
after rebooting Webrick and see this:
C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/webr...
2006 Jul 18
15
Agile Web Developement with Rails
I recently got a copy of the second addition in PDF
and got stuck on the Ajax portion using highlighting
page 128. While trying to make my cart flash I got an
RJS error when I click add to cart. I have gone back
and made sure my code matched what was in the book but
no help. I sent Dave an email and he rec''d this list.
Anybody got any good links for troubleshooting Ajax or
maybe have see