1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-19 00:36:18 +02:00

Theme manager interface refinements and js tweaks

This commit is contained in:
CaMer0n
2012-06-03 09:45:20 +00:00
parent fb0ef82806
commit 862dcceebc
6 changed files with 64 additions and 30 deletions

View File

@@ -1,16 +1,26 @@
$(document).ready(function()
{
$("input,textarea,select,.e-tip").each(function(c) {
// run tips on title attribute.
$(".e-tip").each(function() {
var tip = $(this).attr('title');
if(!tip)
{
return;
}
$(this).tipsy({opacity:1.0,fade:true});
// $(this).css( 'cursor', 'pointer' )
});
// run tips on .field-help
$("input,textarea,select,label,.e-tip").each(function(c) {
$(this).nextAll(".field-help").hide();
// alert('hello');
$(this).tipsy({title: function() {
var tip = $(this).nextAll(".field-help").text();
if(!tip)
{
var tip = $(this).find(".field-help").text();
}
return tip;
},
fade: true,
@@ -19,16 +29,14 @@ $(document).ready(function()
});
});
$(".e-radio-multi").each(function() {
$(".e-radio-multi").each(function() {
// $(this).nextAll(".field-help").hide();
// $(this).nextAll(":input").tipsy({title: 'hello'});
});
$(".e-tags").tagit();