Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.
document.observe('dom:loaded', function() {
new Tip calls
});
/*
* TabbedPane.js v1.0.0 -- Dynamic AJAX Tabs for Prototype
* Copyright (c) 2007-2008 Jesse Farmer <jesse@20bits.com>
* Licensed under the MIT license.
*/
Hash.prototype.toObject = Hash.prototype.toObject || function() { return Object.clone(this); }
var TabbedPane = function(pane, page_urls, args) {
var args = $H({asynchronous: true, method: 'get', evalScripts: true}).merge(args).toObject();
this.load_page = function(page_id) {
new Ajax.Updater(pane, page_urls[page_id], args);
}
for (page_id in page_urls) {
Event.observe(page_id, 'click', function(e) {
if ('function' == typeof(args.onClick))
args.onClick(e);
for (page_id in page_urls) $(page_id).removeClassName('ontab');
this.load_page(Event.element(e).addClassName('ontab').id);
Event.stop(e);
}.bindAsEventListener(this));
if ($(page_id).hasClassName('ontab')) { this.load_page(page_id); }
}
}document.observe('dom:loaded', function() { $('notice').prototip.show(); });
if(window.location.hash == '#vote-now') {
document.observe('dom:loaded', function() {$('left-vote-button').prototip.show() });
}
$('left-vote-button').prototip.show.delay(.1);
1 to 29 of 29