Highlight your UI with rails
If you find yourself needing to highlight something after your Ajax call comes back and is finished. Why not highlight it? If your making a call with remote_function, link_to_remote or other then add this small line of code on. Problem solved!
[ruby]
:complete => visual_effect(:highlight, ‘theDivId’)
[/ruby]
Just give it the div or element id and it works like a charm!
Don’t know how to use remote_function? Check out this post: Using remote_function
Categories
.NET
.NET 3.5 VB
Adobe AIR
AIR
Ajax
ASP
BitNami
Clients
CSS
Database
Database Class
db_class
Design
Files
Google
Google App Engine
Guestbook 2.2
Guestbook V2.3
HTML
IE
Javascript
jQuery
juneLite
June To-Do
Mac
MySQL
Navigation
opensource
PHP
PHP GuestBook
plug-in
prototype
Public beta testing
RSS
Ruby on Rails
Showing files
Trak:it
user authentication
Validation
VB
VetteBlock
web standards
Winn Cal
Winn Framework
XHTML
Pages
- contact
- Contact Form V1.8
- FlickrHelper
- Guestbook V1.01 ASP
- Guestbook V2.4.7
- iFrame Loader
- Scriptatype:PHP
- Winn Cal
- Winn Tracker
