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:
@@ -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(){
|
||||
|
||||
|
Reference in New Issue
Block a user