Do you talking about visual effects in Chrome while browsing the source 
tree? This is special effect somewhere in bundle_github.js (look for CSS 
class "js-slide-to").

1. You can download that JS file and look into it for concrete working 
example.

2. With Prototype you can set global event observer for "click" event on 
"a.js-slide-to" selector, then inside of event handler read URL from anchor, 
make some fading/rolling effect with current content wrapper, then create 
new content wrapper, fill it via AJAX request to URL mentioned above, and 
finally show it with some effect.

I think event observing/delegation will be made better with the latest 
Prototype version (1.7).

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/prototype-scriptaculous/-/0N1hNy4ioJ0J.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to