1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-20 17:33:13 +02:00

User-settings shortcode and template cleanup. avatarpicker() function added to form handler. Other minor fixes.

This commit is contained in:
CaMer0n
2012-06-19 09:08:41 +00:00
parent 312ec063ba
commit aa4e5c0ee7
17 changed files with 705 additions and 519 deletions

View File

@@ -2,11 +2,37 @@
$(document).ready(function()
{
$(":input").tipsy({gravity: 'w',fade: true, live: true});
// $(":input").tipsy({gravity: 'w',fade: true, live: true});
$(".e-tip").tipsy({gravity: 'sw',fade: true, live: true});
$(":input,label,.e-tip").each(function() {
var field = $(this).nextAll(".field-help");
if(field.length == 0)
{
$(this).tipsy({gravity: 'sw',fade: true, live: true}); // Normal 'title' attribute
return;
}
field.hide();
$(this).tipsy({
title: function() {
return field.html(); // field-help when HTML is required.
},
fade: true,
live: true,
html: true,
gravity: 'sw'
});
});
// $(".e-tip").tipsy({gravity: 'sw',fade: true, live: true});
$(".e-comment-submit").live("click", function(){